[arch-commits] Commit in python-zipp/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 16:49:52 UTC 2021
Date: Tuesday, November 30, 2021 @ 16:49:52
Author: felixonmars
Revision: 1057847
archrelease: copy trunk to community-staging-any
Added:
python-zipp/repos/community-staging-any/
python-zipp/repos/community-staging-any/PKGBUILD
(from rev 1057846, python-zipp/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-zipp/repos/community-staging-any/PKGBUILD (from rev 1057846, python-zipp/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 16:49:52 UTC (rev 1057847)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zipp
+pkgver=3.6.0
+pkgrel=2
+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=('143ad7fdf011d29deacbcd071127535050a66a9a960931066fd3e18d2c8a9fe497a7928d3829dbd869df0a3b6665c0026f9d7e59f4a5bb1cee238efa1aa7e3ae')
+
+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
+}
More information about the arch-commits
mailing list