[arch-commits] Commit in (3 files)

Felix Yan felixonmars at archlinux.org
Thu Feb 13 14:37:00 UTC 2020


    Date: Thursday, February 13, 2020 @ 14:36:59
  Author: felixonmars
Revision: 570485

revert zipp to old version

Added:
  python2-zipp/
  python2-zipp/trunk/
  python2-zipp/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: python2-zipp/trunk/PKGBUILD
===================================================================
--- python2-zipp/trunk/PKGBUILD	                        (rev 0)
+++ python2-zipp/trunk/PKGBUILD	2020-02-13 14:36:59 UTC (rev 570485)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python2-zipp
+pkgver=1.1.0
+pkgrel=1
+epoch=1
+pkgdesc="Pathlib-compatible object wrapper for zip files"
+url="https://github.com/jaraco/zipp"
+license=('MIT')
+arch=('any')
+depends=('python2-contextlib2')
+makedepends=('python2-setuptools-scm' 'python2-toml')
+checkdepends=('python2-jaraco' 'python2-pathlib' 'python2-unittest2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jaraco/zipp/archive/v$pkgver.tar.gz")
+sha512sums=('36190ec5182e0ffc03996a104215890555d11e15119c2066e5c06c4a4dd23287d7a00837ff7bc019232a2ca3e3398793d5fd5f6b67131fa2d9a6717f66ac4e8e')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd zipp-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd zipp-$pkgver
+  python2 setup.py test
+}
+
+package() {
+  cd zipp-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list