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

Felix Yan fyan at nymeria.archlinux.org
Mon Mar 17 06:05:16 UTC 2014


    Date: Monday, March 17, 2014 @ 07:05:15
  Author: fyan
Revision: 208018

upgpkg: python-chardet 2.2.1-2

- python 3.4 rebuild

Modified:
  python-chardet/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-17 05:56:18 UTC (rev 208017)
+++ PKGBUILD	2014-03-17 06:05:15 UTC (rev 208018)
@@ -6,15 +6,11 @@
 pkgbase=python-chardet
 pkgname=('python-chardet' 'python2-chardet')
 pkgver=2.2.1
-pkgrel=1
+pkgrel=2
 arch=('any')
 url="https://github.com/chardet/chardet"
 license=('LGPL')
 makedepends=('python-setuptools' 'python2-setuptools')
-#source=(http://chardet.feedparser.org/download/python2-chardet-${pkgver}.tgz
-#        http://chardet.feedparser.org/download/python3-chardet-${pkgver}.tgz)
-#source=(ftp://ftp.archlinux.org/other/$pkgbase/python2-chardet-${pkgver}.tgz
-#        ftp://ftp.archlinux.org/other/$pkgbase/python3-chardet-${pkgver}.tgz)
 source=("https://pypi.python.org/packages/source/c/chardet/chardet-${pkgver}.tar.gz")
 md5sums=('4a758402eaefd0331bdedc7ecb6f452c')
 
@@ -23,7 +19,7 @@
 }
 
 package_python-chardet() {
-   depends=('python>=3.3')
+   depends=('python')
    pkgdesc="Python3 module for character encoding auto-detection"
    cd chardet-${pkgver}
    python setup.py install --root="${pkgdir}" --optimize=1
@@ -30,7 +26,7 @@
 }
 
 package_python2-chardet() {
-   depends=('python2>=2.7.1')
+   depends=('python2')
    pkgdesc="Python2 module for character encoding auto-detection"
    cd python2-chardet-${pkgver}
    python2 setup.py install --root="${pkgdir}" --optimize=1




More information about the arch-commits mailing list