[arch-commits] Commit in python2-zipp (3 files)

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


    Date: Thursday, February 13, 2020 @ 14:37:47
  Author: felixonmars
Revision: 570488

archrelease: copy trunk to community-any

Added:
  python2-zipp/repos/
  python2-zipp/repos/community-any/
  python2-zipp/repos/community-any/PKGBUILD
    (from rev 570487, python2-zipp/trunk/PKGBUILD)

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

Copied: python2-zipp/repos/community-any/PKGBUILD (from rev 570487, python2-zipp/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2020-02-13 14:37:47 UTC (rev 570488)
@@ -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