[arch-commits] Commit in python-cchardet/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 04:09:54 UTC 2019


    Date: Monday, November 4, 2019 @ 04:09:54
  Author: felixonmars
Revision: 523104

archrelease: copy trunk to community-staging-x86_64

Added:
  python-cchardet/repos/community-staging-x86_64/
  python-cchardet/repos/community-staging-x86_64/PKGBUILD
    (from rev 523103, python-cchardet/trunk/PKGBUILD)

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

Copied: python-cchardet/repos/community-staging-x86_64/PKGBUILD (from rev 523103, python-cchardet/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-11-04 04:09:54 UTC (rev 523104)
@@ -0,0 +1,23 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-cchardet
+pkgver=2.1.4
+pkgrel=3
+pkgdesc="Universal encoding detector faster than chardet."
+url="https://pypi.org/project/cchardet/"
+depends=('python')
+makedepends=('cython' 'cython2' 'python-setuptools' 'python2-setuptools')
+license=('MIT')
+arch=('x86_64')
+source=(https://files.pythonhosted.org/packages/source/c/cchardet/cchardet-$pkgver.tar.gz)
+sha256sums=('cc9745e0400da4cfb49f075e7819f22473b66443f953427058fee2c7b9547cc0')
+
+build() {
+    cd "$srcdir/cchardet-$pkgver"
+    python setup.py build
+}
+
+package_python-cchardet() {
+    cd "$srcdir/cchardet-$pkgver"
+    python setup.py install --skip-build -O1 --root="$pkgdir"
+}



More information about the arch-commits mailing list