[arch-commits] Commit in python-pytest-celery/repos/community-staging-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Dec 2 23:39:13 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:39:12
  Author: felixonmars
Revision: 1063220

archrelease: copy trunk to community-staging-any

Added:
  python-pytest-celery/repos/community-staging-any/PKGBUILD
    (from rev 1063217, python-pytest-celery/trunk/PKGBUILD)
Deleted:
  python-pytest-celery/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 23:39:11 UTC (rev 1063219)
+++ PKGBUILD	2021-12-02 23:39:12 UTC (rev 1063220)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-celery
-pkgver=0.0.0
-pkgrel=2
-pkgdesc='A shim pytest plugin to enable celery.contrib.pytest'
-arch=('any')
-license=('BSD')
-url='https://github.com/celery/pytest-celery'
-depends=('python-celery')
-makedepends=('python-dephell')
-source=("https://pypi.io/packages/source/p/pytest-celery/pytest-celery-$pkgver.tar.gz")
-sha512sums=('5fc9c52da674ec2fcf55d6ebf278aec166877c5bd7962c786e5432e77d15132247021e4552001aad19bd7827e5b16256062eade43a8fc59c5b52e264d06b1cae')
-
-prepare() {
-  cd pytest-celery-$pkgver
-
-  # poetry-generated setup.py is badly broken in several ways, including
-  # distribution of tests in the built package as well as using distutils for
-  # bad metadata. See https://github.com/sdispater/poetry/issues/866
-  dephell deps convert --from pyproject.toml --to setup.py
-
-  # dephell does not generate py_modules into setup.py, so the resulting installation is missing
-  # the module source code itself. Patching it here as a workaround until we fix it properly.
-  sed -i '/author_email=/a \    py_modules=["pytest_celery"],' setup.py
-}
-
-build() {
-  cd pytest-celery-$pkgver
-  python setup.py build
-}
-
-package() {
-  cd pytest-celery-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-celery/repos/community-staging-any/PKGBUILD (from rev 1063217, python-pytest-celery/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 23:39:12 UTC (rev 1063220)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-celery
+pkgver=0.0.0
+pkgrel=3
+pkgdesc='A shim pytest plugin to enable celery.contrib.pytest'
+arch=('any')
+license=('BSD')
+url='https://github.com/celery/pytest-celery'
+depends=('python-celery')
+makedepends=('python-dephell')
+source=("https://pypi.io/packages/source/p/pytest-celery/pytest-celery-$pkgver.tar.gz")
+sha512sums=('5fc9c52da674ec2fcf55d6ebf278aec166877c5bd7962c786e5432e77d15132247021e4552001aad19bd7827e5b16256062eade43a8fc59c5b52e264d06b1cae')
+
+prepare() {
+  cd pytest-celery-$pkgver
+
+  # poetry-generated setup.py is badly broken in several ways, including
+  # distribution of tests in the built package as well as using distutils for
+  # bad metadata. See https://github.com/sdispater/poetry/issues/866
+  dephell deps convert --from pyproject.toml --to setup.py
+
+  # dephell does not generate py_modules into setup.py, so the resulting installation is missing
+  # the module source code itself. Patching it here as a workaround until we fix it properly.
+  sed -i '/author_email=/a \    py_modules=["pytest_celery"],' setup.py
+}
+
+build() {
+  cd pytest-celery-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd pytest-celery-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list