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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:22:19 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:22:19
  Author: felixonmars
Revision: 1058132

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

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

Copied: python-cchardet/repos/community-staging-x86_64/PKGBUILD (from rev 1058129, python-cchardet/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-30 20:22:19 UTC (rev 1058132)
@@ -0,0 +1,23 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=python-cchardet
+pkgver=2.1.7
+pkgrel=3
+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