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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 16:55:31 UTC 2020


    Date: Thursday, November 12, 2020 @ 16:55:31
  Author: foutrelis
Revision: 752095

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 752092, python-cchardet/trunk/PKGBUILD)

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

Copied: python-cchardet/repos/community-staging-x86_64/PKGBUILD (from rev 752092, python-cchardet/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-12 16:55:31 UTC (rev 752095)
@@ -0,0 +1,23 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-cchardet
+pkgver=2.1.7
+pkgrel=2
+pkgdesc="Universal encoding detector faster than chardet."
+url="https://pypi.org/project/cchardet/"
+depends=('python')
+makedepends=('cython' 'python-setuptools')
+license=('GPL' 'LGPL' 'MPL')
+arch=('x86_64')
+source=(https://files.pythonhosted.org/packages/source/c/cchardet/cchardet-$pkgver.tar.gz)
+sha256sums=('c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf')
+
+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