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

Jonas Witschel diabonas at gemini.archlinux.org
Wed Apr 27 23:03:59 UTC 2022


    Date: Wednesday, April 27, 2022 @ 23:03:59
  Author: diabonas
Revision: 1191354

python-aiohttp: makedepends on python-setuptools, remove PYTHONDONTWRITEBYTECODE

- Without python-setuptools the package fails to build with --nocheck.
- PYTHONDONTWRITEBYTECODE seems to be no longer required when using PEP 517,
  the bytecode is the same regardless of whether check() is run or not.

Modified:
  python-aiohttp/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-27 22:08:08 UTC (rev 1191353)
+++ PKGBUILD	2022-04-27 23:03:59 UTC (rev 1191354)
@@ -14,7 +14,8 @@
 depends=('python' 'python-chardet' 'python-multidict' 'python-async-timeout'
          'python-yarl' 'python-attrs' 'python-charset-normalizer'
          'python-aiosignal' 'python-frozenlist')
-makedepends=('git' 'cython' 'npm' 'python-build' 'python-installer' 'python-wheel')
+makedepends=('git' 'cython' 'npm' 'python-build' 'python-installer'
+             'python-setuptools' 'python-wheel')
 checkdepends=('python-pytest' 'python-pytest-runner' 'python-pytest-mock'
               'python-pytest-timeout' 'python-async_generator' 'python-brotli'
               'python-pytest-xdist' 'python-pytest-forked' 'python-pytest-cov'
@@ -66,7 +67,7 @@
 
   # Without --pythonwarnings=default, the test suite does not even start due to
   # an unrelated DeprecationWarning from python-packaging
-  PYTHONDONTWRITEBYTECODE=1 PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_python_version}" pytest --pythonwarnings=default
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-${_python_version}" pytest --pythonwarnings=default
 }
 
 package() {



More information about the arch-commits mailing list