gitea+deps
This commit is contained in:
parent
f0f989a0b0
commit
0bfb332015
13
gitea/alr.sh
13
gitea/alr.sh
@ -1,6 +1,6 @@
|
||||
name='gitea'
|
||||
version='1.22.2'
|
||||
release='2'
|
||||
release='3'
|
||||
desc='Painless self-hosted Git service, community managed.'
|
||||
homepage='https://gitea.io'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
@ -17,16 +17,7 @@ build_deps=(
|
||||
'go'
|
||||
'nodejs'
|
||||
'npm'
|
||||
'python-poetry'
|
||||
'openssh'
|
||||
'pam-devel'
|
||||
)
|
||||
|
||||
build_deps_almalinux=(
|
||||
'go'
|
||||
'nodejs'
|
||||
'npm'
|
||||
'python-poetry'
|
||||
'python3-poetry'
|
||||
'openssh'
|
||||
'pam-devel'
|
||||
)
|
||||
|
61
python3-clevercsv/alr.sh
Normal file
61
python3-clevercsv/alr.sh
Normal file
@ -0,0 +1,61 @@
|
||||
name='python3-clevercsv'
|
||||
version='0.8.2'
|
||||
release='1'
|
||||
desc='A Python package for handling messy CSV files'
|
||||
homepage='https://github.com/alan-turing-institute/CleverCSV'
|
||||
license=('MIT')
|
||||
architectures=('amd64')
|
||||
|
||||
deps=(
|
||||
'python3-chardet'
|
||||
'python3-regex'
|
||||
'python3-packaging'
|
||||
)
|
||||
build_deps=(
|
||||
'git'
|
||||
'python3-setuptools'
|
||||
'python3-build'
|
||||
'python3-devel'
|
||||
'python3-installer'
|
||||
'python3-wheel'
|
||||
)
|
||||
|
||||
#opt_deps=(
|
||||
# 'python3-pandas'
|
||||
# 'python3-tabview'
|
||||
# 'python3-wilderness'
|
||||
# 'python3-cchardet'
|
||||
# 'python3-pytest'
|
||||
# 'python3-pandas'
|
||||
# 'python3-tabview'
|
||||
# 'python3-wilderness'
|
||||
# 'python3-faust-cchardet'
|
||||
# 'python3-termcolor'
|
||||
#)
|
||||
|
||||
sources=("git+https://github.com/alan-turing-institute/CleverCSV.git#tag=v$version")
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "CleverCSV"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "CleverCSV"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "CleverCSV"
|
||||
local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
|
||||
PYTHONPATH="build/lib.linux-x86_64-cpython-${python_version}" pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "CleverCSV"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
mkdir "$pkgdir"/usr/share
|
||||
mv "$pkgdir"/usr/man "$pkgdir"/usr/share/man
|
||||
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$name/
|
||||
}
|
53
python3-deepdiff/alr.sh
Normal file
53
python3-deepdiff/alr.sh
Normal file
@ -0,0 +1,53 @@
|
||||
name='python3-deepdiff'
|
||||
version='7.0.1'
|
||||
release='1'
|
||||
desc='Deep Difference and Search of any Python object/data.'
|
||||
homepage='https://github.com/seperman/deepdiff'
|
||||
license=('MIT')
|
||||
architectures=('all')
|
||||
provides=('deepdiff')
|
||||
conflicts=('deepdiff')
|
||||
|
||||
deps=(
|
||||
'python3-ordered-set'
|
||||
)
|
||||
|
||||
opt_deps=(
|
||||
'python3-click: for cli'
|
||||
'python3-tomli-w: for cli'
|
||||
'python3-yaml: for YAML support'
|
||||
'python3-clevercsv: for more robust CSV parsing'
|
||||
'python3-orjson: for speed and memory optimized parsing'
|
||||
)
|
||||
build_deps=(
|
||||
'python3-setuptools'
|
||||
'python3-pytest'
|
||||
'python3-clevercsv'
|
||||
'python3-click'
|
||||
'python3-dateutil'
|
||||
'python3-jsonpickle'
|
||||
'python3-numpy'
|
||||
'python3-tomli-w'
|
||||
'python3-yaml'
|
||||
'python3-orjson'
|
||||
'python3-pydantic'
|
||||
)
|
||||
|
||||
sources=("https://github.com/seperman/deepdiff/archive/$version/$name-$version.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "deepdiff-$version"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "deepdiff-$version"
|
||||
pytest tests
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "deepdiff-$version"
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
install-license LICENSE ./deepdiff/LICENSE
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
name='python-poetry'
|
||||
name='python3-poetry'
|
||||
version='1.8.3'
|
||||
release='2'
|
||||
release='3'
|
||||
desc='Python dependency management and packaging made easy'
|
||||
homepage='https://python-poetry.org'
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
@ -88,7 +88,7 @@ build_deps_redos=(
|
||||
opt_deps=('python-pip: to use pip with virtual environments')
|
||||
opt_deps_redos=('python3-pip: to use pip with virtual environments')
|
||||
|
||||
sources=("https://github.com/$name/poetry/releases/download/${version}/poetry-${version}.tar.gz")
|
||||
sources=("https://github.com/python-poetry/poetry/releases/download/${version}/poetry-${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
Loading…
Reference in New Issue
Block a user