[arch-commits] Commit in python-zipp/repos (community-any community-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Feb 13 14:36:44 UTC 2020
Date: Thursday, February 13, 2020 @ 14:36:44
Author: felixonmars
Revision: 570484
archrelease: copy trunk to community-any
Added:
python-zipp/repos/community-any/
python-zipp/repos/community-any/PKGBUILD
(from rev 570483, python-zipp/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-zipp/repos/community-any/PKGBUILD (from rev 570483, python-zipp/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-02-13 14:36:44 UTC (rev 570484)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zipp
+pkgver=2.2.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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jaraco/zipp/archive/v$pkgver.tar.gz")
+sha512sums=('bd65e0adaf27d540dba8b7ef8f98f0955d817eb3c6d2275083c4ac80edf5afc504be8e8a232874cf861386ae351b66d06fcfc68eacadae7ad7177df5cbfa5b76')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd zipp-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd zipp-$pkgver
+ python setup.py test
+}
+
+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