[arch-commits] Commit in python-zipp/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Feb 18 09:01:11 UTC 2020


    Date: Tuesday, February 18, 2020 @ 09:01:10
  Author: felixonmars
Revision: 575710

archrelease: copy trunk to community-testing-any

Added:
  python-zipp/repos/community-testing-any/
  python-zipp/repos/community-testing-any/PKGBUILD
    (from rev 575709, python-zipp/trunk/PKGBUILD)

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

Copied: python-zipp/repos/community-testing-any/PKGBUILD (from rev 575709, python-zipp/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-02-18 09:01:10 UTC (rev 575710)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zipp
+pkgver=3.0.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=('8307744bfdb2ceb2c6b4e028626c7c76ba3e5defc4bc0ee62788078a34537f0271558fac2750d843e725dae055be89c1aeafa83cc1384ab362b2e325716296e2')
+
+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