[3.19] backports/*: clean #330
15 changed files with 0 additions and 480 deletions
|
@ -1,58 +0,0 @@
|
|||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||
pkgname=celery
|
||||
pkgver=5.2.7
|
||||
pkgrel=3
|
||||
pkgdesc="An asynchronous task queue/job queue based on distributed message passing"
|
||||
url="http://www.celeryproject.org/"
|
||||
arch="noarch !s390x" # lmited by py3-kombu
|
||||
license="Apache-2.0"
|
||||
depends="
|
||||
py3-billiard
|
||||
py3-click
|
||||
py3-click-didyoumean
|
||||
py3-click-plugins
|
||||
py3-click-repl
|
||||
py3-kombu
|
||||
py3-tz
|
||||
py3-vine
|
||||
python3
|
||||
"
|
||||
makedepends="python3-dev py3-setuptools py3-gpep517 py3-wheel"
|
||||
install="$pkgname.pre-install"
|
||||
source="https://files.pythonhosted.org/packages/source/c/celery/celery-$pkgver.tar.gz
|
||||
celery.confd
|
||||
celery.initd"
|
||||
pkgusers="celery"
|
||||
pkggroups="celery"
|
||||
subpackages="$pkgname-openrc $pkgname-pyc"
|
||||
provides="py3-celery=$pkgver-r$pkgrel"
|
||||
|
||||
# TODO: requires many many many dependencies
|
||||
options="!check"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
# install scripts
|
||||
install -m755 -D "$srcdir"/$pkgname.initd \
|
||||
"$pkgdir"/etc/init.d/$pkgname
|
||||
install -m644 -D "$srcdir"/$pkgname.confd \
|
||||
"$pkgdir"/etc/conf.d/$pkgname
|
||||
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
68e3bb082f97ebe20391293cc8fa96c41c8f5ac5e8c24b2b7bd66eb104ec459bdfa49741e47486676e5daa88d7a71e3eb0d9432851aeafc74b0d4352e567e853 celery-5.2.7.tar.gz
|
||||
c283956f8fe386ef39cb3e165a20d1cc7ff6398fbf5a922bec6b61fe4a71188519baed9feafc4e0e5b6864851545edaba54b89ba3613b2cf2ddd6426a6bf8fc2 celery.confd
|
||||
3e5e2c6a55672bc0a02fca93ad334c694066c636ed62f2b55cb8f27b9301c429d68ce53667ec744b9b152ec786de7aea90cc05a143d6942cf5d2f34e51ca4089 celery.initd
|
||||
"
|
|
@ -1,4 +0,0 @@
|
|||
CELERY_USER=celery
|
||||
CELERY_LOG=/var/log/celery.log
|
||||
CELERY_REDIR="1>/dev/null 2>> ${CELERY_LOG}"
|
||||
CELERY_OPTS="-A celeryapp $CELERY_REDIR"
|
|
@ -1,16 +0,0 @@
|
|||
#!/sbin/openrc-run
|
||||
supervisor=supervise-daemon
|
||||
|
||||
description="celery queue worker"
|
||||
|
||||
: ${CELERY_USER:="celery"}
|
||||
: ${CELERY_GROUP:="$(id -gn $CELERY_USER)"}
|
||||
|
||||
pidfile="/run/$RC_SVCNAME.sd.pid"
|
||||
supervise_daemon_args="-u $CELERY_USER -g $CELERY_GROUP"
|
||||
command=/usr/bin/celery
|
||||
command_args="${CELERY_OPTS}"
|
||||
|
||||
depends() {
|
||||
use net
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
addgroup -S celery 2>/dev/null
|
||||
adduser -S -D -H -h /usr/share/celery -s /sbin/nologin -G celery -g celery celery 2>/dev/null
|
||||
|
||||
exit 0
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
# Contributor: Sam Whited <sam@samwhited.com>
|
||||
# Maintainer: Sam Whited <sam@samwhited.com>
|
||||
pkgname=py3-aiodns
|
||||
_pkgname=aiodns
|
||||
pkgver=3.0.0
|
||||
pkgrel=2
|
||||
pkgdesc="A library for performing asynchronous DNS resolutions using pycares."
|
||||
url="https://pypi.org/project/aiosasl/"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
depends="python3 py3-pycares"
|
||||
makedepends="py3-setuptools"
|
||||
subpackages="$pkgname-doc $pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
options="!check" # tests not included in source package.
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
install -Dm644 LICENSE README.rst -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8c1016f3b0cb461e70e9a55034f9ad3b3db705a845bf20bb6503c7a5d592b4c5d2e8ddc60b375c5fafdc559dc4566736f4c93f26710be2dcbd181284ef039825 aiodns-3.0.0.tar.gz
|
||||
"
|
|
@ -1,37 +0,0 @@
|
|||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||
pkgname=py3-amqp
|
||||
pkgver=5.1.1
|
||||
pkgrel=2
|
||||
pkgdesc="an AMQP implementation"
|
||||
url="https://pypi.org/project/amqp/"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
depends="py3-vine python3"
|
||||
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||
checkdepends="py3-vine py3-case py3-nose py2py3-mock"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/a/amqp/amqp-$pkgver.tar.gz"
|
||||
options="!check" # requires a running rabbitmq sever
|
||||
builddir="$srcdir"/amqp-$pkgver
|
||||
|
||||
replaces="py-amqp" # Backwards compatibility
|
||||
provides="py-amqp=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f549a85e4f04543dd8e844edb68350ca185de9259aa896af31ae5ee5dfdfe73f904d95821c403dc797c7f3ada17ce6bff4e0fd9fcdf2abc1b33a94d079f99179 amqp-5.1.1.tar.gz
|
||||
"
|
|
@ -1,42 +0,0 @@
|
|||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||
pkgname=py3-billiard
|
||||
pkgver=3.6.4.0
|
||||
pkgrel=4
|
||||
pkgdesc="a message queue abstraction layer"
|
||||
url="https://pypi.org/project/billiard/"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
makedepends="py3-setuptools"
|
||||
checkdepends="py3-psutil py3-pytest py3-nose py3-case"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/b/billiard/billiard-$pkgver.tar.gz
|
||||
$pkgname-py311.patch::https://github.com/celery/billiard/commit/ff8efc5d689ef048f5203593390f1ff6a052a5d5.patch
|
||||
"
|
||||
builddir="$srcdir/billiard-$pkgver"
|
||||
|
||||
replaces="py-billiard" # Backwards compatibility
|
||||
provides="py-billiard=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
# Uses wrong name for 'queue' module.
|
||||
# Uses internal 'test' and 'test.support' modules.
|
||||
rm -f t/integration/tests/test_multiprocessing.py
|
||||
|
||||
# Windows only
|
||||
rm -f t/unit/test_win32.py
|
||||
|
||||
py.test-3
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
9f2a44024e45c4e7667472a0a3ade7caae755ec7c163929433f818e4b87165218b9cc9545bdee2254e7159c206e525306e383d38906b00fd5428bd1616c39b8f billiard-3.6.4.0.tar.gz
|
||||
589f57ce516cec2740cff6f06f396caac856b75ff4c7dc022c6b1b60f0d97f590667ff3c0ee4887926556c073241d89a4734658d35dcfb41fc71117fdc2c8426 py3-billiard-py311.patch
|
||||
"
|
|
@ -1,32 +0,0 @@
|
|||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||
pkgname=py3-case
|
||||
_pyname=case
|
||||
pkgver=1.5.3
|
||||
pkgrel=6
|
||||
pkgdesc="Python unittest utilities"
|
||||
url="https://github.com/celery/case/"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
depends="python3 py3-six"
|
||||
makedepends="py3-setuptools"
|
||||
checkdepends="py3-coverage py3-mock py3-nose"
|
||||
_pypiprefix="${_pyname%${_pyname#?}}"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pyname-$pkgver"
|
||||
|
||||
replaces="py-case" # Backwards compatibility
|
||||
provides="py-case=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
}
|
||||
sha512sums="ae98a571c282f80c685c42ab1dc578847fe88cf8cd07faff505a8df8e3282a602908a8780ab88b36851e3ee6f3c178405e5c50776fd0f49fcc990087575f2958 case-1.5.3.tar.gz"
|
|
@ -1,54 +0,0 @@
|
|||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=py3-django-oauth-toolkit
|
||||
pkgver=2.3.0
|
||||
pkgrel=0
|
||||
pkgdesc="OAuth2 Provider for Django"
|
||||
url="https://django-oauth-toolkit.readthedocs.io/"
|
||||
arch="noarch"
|
||||
license="BSD-2-Clause-Views"
|
||||
depends="
|
||||
py3-django
|
||||
py3-jwcrypto
|
||||
py3-oauthlib
|
||||
py3-requests
|
||||
"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-setuptools
|
||||
py3-wheel
|
||||
"
|
||||
checkdepends="
|
||||
py3-django-rest-framework
|
||||
py3-pytest-cov
|
||||
py3-pytest-django
|
||||
py3-pytest-forked
|
||||
py3-pytest-mock
|
||||
py3-pytest-xdist
|
||||
py3-tz
|
||||
"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://github.com/jazzband/django-oauth-toolkit/archive/$pkgver/py3-django-oauth-toolkit-$pkgver.tar.gz"
|
||||
builddir="$srcdir/django-oauth-toolkit-$pkgver"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
.testenv/bin/python3 -m installer .dist/*.whl
|
||||
DJANGO_SETTINGS_MODULE=tests.settings \
|
||||
.testenv/bin/python3 -m pytest -n auto --forked
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
6e4701210300e3e04f85a38e3461daebed7f5d305e8d11fc60a31a715f43d9fc2eed50cf5ff381e6ce11dca479a7dadfbdfacab37e06d88a674b872a50c1a9d1 py3-django-oauth-toolkit-2.3.0.tar.gz
|
||||
"
|
|
@ -1,37 +0,0 @@
|
|||
# Contributor: prspkt <prspkt@protonmail.com>
|
||||
# Maintainer: prspkt <prspkt@protonmail.com>
|
||||
pkgname=py3-jwcrypto
|
||||
_pkgname=jwcrypto
|
||||
pkgver=1.5.0
|
||||
pkgrel=1
|
||||
pkgdesc="Python module implementing JOSE Web standards"
|
||||
url="https://github.com/latchset/jwcrypto"
|
||||
arch="noarch"
|
||||
license="LGPL-3.0-only"
|
||||
depends="python3 py3-deprecated py3-cryptography"
|
||||
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
||||
checkdepends="py3-pytest"
|
||||
subpackages="$pkgname-doc $pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
||||
.testenv/bin/python3 -m installer .dist/*.whl
|
||||
.testenv/bin/python3 -m pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8cb638203de32c5d63cc567069fc0ccf2195bb9a1f9783b747e7b77d38fb01d9512e82406f925010f70e4b7e73c8d699e0c32c5c89ee71cb99dd594a7e84c47e jwcrypto-1.5.0.tar.gz
|
||||
"
|
|
@ -1,41 +0,0 @@
|
|||
# Contributor: Stefan Wagner <stw@bit-strickerei.de>
|
||||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||
pkgname=py3-kombu
|
||||
pkgver=5.2.4
|
||||
pkgrel=2
|
||||
pkgdesc="a message queue abstraction layer"
|
||||
options="!check" # 3 Redis tests fail
|
||||
url="https://pypi.org/project/kombu/"
|
||||
arch="noarch !s390x" # Limited by py3-dill
|
||||
license="BSD-3-Clause"
|
||||
depends="py3-amqp py3-vine"
|
||||
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||
checkdepends="py3-pyro4 py3-case py3-nose py3-mock py3-tz py3-pytest py3-sqlalchemy py3-fakeredis"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/k/kombu/kombu-$pkgver.tar.gz
|
||||
fix-requirements.patch
|
||||
"
|
||||
builddir="$srcdir/kombu-$pkgver"
|
||||
|
||||
replaces="py-kombu" # Backwards compatibility
|
||||
provides="py-kombu=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
695813bee71d627649e772b45b25494784a6a81bcad92331160705e34d8b2268fa90629983ebcfd04ec23208508d422f1834cc56895532911602d58ec0090a03 kombu-5.2.4.tar.gz
|
||||
d296eba67b77d6a10176714facc45b3119a3c9dac1868cc281eea7cf3d0a6fceb4584836aea188db87eae3cae0f344a0f399e2fad248706c608ff3b1c28b3139 fix-requirements.patch
|
||||
"
|
|
@ -1,10 +0,0 @@
|
|||
diff --git a/requirements/test.txt b/requirements/test.txt
|
||||
index 9b8ca32..dd360da 100644
|
||||
--- a/requirements/test.txt
|
||||
+++ b/requirements/test.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-pytz>dev
|
||||
+pytz
|
||||
pytest~=7.0.1
|
||||
pytest-sugar
|
||||
Pyro4
|
|
@ -1,30 +0,0 @@
|
|||
# Contributor: Sam Whited <sam@samwhited.com>
|
||||
# Maintainer: Sam Whited <sam@samwhited.com>
|
||||
pkgname=py3-pycares
|
||||
_pkgname=pycares
|
||||
pkgver=4.3.0
|
||||
pkgrel=0
|
||||
pkgdesc="A library for performing DNS resolutions using c-ares."
|
||||
url="https://pypi.org/project/pycares/"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
depends="python3 py3-idna py3-cffi"
|
||||
makedepends="py3-setuptools c-ares-dev python3-dev"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
options="!check" # tests not included in source package.
|
||||
|
||||
build() {
|
||||
export PYCARES_USE_SYSTEM_LIB=1
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
install -Dm644 LICENSE README.rst -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ffabb9abf3f131a373302a7992af6335bc25013f119dce51731e5e04999948c62c42444adac4427c856b14fbaa481266449a39ff0715c5d8a45517cb22c9e539 pycares-4.3.0.tar.gz
|
||||
"
|
|
@ -1,50 +0,0 @@
|
|||
# Maintainer:
|
||||
pkgname=py3-structlog
|
||||
pkgver=23.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Simple, powerful, and fast logging for Python"
|
||||
url="https://github.com/hynek/structlog"
|
||||
arch="noarch"
|
||||
license="Apache-2.0 OR MIT"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-hatch-fancy-pypi-readme
|
||||
py3-hatch-vcs
|
||||
py3-hatchling
|
||||
py3-wheel
|
||||
"
|
||||
checkdepends="
|
||||
py3-coverage
|
||||
py3-freezegun
|
||||
py3-pretend
|
||||
py3-pytest
|
||||
py3-pytest-asyncio
|
||||
py3-pytest-xdist
|
||||
py3-rich
|
||||
py3-simplejson
|
||||
"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/hynek/structlog/archive/refs/tags/$pkgver.tar.gz"
|
||||
builddir="$srcdir/structlog-$pkgver"
|
||||
|
||||
build() {
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver \
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m venv --clear --without-pip --system-site-packages testenv
|
||||
testenv/bin/python3 -m installer dist/*.whl
|
||||
testenv/bin/python3 -m pytest -n4
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
527f5811a3d2365490c55d8e1f1cc0537254d8667bfc56214769bd6aae9f5368a1534536f061dbc06213c32dd9253703f8535323466ddb66032c6c1f776814ac py3-structlog-23.1.0.tar.gz
|
||||
"
|
|
@ -1,33 +0,0 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=py3-vine
|
||||
pkgver=5.0.0
|
||||
pkgrel=2
|
||||
pkgdesc="futures and promises implementation for python"
|
||||
url="https://github.com/celery/vine"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
depends="python3"
|
||||
makedepends="py3-setuptools"
|
||||
checkdepends="py3-pytest py3-case py3-nose"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="https://files.pythonhosted.org/packages/source/v/vine/vine-$pkgver.tar.gz"
|
||||
builddir="$srcdir/vine-$pkgver"
|
||||
|
||||
replaces="py-vine" # Backwards compatibility
|
||||
provides="py-vine=$pkgver-r$pkgrel" # Backwards compatibility
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
python3 -m pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ff8f4b3f675220772ed0523e468eedbaec4aca793877b984e9a215603d1288cc3cc71dfeb152219d22f98de0ac7e9f9fa0cc35c2424ff36044cfc8f28192c159 vine-5.0.0.tar.gz
|
||||
"
|
Loading…
Reference in a new issue