[arch-commits] Commit in python-chardet/repos/extra-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Feb 18 08:07:10 UTC 2017


    Date: Saturday, February 18, 2017 @ 08:07:09
  Author: felixonmars
Revision: 289131

archrelease: copy trunk to extra-any

Added:
  python-chardet/repos/extra-any/PKGBUILD
    (from rev 289130, python-chardet/trunk/PKGBUILD)
Deleted:
  python-chardet/repos/extra-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-18 08:06:49 UTC (rev 289130)
+++ PKGBUILD	2017-02-18 08:07:09 UTC (rev 289131)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer : Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-pkgbase=python-chardet
-pkgname=('python-chardet' 'python2-chardet')
-pkgver=2.3.0
-pkgrel=3
-arch=('any')
-url="https://github.com/chardet/chardet"
-license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.python.org/packages/source/c/chardet/chardet-${pkgver}.tar.gz")
-md5sums=('25274d664ccb5130adae08047416e1a8')
-
-prepare() {
-   cp -a chardet-${pkgver} python2-chardet-${pkgver}
-}
-
-package_python-chardet() {
-   depends=('python')
-   pkgdesc="Python3 module for character encoding auto-detection"
-
-   cd chardet-${pkgver}
-   python setup.py install --root="${pkgdir}" --optimize=1
-}
-
-package_python2-chardet() {
-   depends=('python2')
-   pkgdesc="Python2 module for character encoding auto-detection"
-
-   cd python2-chardet-${pkgver}
-   python2 setup.py install --root="${pkgdir}" --optimize=1
-
-   # To avoid file conflict with the python3 version
-   mv "$pkgdir/usr/bin/chardetect" "$pkgdir/usr/bin/chardetect-py2"
-}

Copied: python-chardet/repos/extra-any/PKGBUILD (from rev 289130, python-chardet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-18 08:07:09 UTC (rev 289131)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer : Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgbase=python-chardet
+pkgname=('python-chardet' 'python2-chardet')
+pkgver=2.3.0
+pkgrel=4
+arch=('any')
+url="https://github.com/chardet/chardet"
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/c/chardet/chardet-${pkgver}.tar.gz")
+md5sums=('25274d664ccb5130adae08047416e1a8')
+
+prepare() {
+   cp -a chardet-${pkgver} python2-chardet-${pkgver}
+}
+
+package_python-chardet() {
+   depends=('python-setuptools')
+   pkgdesc="Python3 module for character encoding auto-detection"
+
+   cd chardet-${pkgver}
+   python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-chardet() {
+   depends=('python2-setuptools')
+   pkgdesc="Python2 module for character encoding auto-detection"
+
+   cd python2-chardet-${pkgver}
+   python2 setup.py install --root="${pkgdir}" --optimize=1
+
+   # To avoid file conflict with the python3 version
+   mv "$pkgdir/usr/bin/chardetect" "$pkgdir/usr/bin/chardetect-py2"
+}



More information about the arch-commits mailing list