[arch-commits] Commit in python-chardet/repos/staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 18:11:38 UTC 2019
Date: Thursday, October 31, 2019 @ 18:11:37
Author: foutrelis
Revision: 366288
archrelease: copy trunk to staging-any
Added:
python-chardet/repos/staging-any/PKGBUILD
(from rev 366287, python-chardet/trunk/PKGBUILD)
Deleted:
python-chardet/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:11:32 UTC (rev 366287)
+++ PKGBUILD 2019-10-31 18:11:37 UTC (rev 366288)
@@ -1,37 +0,0 @@
-# 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=3.0.4
-pkgrel=3
-arch=('any')
-url="https://github.com/chardet/chardet"
-license=('LGPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("https://pypi.io/packages/source/c/chardet/chardet-${pkgver}.tar.gz")
-sha512sums=('61a03b23447a2bfe52ceed4dd1b9afdb5784da1933a623776883ee9f297e341f633e27f0ce0230bd5fdc5fdb5382105ab42736a74a417ddeb9f83af57455dba5')
-
-prepare() {
- cp -a chardet-$pkgver{,-py2}
-}
-
-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 chardet-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- # To avoid file conflict with the python3 version
- mv "$pkgdir"/usr/bin/chardetect{,-py2}
-}
Copied: python-chardet/repos/staging-any/PKGBUILD (from rev 366287, python-chardet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:11:37 UTC (rev 366288)
@@ -0,0 +1,37 @@
+# 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=3.0.4
+pkgrel=4
+arch=('any')
+url="https://github.com/chardet/chardet"
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/c/chardet/chardet-${pkgver}.tar.gz")
+sha512sums=('61a03b23447a2bfe52ceed4dd1b9afdb5784da1933a623776883ee9f297e341f633e27f0ce0230bd5fdc5fdb5382105ab42736a74a417ddeb9f83af57455dba5')
+
+prepare() {
+ cp -a chardet-$pkgver{,-py2}
+}
+
+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 chardet-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ # To avoid file conflict with the python3 version
+ mv "$pkgdir"/usr/bin/chardetect{,-py2}
+}
More information about the arch-commits
mailing list