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

Massimiliano Torromeo mtorromeo at archlinux.org
Tue Sep 8 09:15:23 UTC 2015


    Date: Tuesday, September 8, 2015 @ 11:15:23
  Author: mtorromeo
Revision: 139581

upgpkg: python-cchardet 1.0.0-1

Updated to 1.0.0

Modified:
  python-cchardet/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-08 08:38:26 UTC (rev 139580)
+++ PKGBUILD	2015-09-08 09:15:23 UTC (rev 139581)
@@ -3,8 +3,8 @@
 
 pkgname=python-cchardet
 pkgname=(python-cchardet python2-cchardet)
-pkgver=0.3.5
-pkgrel=3
+pkgver=1.0.0
+pkgrel=1
 pkgdesc="Universal encoding detector faster than chardet."
 url="http://pypi.python.org/pypi/cchardet/"
 makedepends=('cython' 'cython2' 'python-setuptools' 'python2-setuptools')
@@ -11,7 +11,7 @@
 license=('MIT')
 arch=('i686' 'x86_64')
 source=(http://pypi.python.org/packages/source/c/cchardet/cchardet-$pkgver.tar.gz)
-sha256sums=('51094c573d248a4908a968e75edd05bab136f10fcc8a70b87c8243b6d45731f8')
+sha256sums=('98e6dc7ca225abfa7e559a6450404aeb2f5bea0713afd6dd492c1a51cec57e63')
 
 build() {
     cd "$srcdir/cchardet-$pkgver"
@@ -24,12 +24,6 @@
     find ../buildpy2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} +
 }
 
-package() {
-    cd "$srcdir/cchardet-$pkgver"
-    python setup.py install --root="$pkgdir"
-	install -m0644 -D "README.rst" "$pkgdir/usr/share/licenses/$pkgname/README.rst"
-}
-
 package_python-cchardet() {
     depends=(python)
 
@@ -36,7 +30,6 @@
     cd "$srcdir/cchardet-$pkgver"
     rm -rf build; ln -s ../buildpy3 build
     python setup.py install --skip-build -O1 --root="$pkgdir"
-	install -m0644 -D "README.rst" "$pkgdir/usr/share/licenses/$pkgname/README.rst"
 }
 
 package_python2-cchardet() {
@@ -45,6 +38,5 @@
     cd "$srcdir/cchardet-$pkgver"
     rm -rf build; ln -s ../buildpy2 build
     python2 setup.py install --skip-build -O1 --root="$pkgdir"
-	install -m0644 -D "README.rst" "$pkgdir/usr/share/licenses/$pkgname/README.rst"
 }
 



More information about the arch-commits mailing list