[arch-commits] Commit in python-distlib/repos/community-any (PKGBUILD keys keys)

George Rawlinson grawlinson at gemini.archlinux.org
Sun Jul 17 08:05:59 UTC 2022


    Date: Sunday, July 17, 2022 @ 08:05:58
  Author: grawlinson
Revision: 1254279

archrelease: copy trunk to community-any

Added:
  python-distlib/repos/community-any/PKGBUILD
    (from rev 1254278, python-distlib/trunk/PKGBUILD)
  python-distlib/repos/community-any/keys/
Deleted:
  python-distlib/repos/community-any/keys/

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

Copied: python-distlib/repos/community-any/PKGBUILD (from rev 1254278, python-distlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-17 08:05:58 UTC (rev 1254279)
@@ -0,0 +1,41 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-distlib
+_pkgname="${pkgname#python-}"
+pkgver=0.3.5
+pkgrel=1
+pkgdesc='Low-level functions that relate to packaging and distribution of Python software'
+arch=('any')
+url='https://distlib.readthedocs.io'
+license=('PSF')
+depends=('python')
+makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
+source=("https://github.com/pypa/distlib/releases/download/$pkgver/distlib-$pkgver.tar.gz"{,.asc})
+b2sums=('cded3b02873192b5ca77a654729d25ff7fb3d03bf81dc29a4031bee1cec3c26cbd400d1f3f346868a83d8986008439b119667f23f9878ec31eb59a3cefa1a7df'
+        'SKIP')
+validpgpkeys=('CA749061914EAC138E66EADB9147B477339A9B86') # Vinay Sajip <vinay_sajip at yahoo.co.uk>
+
+prepare() {
+  cd "$_pkgname-$pkgver"
+
+  rm distlib/*.exe
+}
+
+build() {
+  cd "$_pkgname-$pkgver"
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$_pkgname-$pkgver"
+
+  python tests/test_all.py
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list