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

Felix Yan felixonmars at gemini.archlinux.org
Thu Jan 20 19:01:00 UTC 2022


    Date: Thursday, January 20, 2022 @ 19:01:00
  Author: felixonmars
Revision: 1111534

archrelease: copy trunk to community-testing-any

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

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

Copied: python-zipp/repos/community-testing-any/PKGBUILD (from rev 1111533, python-zipp/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-01-20 19:01:00 UTC (rev 1111534)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zipp
+pkgver=3.7.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=('3bbcd9a30548fa7537d8e9bebbfae1f6cf66ceb197d953511e2e105ea83fe53b9352d8228978dfe9bcecc2f07113e936aded79d84e67bc7f570801a4bc60747a')
+
+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