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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 14:54:31 UTC 2020


    Date: Thursday, February 13, 2020 @ 14:54:31
  Author: felixonmars
Revision: 570511

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   68 +++++++++++++++++++++++--------------------------------------
 1 file changed, 26 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 14:54:16 UTC (rev 570510)
+++ PKGBUILD	2020-02-13 14:54:31 UTC (rev 570511)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-rfc3987
-pkgname=(python-rfc3987 python2-rfc3987)
-pkgver=1.3.8
-pkgrel=3
-pkgdesc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
-url="https://pypi.python.org/pypi/rfc3987"
-license=('GPL')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/r/rfc3987/rfc3987-$pkgver.tar.gz")
-sha512sums=('0e81b8dbc8c410f08b1efa7ee1c90174ed6e70bf7622d3748f598d383583b439908e1b5da1e1a1eb22af4f214ae08680a29f00b253f37808034bae8a1808c32c')
-
-prepare() {
-  cp -a rfc3987-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/rfc3987-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/rfc3987-$pkgver-py2
-  python2 setup.py build
-}
-
-package_python-rfc3987() {
-  depends=('python')
-
-  cd rfc3987-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-rfc3987() {
-  depends=('python2')
-
-  cd rfc3987-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-rfc3987/repos/community-any/PKGBUILD (from rev 570510, python-rfc3987/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 14:54:31 UTC (rev 570511)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-rfc3987
+pkgver=1.3.8
+pkgrel=4
+pkgdesc="Parsing and validation of URIs (RFC 3986) and IRIs (RFC 3987)"
+url="https://pypi.python.org/pypi/rfc3987"
+license=('GPL')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("https://pypi.io/packages/source/r/rfc3987/rfc3987-$pkgver.tar.gz")
+sha512sums=('0e81b8dbc8c410f08b1efa7ee1c90174ed6e70bf7622d3748f598d383583b439908e1b5da1e1a1eb22af4f214ae08680a29f00b253f37808034bae8a1808c32c')
+
+build() {
+  cd rfc3987-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd rfc3987-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list