Date: Tuesday, January 31, 2023 @ 20:11:12
  Author: felixonmars
Revision: 1391522

upgpkg: python-zipp 3.12.0-2

Modified:
  python-zipp/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 20:10:10 UTC (rev 1391521)
+++ PKGBUILD    2023-01-31 20:11:12 UTC (rev 1391522)
@@ -2,31 +2,30 @@
 
 pkgname=python-zipp
 pkgver=3.12.0
-pkgrel=1
+_commit=ad532d5ed4a37f527eb546c3543e45c5a5ee8d36
+pkgrel=2
 pkgdesc="Pathlib-compatible object wrapper for zip files"
 url="https://github.com/jaraco/zipp";
 license=('MIT')
 arch=('any')
 depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 
'python-toml' 'python-wheel')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm' 
'python-toml' 'python-wheel')
 checkdepends=('python-jaraco.itertools' 'python-func-timeout' 
'python-more-itertools')
-source=("https://github.com/jaraco/zipp/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('6fbd9c1a56147e88ae80e6a603d49c472241b59285e5e8bcf62ea677db72daaa78b1be585666c73e910b53520f74fdd9add9e7ee50c463b75e745f5a24880151')
+source=("git+https://github.com/jaraco/zipp.git#commit=$_commit";)
+sha512sums=('SKIP')
 
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
 build() {
-  cd zipp-$pkgver
+  cd zipp
   python -m build -nw
 }
 
 check() {
-  cd zipp-$pkgver
+  cd zipp
   python -m unittest discover
 }
 
 package() {
-  cd zipp-$pkgver
+  cd zipp
   python -m installer --destdir="$pkgdir" dist/*.whl
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to