Date: Tuesday, January 31, 2023 @ 20:11:23
Author: felixonmars
Revision: 1391523
archrelease: copy trunk to community-any
Added:
python-zipp/repos/community-any/PKGBUILD
(from rev 1391522, python-zipp/trunk/PKGBUILD)
Deleted:
python-zipp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 20:11:12 UTC (rev 1391522)
+++ PKGBUILD 2023-01-31 20:11:23 UTC (rev 1391523)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-zipp
-pkgver=3.12.0
-pkgrel=1
-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')
-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')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd zipp-$pkgver
- python -m build -nw
-}
-
-check() {
- cd zipp-$pkgver
- python -m unittest discover
-}
-
-package() {
- cd zipp-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-zipp/repos/community-any/PKGBUILD (from rev 1391522,
python-zipp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 20:11:23 UTC (rev 1391523)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-zipp
+pkgver=3.12.0
+_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=('git' 'python-build' 'python-installer' 'python-setuptools-scm'
'python-toml' 'python-wheel')
+checkdepends=('python-jaraco.itertools' 'python-func-timeout'
'python-more-itertools')
+source=("git+https://github.com/jaraco/zipp.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd zipp
+ python -m build -nw
+}
+
+check() {
+ cd zipp
+ python -m unittest discover
+}
+
+package() {
+ cd zipp
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}