Date: Saturday, October 29, 2022 @ 10:41:21
  Author: yan12125
Revision: 1338547

python-botocore: try to make it reproducible

Also reduces build time a little

Modified:
  python-botocore/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-29 10:21:54 UTC (rev 1338546)
+++ PKGBUILD    2022-10-29 10:41:21 UTC (rev 1338547)
@@ -43,11 +43,11 @@
   export PYTHONPATH="$PWD"
 
   # Many integration tests need real credentials
-  pytest tests -n auto --ignore=tests/integration
+  PYTHONDONTWRITEBYTECODE=1 pytest tests -n auto --ignore=tests/integration
 }
 
 package() {
   cd botocore-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
   install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }

Reply via email to