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

Jelle van der Waa jelle at archlinux.org
Thu Jan 2 14:50:30 UTC 2020


    Date: Thursday, January 2, 2020 @ 14:50:29
  Author: jelle
Revision: 546179

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++-------------------------------------
 1 file changed, 26 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-02 14:50:22 UTC (rev 546178)
+++ PKGBUILD	2020-01-02 14:50:29 UTC (rev 546179)
@@ -1,39 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Maikel Wever <maikelwever at gmail.com>
-pkgbase='python-nine'
-_pkgbase="${pkgbase#python-}"
-pkgname=('python-nine' 'python2-nine')
-pkgver=1.0.0
-pkgrel=6
-arch=('any')
-pkgdesc="Python 3/2 compatibility library, allowing to add py2 compat to py3 code"
-url="https://github.com/nandoflorestan/nine/"
-license=('custom')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://github.com/nandoflorestan/nine/archive/v${pkgver}.tar.gz")
-sha512sums=('371f7d9dbfd14bc0f81c9c734e8c3f133e3ccd8a3571d0ef2edbc9532a8d0c47cf29ceaa8bcd9e095e098e547abc329a787e43ba3bf6b0f99b8df0a89755cd52')
-
-prepare(){
-  cp -r "${srcdir}/${_pkgbase}-${pkgver}" "${srcdir}/${_pkgbase}-${pkgver}-py2"
-}
-
-check() {
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-  python ./setup.py test
-  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
-  python2 ./setup.py test
-}
-
-package_python-nine() {
-  depends=('python')
-  cd "${srcdir}/${_pkgbase}-${pkgver}"
-  python ./setup.py install --root="$pkgdir/" --optimize=1
-  install -D -m0644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}
-
-package_python2-nine() {
-  depends=('python2')
-  cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
-  python2 ./setup.py install --root="$pkgdir/" --optimize=1
-  install -D -m0644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
-}

Copied: python-nine/repos/community-any/PKGBUILD (from rev 546178, python-nine/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-02 14:50:29 UTC (rev 546179)
@@ -0,0 +1,26 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Maikel Wever <maikelwever at gmail.com>
+pkgbase='python-nine'
+_pkgbase="${pkgbase#python-}"
+pkgname=('python-nine')
+pkgver=1.0.0
+pkgrel=7
+arch=('any')
+pkgdesc="Python 3/2 compatibility library, allowing to add py2 compat to py3 code"
+url="https://github.com/nandoflorestan/nine/"
+license=('custom')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/nandoflorestan/nine/archive/v${pkgver}.tar.gz")
+sha512sums=('371f7d9dbfd14bc0f81c9c734e8c3f133e3ccd8a3571d0ef2edbc9532a8d0c47cf29ceaa8bcd9e095e098e547abc329a787e43ba3bf6b0f99b8df0a89755cd52')
+
+check() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  python ./setup.py test
+}
+
+package() {
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
+  python ./setup.py install --root="$pkgdir/" --optimize=1
+  install -D -m0644 LICENSE.rst "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}



More information about the arch-commits mailing list