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

Felix Yan felixonmars at archlinux.org
Sat May 8 13:04:08 UTC 2021


    Date: Saturday, May 8, 2021 @ 13:04:08
  Author: felixonmars
Revision: 928828

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-08 13:03:51 UTC (rev 928827)
+++ PKGBUILD	2021-05-08 13:04:08 UTC (rev 928828)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-celery
-pkgver=0.0.0a1
-pkgrel=4
-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=('ea8ef26aaa5dd5c04608cb01bedb4946bb6712d08203e5f9b1b9b2b1a9e49e7a550466d7a9dd896fb5d813960cee35eed139099952589cdf21e03dadd7e2a20f')
-
-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-any/PKGBUILD (from rev 928827, python-pytest-celery/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-08 13:04:08 UTC (rev 928828)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-celery
+pkgver=0.0.0
+pkgrel=1
+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