Date: Tuesday, January 31, 2023 @ 19:54:25
  Author: felixonmars
Revision: 1391496

upgpkg: python-jaraco.envs 2.4.0-3

Modified:
  python-jaraco.envs/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 19:53:06 UTC (rev 1391495)
+++ PKGBUILD    2023-01-31 19:54:25 UTC (rev 1391496)
@@ -2,32 +2,30 @@
 
 pkgname=python-jaraco.envs
 pkgver=2.4.0
-pkgrel=2
+_commit=71a4e633e7ba01a8baa1db0f03249faa83f5de98
+pkgrel=3
 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')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
 checkdepends=('python-pytest-enabler' 'python-pytest-mypy')
-source=("https://github.com/jaraco/jaraco.envs/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('08610971183227ac92aafdb7dbf92c9045a0ccd20ed451fd36c9c71dc869a86559d75fdfc64de18a1f7a0ebef6666d66896eef162e9c8482203e75a9b2f0a1f6')
+source=("git+https://github.com/jaraco/jaraco.envs.git#commit=$_commit";)
+sha512sums=('SKIP')
 
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
 build() {
-  cd jaraco.envs-$pkgver
+  cd jaraco.envs
   python -m build -wn
 }
 
 check() {
-  cd jaraco.envs-$pkgver
+  cd jaraco.envs
   python -m pytest
 }
 
 package() {
-  cd jaraco.envs-$pkgver
+  cd jaraco.envs
   python -m installer --destdir="$pkgdir" dist/*.whl
-
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to