[arch-commits] Commit in python-distlib/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun May 19 06:55:58 UTC 2019
Date: Sunday, May 19, 2019 @ 06:55:57
Author: eschwartz
Revision: 467945
archrelease: copy trunk to community-any
Added:
python-distlib/repos/community-any/PKGBUILD
(from rev 467944, python-distlib/trunk/PKGBUILD)
Deleted:
python-distlib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 50 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-19 06:55:44 UTC (rev 467944)
+++ PKGBUILD 2019-05-19 06:55:57 UTC (rev 467945)
@@ -1,42 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=distlib
-pkgbase='python-distlib'
-pkgname=('python-distlib' 'python2-distlib')
-pkgver=0.2.8
-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=('57977cd7d9ea27986ec62f425630e4ddb42efe651ff80bc58ed8dbc3c7c21f19')
-
-build() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- PYTHONHASHSEED=0 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 467944, python-distlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-19 06:55:57 UTC (rev 467945)
@@ -0,0 +1,50 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=distlib
+pkgbase='python-distlib'
+pkgname=('python-distlib' 'python2-distlib')
+pkgver=0.2.9
+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=('f59db0ed3ef8248badfee5270eca6311de3b562c5b52fe140a53c2145e242cfd')
+b2sums=('378a6f8caf1c45cda638e099c4631934310c152753a8f56437362f185309599ca2f33e6509c4643dfe6cab1834594efc000e625a6c649fa40ab1fb041546546c')
+
+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}
+
+ PYTHONHASHSEED=0 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
+}
More information about the arch-commits
mailing list