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

Felix Yan felixonmars at archlinux.org
Thu Feb 13 14:56:05 UTC 2020


    Date: Thursday, February 13, 2020 @ 14:56:05
  Author: felixonmars
Revision: 570513

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   79 +++++++++++++++++++++++--------------------------------------
 1 file changed, 30 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 14:55:51 UTC (rev 570512)
+++ PKGBUILD	2020-02-13 14:56:05 UTC (rev 570513)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
-
-pkgbase=python-rfc3986
-pkgname=(python-rfc3986 python2-rfc3986)
-pkgver=1.3.2
-pkgrel=3
-pkgdesc="Validating URI References per RFC 3986"
-arch=('any')
-license=('Apache')
-url="https://rfc3986.readthedocs.org/"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/r/rfc3986/rfc3986-$pkgver.tar.gz")
-sha512sums=('c086c55295d80ccf33dbfeff06059303119e7a407bfc405b7f75ec30413221ec58d3061d75fd3ca696b7acf9b1be1dfcc785e01280bf659a53be43ab1f300b15')
-
-prepare() {
-  cp -a rfc3986-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/rfc3986-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/rfc3986-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/rfc3986-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/rfc3986-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-rfc3986() {
-  depends=('python')
-
-  cd rfc3986-$pkgver
-  python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-rfc3986() {
-  depends=('python2')
-
-  cd rfc3986-$pkgver-py2
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-}

Copied: python-rfc3986/repos/community-any/PKGBUILD (from rev 570512, python-rfc3986/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 14:56:05 UTC (rev 570513)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=python-rfc3986
+pkgver=1.3.2
+pkgrel=4
+pkgdesc="Validating URI References per RFC 3986"
+arch=('any')
+license=('Apache')
+url="https://rfc3986.readthedocs.org/"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("https://pypi.io/packages/source/r/rfc3986/rfc3986-$pkgver.tar.gz")
+sha512sums=('c086c55295d80ccf33dbfeff06059303119e7a407bfc405b7f75ec30413221ec58d3061d75fd3ca696b7acf9b1be1dfcc785e01280bf659a53be43ab1f300b15')
+
+build() {
+  cd rfc3986-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd rfc3986-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd rfc3986-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}



More information about the arch-commits mailing list