[arch-commits] Commit in python-jaraco.envs/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Aug 13 14:55:10 UTC 2020


    Date: Thursday, August 13, 2020 @ 14:55:10
  Author: felixonmars
Revision: 677404

upgpkg: python-jaraco.envs 2.0.0-2: fix conflict with jaraco

Modified:
  python-jaraco.envs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-13 14:54:27 UTC (rev 677403)
+++ PKGBUILD	2020-08-13 14:55:10 UTC (rev 677404)
@@ -2,12 +2,12 @@
 
 pkgname=python-jaraco.envs
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Classes for orchestrating Python (virtual) environments"
 url="https://github.com/jaraco/jaraco.envs"
 license=('MIT')
 arch=('any')
-depends=('python-path' 'python-virtualenv' 'python-tox')
+depends=('python-jaraco' 'python-path' 'python-virtualenv' 'python-tox')
 makedepends=('python-setuptools-scm')
 checkdepends=('python-pytest-black' 'python-pytest-cov' 'python-pytest-flake8')
 source=("https://github.com/jaraco/jaraco.envs/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
@@ -34,5 +34,8 @@
   cd jaraco.envs-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
 
+  rm "$pkgdir"/usr/lib/python3.8/site-packages/jaraco/__init__.py \
+     "$pkgdir"/usr/lib/python3.8/site-packages/jaraco/__pycache__/__init__.cpython-38.pyc
+
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



More information about the arch-commits mailing list