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

Jelle van der Waa jelle at archlinux.org
Fri Apr 7 16:58:39 UTC 2017


    Date: Friday, April 7, 2017 @ 16:58:39
  Author: jelle
Revision: 221272

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   78 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 40 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-07 16:58:31 UTC (rev 221271)
+++ PKGBUILD	2017-04-07 16:58:39 UTC (rev 221272)
@@ -1,38 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgbase=python-webencodings
-pkgname=('python2-webencodings' 'python-webencodings')
-pkgver=0.5
-pkgrel=2
-arch=('any')
-url="https://github.com/gsnedders/python-webencodings"
-license=('BSD')
-makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-source=(https://github.com/gsnedders/python-webencodings/archive/v$pkgver.tar.gz)
-md5sums=('380cd5f79cd65620bd5b852528dce3a6')
-
-package_python-webencodings() {
-pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
-depends=('python')
-    cd ${srcdir}/${pkgbase}-${pkgver}
-
-    python3 setup.py install --root=${pkgdir}
-}
-
-package_python2-webencodings() {
-pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
-depends=('python2')
-    cd ${srcdir}/${pkgbase}-${pkgver}
-
-    python2 setup.py install --root=${pkgdir}
-}
-
-check() {
-    cd ${srcdir}/${pkgbase}-${pkgver}/webencodings
-
-    nosetests tests.py
-
-    nosetests2 tests.py
-}

Copied: python-webencodings/repos/community-any/PKGBUILD (from rev 221271, python-webencodings/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-04-07 16:58:39 UTC (rev 221272)
@@ -0,0 +1,40 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgbase=python-webencodings
+pkgname=('python2-webencodings' 'python-webencodings')
+pkgver=0.5.1
+pkgrel=1
+arch=('any')
+url="https://github.com/gsnedders/python-webencodings"
+license=('BSD')
+makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=(https://github.com/gsnedders/python-webencodings/archive/v$pkgver.tar.gz)
+md5sums=('7eb67377743cd55eaa356496c439471e')
+
+package_python-webencodings() {
+pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
+depends=('python')
+    cd ${srcdir}/${pkgbase}-${pkgver}
+
+    python3 setup.py install --root=${pkgdir}
+    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-webencodings() {
+pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
+depends=('python2')
+    cd ${srcdir}/${pkgbase}-${pkgver}
+
+    python2 setup.py install --root=${pkgdir}
+    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+check() {
+    cd ${srcdir}/${pkgbase}-${pkgver}/webencodings
+
+    nosetests tests.py
+
+    nosetests2 tests.py
+}



More information about the arch-commits mailing list