[arch-commits] Commit in python-celery/repos/community-testing-any (6 files)

Felix Yan felixonmars at archlinux.org
Wed Mar 18 14:16:37 UTC 2020


    Date: Wednesday, March 18, 2020 @ 14:16:36
  Author: felixonmars
Revision: 600574

archrelease: copy trunk to community-testing-any

Added:
  python-celery/repos/community-testing-any/PKGBUILD
    (from rev 600573, python-celery/trunk/PKGBUILD)
  python-celery/repos/community-testing-any/celery.tmpfiles.d
    (from rev 600573, python-celery/trunk/celery.tmpfiles.d)
  python-celery/repos/community-testing-any/celery at .service
    (from rev 600573, python-celery/trunk/celery at .service)
Deleted:
  python-celery/repos/community-testing-any/PKGBUILD
  python-celery/repos/community-testing-any/celery.tmpfiles.d
  python-celery/repos/community-testing-any/celery at .service

-------------------+
 PKGBUILD          |  124 ++++++++++++++++++++++++++--------------------------
 celery.tmpfiles.d |    4 -
 celery at .service   |   30 ++++++------
 3 files changed, 79 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-18 14:16:12 UTC (rev 600573)
+++ PKGBUILD	2020-03-18 14:16:36 UTC (rev 600574)
@@ -1,62 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Marcin Kolenda <marcinkolenda419 at gmail.com>
-# Contributor: Valentin Haloiu <vially.ichb+aur at gmail.com>
-# Contributor: Lukas Linhart <bugs at almad.net>
-# Contributor: Marco Elver <marco.elver AT gmail.com>
-# Contributor: apkawa <apkawa at gmail.com>
-
-pkgname=python-celery
-pkgver=4.4.1
-pkgrel=1
-pkgdesc='Distributed Asynchronous Task Queue'
-arch=('any')
-url='http://celeryproject.org/'
-license=('BSD')
-depends=('python-kombu' 'python-billiard' 'python-pytz' 'python-vine')
-optdepends=('python-cryptography: for celery.security'
-            'python-pymongo: for celery.backends.mongodb'
-            'python-msgpack: for using the msgpack serializer'
-            'python-pyro: for using Pyro4 message transport'
-            'python-redis: for celery.backends.redis'
-            'python-sqlalchemy: for celery.backends.database'
-            'python-boto3: for SQS transport'
-            'python-yaml: for using the yaml serializer'
-            'python-pyzmq: for using ZeroMQ transport')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-runner' 'python-case' 'python-cryptography'
-              'python-gevent' 'python-pymongo' 'python-msgpack' 'python-pyro' 'python-redis'
-              'python-sqlalchemy' 'python-boto3' 'python-yaml' 'python-pyzmq' 'python-eventlet'
-              'python-moto' 'python-pre-commit')
-source=("https://pypi.io/packages/source/c/celery/celery-$pkgver.tar.gz"
-        celery at .service celery.tmpfiles.d)
-options=('!emptydirs')
-sha512sums=('91b0b4a5b6536665f73ccda09e8efa170f022e0201dcc615b45d4dcc68d486fe2485a717cb670fbc3f633721f6d3ff551f8f9fc3f1c605b4d7292cb0c1a5831d'
-            '3c6c9dbdacca2de12d49c03526b34797fd867c14d04115af0d1fda64d2848a5d3f64ceb6d284be319a81d932dc86e69c157b6f5f859f2fa213fc2f43a6052c65'
-            '67279b75c3b44d065811c9c90aee006296164000912d5bb97c74956b26ee4ad4f0847e846052a896d379848b869c849300367e676d3f689cf29e3a0c7ae5310b')
-
-prepare() {
-  cd celery-$pkgver
-  sed -i -e 's/==/>=/' requirements/test.txt
-
-  sed -i -e '/from pytest import PytestUnknownMarkWarning/a \    from _pytest.outcomes import Failed' \
-         -e 's/ValueError/Failed/' t/unit/contrib/test_pytest.py
-}
-
-build() {
-  cd celery-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd celery-$pkgver
-  # TODO
-  python setup.py pytest --addopts "--deselect t/unit/security/test_security.py::test_security::test_setup_security__default_app"
-}
-
-package() {
-  cd celery-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -Dm644 "$srcdir"/celery at .service "$pkgdir"/usr/lib/systemd/system/celery at .service
-  install -Dm644 "$srcdir"/celery.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/celery.conf
-}

Copied: python-celery/repos/community-testing-any/PKGBUILD (from rev 600573, python-celery/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-18 14:16:36 UTC (rev 600574)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Marcin Kolenda <marcinkolenda419 at gmail.com>
+# Contributor: Valentin Haloiu <vially.ichb+aur at gmail.com>
+# Contributor: Lukas Linhart <bugs at almad.net>
+# Contributor: Marco Elver <marco.elver AT gmail.com>
+# Contributor: apkawa <apkawa at gmail.com>
+
+pkgname=python-celery
+pkgver=4.4.2
+pkgrel=1
+pkgdesc='Distributed Asynchronous Task Queue'
+arch=('any')
+url='http://celeryproject.org/'
+license=('BSD')
+depends=('python-kombu' 'python-billiard' 'python-pytz' 'python-vine')
+optdepends=('python-cryptography: for celery.security'
+            'python-pymongo: for celery.backends.mongodb'
+            'python-msgpack: for using the msgpack serializer'
+            'python-pyro: for using Pyro4 message transport'
+            'python-redis: for celery.backends.redis'
+            'python-sqlalchemy: for celery.backends.database'
+            'python-boto3: for SQS transport'
+            'python-yaml: for using the yaml serializer'
+            'python-pyzmq: for using ZeroMQ transport')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-runner' 'python-case' 'python-cryptography'
+              'python-gevent' 'python-pymongo' 'python-msgpack' 'python-pyro' 'python-redis'
+              'python-sqlalchemy' 'python-boto3' 'python-yaml' 'python-pyzmq' 'python-eventlet'
+              'python-moto')
+source=("https://pypi.io/packages/source/c/celery/celery-$pkgver.tar.gz"
+        celery at .service celery.tmpfiles.d)
+options=('!emptydirs')
+sha512sums=('2d0aaf1cb51db162b55f679de194404cc596ac08b47e52581b1bc1d8b39546b44ec682d9eba64f5341884b62e846fb5df8feb2ad11f5213af0384656124abaf4'
+            '3c6c9dbdacca2de12d49c03526b34797fd867c14d04115af0d1fda64d2848a5d3f64ceb6d284be319a81d932dc86e69c157b6f5f859f2fa213fc2f43a6052c65'
+            '67279b75c3b44d065811c9c90aee006296164000912d5bb97c74956b26ee4ad4f0847e846052a896d379848b869c849300367e676d3f689cf29e3a0c7ae5310b')
+
+prepare() {
+  cd celery-$pkgver
+  sed -i -e 's/==/>=/' -e '/pre-commit/d' requirements/test.txt
+
+  sed -i -e '/from pytest import PytestUnknownMarkWarning/a \    from _pytest.outcomes import Failed' \
+         -e 's/ValueError/Failed/' t/unit/contrib/test_pytest.py
+}
+
+build() {
+  cd celery-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd celery-$pkgver
+  # TODO
+  python setup.py pytest --addopts "--deselect t/unit/security/test_security.py::test_security::test_setup_security__default_app"
+}
+
+package() {
+  cd celery-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 "$srcdir"/celery at .service "$pkgdir"/usr/lib/systemd/system/celery at .service
+  install -Dm644 "$srcdir"/celery.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/celery.conf
+}

Deleted: celery.tmpfiles.d
===================================================================
--- celery.tmpfiles.d	2020-03-18 14:16:12 UTC (rev 600573)
+++ celery.tmpfiles.d	2020-03-18 14:16:36 UTC (rev 600574)
@@ -1,2 +0,0 @@
-d /run/celery 0755 - - - -
-d /var/log/celery 0755 - - - -

Copied: python-celery/repos/community-testing-any/celery.tmpfiles.d (from rev 600573, python-celery/trunk/celery.tmpfiles.d)
===================================================================
--- celery.tmpfiles.d	                        (rev 0)
+++ celery.tmpfiles.d	2020-03-18 14:16:36 UTC (rev 600574)
@@ -0,0 +1,2 @@
+d /run/celery 0755 - - - -
+d /var/log/celery 0755 - - - -

Deleted: celery at .service
===================================================================
--- celery at .service	2020-03-18 14:16:12 UTC (rev 600573)
+++ celery at .service	2020-03-18 14:16:36 UTC (rev 600574)
@@ -1,15 +0,0 @@
-[Unit]
-Description=Celery Nodes Daemon
-After=network.target
-
-[Service]
-Type=oneshot
-EnvironmentFile=/etc/celery/%I.conf
-ExecStart=/usr/bin/celery multi start $CELERYD_NODES --pidfile=/run/celery/%n.pid --logfile=/var/log/celery/%n.log --loglevel="INFO" $CELERYD_OPTS
-ExecStop=/usr/bin/celery multi stopwait $CELERYD_NODES --pidfile=/run/celery/%n.pid
-ExecReload=/usr/bin/celery multi restart $CELERYD_NODES --pidfile=/run/celery/%n.pid --logfile=/var/log/celery/%n.log --loglevel="INFO" $CELERYD_OPTS
-KillMode=control-group
-RemainAfterExit=yes
-
-[Install]
-WantedBy=multi-user.target

Copied: python-celery/repos/community-testing-any/celery at .service (from rev 600573, python-celery/trunk/celery at .service)
===================================================================
--- celery at .service	                        (rev 0)
+++ celery at .service	2020-03-18 14:16:36 UTC (rev 600574)
@@ -0,0 +1,15 @@
+[Unit]
+Description=Celery Nodes Daemon
+After=network.target
+
+[Service]
+Type=oneshot
+EnvironmentFile=/etc/celery/%I.conf
+ExecStart=/usr/bin/celery multi start $CELERYD_NODES --pidfile=/run/celery/%n.pid --logfile=/var/log/celery/%n.log --loglevel="INFO" $CELERYD_OPTS
+ExecStop=/usr/bin/celery multi stopwait $CELERYD_NODES --pidfile=/run/celery/%n.pid
+ExecReload=/usr/bin/celery multi restart $CELERYD_NODES --pidfile=/run/celery/%n.pid --logfile=/var/log/celery/%n.log --loglevel="INFO" $CELERYD_OPTS
+KillMode=control-group
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list