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

Jelle van der Waa jelle at archlinux.org
Tue May 12 19:03:37 UTC 2020


    Date: Tuesday, May 12, 2020 @ 19:03:37
  Author: jelle
Revision: 627145

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++---------------------------------------
 1 file changed, 30 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 19:03:30 UTC (rev 627144)
+++ PKGBUILD	2020-05-12 19:03:37 UTC (rev 627145)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-purl
-pkgname=('python-purl' 'python2-purl')
-pkgver=1.5
-pkgrel=3
-pkgdesc="An immutable URL class for easy URL-building and manipulation"
-arch=('any')
-license=('MIT')
-url="https://github.com/codeinthehole/purl"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/codeinthehole/purl/archive/$pkgver.tar.gz")
-sha512sums=('c034e563d25f4270d4aa9731e87df23203a1c6fc09d2df60fd6038e88c17341e2b30b04a9fba177a04a2552ce3ee0f2d9e34bf4aad6675eb23d2c7bd047d3813')
-
-prepare() {
-  cp -a purl-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/purl-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/purl-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/purl-$pkgver
-  python setup.py nosetests
-
-  cd "$srcdir"/purl-$pkgver-py2
-  python2 setup.py nosetests
-}
-
-package_python-purl() {
-  depends=('python-six')
-
-  cd purl-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
-
-package_python2-purl() {
-  depends=('python2-six')
-
-  cd purl-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-purl/repos/community-any/PKGBUILD (from rev 627144, python-purl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-12 19:03:37 UTC (rev 627145)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-purl
+pkgver=1.5
+pkgrel=4
+pkgdesc="An immutable URL class for easy URL-building and manipulation"
+arch=('any')
+license=('MIT')
+url="https://github.com/codeinthehole/purl"
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/codeinthehole/purl/archive/$pkgver.tar.gz")
+sha512sums=('c034e563d25f4270d4aa9731e87df23203a1c6fc09d2df60fd6038e88c17341e2b30b04a9fba177a04a2552ce3ee0f2d9e34bf4aad6675eb23d2c7bd047d3813')
+
+build() {
+  cd "$srcdir"/purl-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/purl-$pkgver
+  python setup.py nosetests
+}
+
+package() {
+  cd purl-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}


More information about the arch-commits mailing list