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

Jelle van der Waa jelle at gemini.archlinux.org
Mon Nov 29 20:00:47 UTC 2021


    Date: Monday, November 29, 2021 @ 20:00:47
  Author: jelle
Revision: 1057615

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   89 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 39 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 20:00:41 UTC (rev 1057614)
+++ PKGBUILD	2021-11-29 20:00:47 UTC (rev 1057615)
@@ -1,50 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=distlib
-pkgbase='python-distlib'
-pkgname=('python-distlib' 'python2-distlib')
-pkgver=0.3.3
-pkgrel=1
-pkgdesc="Low-level components of distutils2/packaging"
-arch=('any')
-url="https://bitbucket.org/pypa/${_pkgname}"
-license=('PSF')
-makedepends=('python' 'python2')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.zip")
-sha256sums=('d982d0751ff6eaaab5e2ec8e691d949ee80eddf01a62eaa96ddb11531fe16b05')
-b2sums=('269ec9e8f22c991fea6b81c37d9b527348bd5431fe09b02a7972e3272c379842df0254ae0c9e7283bc1b5a2402d9bd9087e2d1fdd979c1ac3a8b99cfb962c308')
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    rm distlib/*.exe
-
-}
-
-build() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-    python2 setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py test
-    python2 setup.py test
-}
-
-package_python-distlib() {
-    depends=('python')
-
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
-
-package_python2-distlib() {
-    depends=('python2')
-
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-    python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}

Copied: python-distlib/repos/community-any/PKGBUILD (from rev 1057614, python-distlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 20:00:47 UTC (rev 1057615)
@@ -0,0 +1,39 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=distlib
+pkgname='python-distlib'
+pkgver=0.3.3
+pkgrel=2
+pkgdesc="Low-level components of distutils2/packaging"
+arch=('any')
+url="https://bitbucket.org/pypa/${_pkgname}"
+license=('PSF')
+depends=('python')
+makedepends=('python')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.zip")
+sha256sums=('d982d0751ff6eaaab5e2ec8e691d949ee80eddf01a62eaa96ddb11531fe16b05')
+b2sums=('269ec9e8f22c991fea6b81c37d9b527348bd5431fe09b02a7972e3272c379842df0254ae0c9e7283bc1b5a2402d9bd9087e2d1fdd979c1ac3a8b99cfb962c308')
+
+prepare() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    rm distlib/*.exe
+
+}
+
+build() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py test || true
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list