[arch-commits] Commit in python-webencodings/trunk (PKGBUILD)

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


    Date: Friday, April 7, 2017 @ 16:58:31
  Author: jelle
Revision: 221271

upgpkg: python-webencodings 0.5.1-1

Modified:
  python-webencodings/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-07 16:57:56 UTC (rev 221270)
+++ PKGBUILD	2017-04-07 16:58:31 UTC (rev 221271)
@@ -3,8 +3,8 @@
 
 pkgbase=python-webencodings
 pkgname=('python2-webencodings' 'python-webencodings')
-pkgver=0.5
-pkgrel=2
+pkgver=0.5.1
+pkgrel=1
 arch=('any')
 url="https://github.com/gsnedders/python-webencodings"
 license=('BSD')
@@ -11,7 +11,7 @@
 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')
+md5sums=('7eb67377743cd55eaa356496c439471e')
 
 package_python-webencodings() {
 pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
@@ -19,6 +19,7 @@
     cd ${srcdir}/${pkgbase}-${pkgver}
 
     python3 setup.py install --root=${pkgdir}
+    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
 
 package_python2-webencodings() {
@@ -27,6 +28,7 @@
     cd ${srcdir}/${pkgbase}-${pkgver}
 
     python2 setup.py install --root=${pkgdir}
+    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
 
 check() {



More information about the arch-commits mailing list