[arch-commits] Commit in python-pytest-celery/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Dec 25 12:09:53 UTC 2020


    Date: Friday, December 25, 2020 @ 12:09:53
  Author: felixonmars
Revision: 790451

upgpkg: python-pytest-celery 0.0.0a1-4: fix missing module file

Modified:
  python-pytest-celery/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-25 12:09:51 UTC (rev 790450)
+++ PKGBUILD	2020-12-25 12:09:53 UTC (rev 790451)
@@ -2,7 +2,7 @@
 
 pkgname=python-pytest-celery
 pkgver=0.0.0a1
-pkgrel=3
+pkgrel=4
 pkgdesc='A shim pytest plugin to enable celery.contrib.pytest'
 arch=('any')
 license=('BSD')
@@ -19,6 +19,10 @@
   # 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() {



More information about the arch-commits mailing list