Date: Sunday, July 31, 2022 @ 12:47:55
  Author: arojas
Revision: 451780

archrelease: copy trunk to community-testing-any

Added:
  python-chardet/repos/community-testing-any/
  python-chardet/repos/community-testing-any/PKGBUILD
    (from rev 451779, python-chardet/trunk/PKGBUILD)

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

Copied: python-chardet/repos/community-testing-any/PKGBUILD (from rev 451779, 
python-chardet/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2022-07-31 12:47:55 UTC (rev 451780)
@@ -0,0 +1,31 @@
+# Maintainer : Felix Yan <felixonm...@archlinux.org>
+# Contributor: Ionut Biru <ib...@archlinux.org>
+# Contributor: William Rea <sillywi...@gmail.com>
+
+pkgname=python-chardet
+pkgver=5.0.0
+pkgrel=1
+arch=('any')
+url="https://github.com/chardet/chardet";
+license=('LGPL')
+depends=('python')
+pkgdesc="Python3 module for character encoding auto-detection"
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/c/chardet/chardet-${pkgver}.tar.gz";)
+sha512sums=('3853248584d53d977abe0e6ab856e1526fd7360d9b94b4f08d03895da80ba9efac8882dbd3f919f0d52b0699c0d7fd68edb223c37512685976c6f2b212fbe0ff')
+
+build() {
+   cd "$srcdir"/chardet-$pkgver
+   python setup.py build
+}
+
+check() {
+   cd "$srcdir"/chardet-$pkgver
+   python -m pytest
+}
+
+package() {
+   cd chardet-$pkgver
+   python setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to