[arch-commits] Commit in python-chardet/repos (3 files)

Allan McRae allan at archlinux.org
Tue Oct 16 11:54:26 UTC 2012


    Date: Tuesday, October 16, 2012 @ 07:54:25
  Author: allan
Revision: 168855

db-move: moved python-chardet from [staging] to [testing] (any)

Added:
  python-chardet/repos/testing-any/
  python-chardet/repos/testing-any/PKGBUILD
    (from rev 168833, python-chardet/repos/staging-any/PKGBUILD)
Deleted:
  python-chardet/repos/staging-any/

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-chardet/repos/testing-any/PKGBUILD (from rev 168833, python-chardet/repos/staging-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2012-10-16 11:54:25 UTC (rev 168855)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+pkgbase=python-chardet
+pkgname=('python-chardet' 'python2-chardet')
+pkgver=2.0.1
+pkgrel=6
+arch=('any')
+url="http://chardet.feedparser.org"
+license=('LGPL')
+makedepends=('python' 'python2')
+#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)
+sha256sums=('56fa0c37189b0a5f082d064dec59d69a044aaa3eeb7acb9b3081e2ba306deaa4'
+            '2b9a1e6a4e719ae3a3e19ccfe0b88cf2c74f3083c36ecac7451a64428a60a1af')
+
+package_python-chardet() {
+   depends=('python>=3.3')
+   pkgdesc="Python3 module for character encoding auto-detection"
+   cd "${srcdir}/python3-chardet-${pkgver}"
+   python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-chardet() {
+   depends=('python2>=2.7.1')
+   pkgdesc="Python2 module for character encoding auto-detection"
+   cd "${srcdir}/python2-chardet-${pkgver}"
+   python2 setup.py install --root="${pkgdir}" --optimize=1
+}




More information about the arch-commits mailing list