[arch-commits] Commit in python-zipp/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Apr 6 20:37:11 UTC 2022
Date: Wednesday, April 6, 2022 @ 20:37:10
Author: felixonmars
Revision: 1181752
archrelease: copy trunk to community-any
Added:
python-zipp/repos/community-any/PKGBUILD
(from rev 1181751, python-zipp/trunk/PKGBUILD)
Deleted:
python-zipp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-06 20:36:54 UTC (rev 1181751)
+++ PKGBUILD 2022-04-06 20:37:10 UTC (rev 1181752)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-zipp
-pkgver=3.7.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-setuptools-scm' 'python-toml')
-checkdepends=('python-jaraco' 'python-func-timeout')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jaraco/zipp/archive/v$pkgver.tar.gz")
-sha512sums=('3bbcd9a30548fa7537d8e9bebbfae1f6cf66ceb197d953511e2e105ea83fe53b9352d8228978dfe9bcecc2f07113e936aded79d84e67bc7f570801a4bc60747a')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd zipp-$pkgver
- python setup.py build
-}
-
-check() {
- cd zipp-$pkgver
- python -m unittest discover
-}
-
-package() {
- cd zipp-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-zipp/repos/community-any/PKGBUILD (from rev 1181751, python-zipp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-06 20:37:10 UTC (rev 1181752)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zipp
+pkgver=3.8.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' 'python-func-timeout')
+source=("https://github.com/jaraco/zipp/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('25a8f78be5dbfaacdd39f0492958486aa2a5a7eb1af3724e484676fb69eeb97ca558add0d5fa1f281a11cc410f67dc3959affe903a472b0bdbc78eb753096ef0')
+
+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/
+}
More information about the arch-commits
mailing list