Compare commits
No commits in common. "4ffa20798901c5241e469039e8de3a6e213e1208" and "b94ad1fd20c80e174863a108a67c98b000ae9534" have entirely different histories.
4ffa207989
...
b94ad1fd20
13
gitea/alr.sh
13
gitea/alr.sh
@ -1,6 +1,6 @@
|
|||||||
name='gitea'
|
name='gitea'
|
||||||
version='1.22.2'
|
version='1.22.2'
|
||||||
release='3'
|
release='2'
|
||||||
desc='Painless self-hosted Git service, community managed.'
|
desc='Painless self-hosted Git service, community managed.'
|
||||||
homepage='https://gitea.io'
|
homepage='https://gitea.io'
|
||||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||||
@ -17,7 +17,16 @@ build_deps=(
|
|||||||
'go'
|
'go'
|
||||||
'nodejs'
|
'nodejs'
|
||||||
'npm'
|
'npm'
|
||||||
'python3-poetry'
|
'python-poetry'
|
||||||
|
'openssh'
|
||||||
|
'pam-devel'
|
||||||
|
)
|
||||||
|
|
||||||
|
build_deps_almalinux=(
|
||||||
|
'go'
|
||||||
|
'nodejs'
|
||||||
|
'npm'
|
||||||
|
'python-poetry'
|
||||||
'openssh'
|
'openssh'
|
||||||
'pam-devel'
|
'pam-devel'
|
||||||
)
|
)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name='python3-poetry'
|
name='python-poetry'
|
||||||
version='1.8.3'
|
version='1.8.3'
|
||||||
release='3'
|
release='2'
|
||||||
desc='Python dependency management and packaging made easy'
|
desc='Python dependency management and packaging made easy'
|
||||||
homepage='https://python-poetry.org'
|
homepage='https://python-poetry.org'
|
||||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||||
@ -88,7 +88,7 @@ build_deps_redos=(
|
|||||||
opt_deps=('python-pip: to use pip with virtual environments')
|
opt_deps=('python-pip: to use pip with virtual environments')
|
||||||
opt_deps_redos=('python3-pip: to use pip with virtual environments')
|
opt_deps_redos=('python3-pip: to use pip with virtual environments')
|
||||||
|
|
||||||
sources=("https://github.com/python-poetry/poetry/releases/download/${version}/poetry-${version}.tar.gz")
|
sources=("https://github.com/$name/poetry/releases/download/${version}/poetry-${version}.tar.gz")
|
||||||
checksums=('SKIP')
|
checksums=('SKIP')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
@ -1,61 +0,0 @@
|
|||||||
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/
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
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
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user