Date: Thursday, April 6, 2023 @ 02:04:21
  Author: felixonmars
Revision: 472688

archrelease: copy trunk to staging-any

Added:
  python-chardet/repos/staging-any/
  python-chardet/repos/staging-any/PKGBUILD
    (from rev 472687, python-chardet/trunk/PKGBUILD)

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

Copied: python-chardet/repos/staging-any/PKGBUILD (from rev 472687, 
python-chardet/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD                                (rev 0)
+++ staging-any/PKGBUILD        2023-04-06 02:04:21 UTC (rev 472688)
@@ -0,0 +1,31 @@
+# Maintainer : Felix Yan <[email protected]>
+# Contributor: Ionut Biru <[email protected]>
+# Contributor: William Rea <[email protected]>
+
+pkgname=python-chardet
+pkgver=5.1.0
+pkgrel=2
+arch=('any')
+url="https://github.com/chardet/chardet";
+license=('LGPL')
+depends=('python')
+pkgdesc="Python3 module for character encoding auto-detection"
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/c/chardet/chardet-${pkgver}.tar.gz";)
+sha512sums=('f4e668de1d6f8fe0223d79a150123b99875cc5e2015e2b6c4052c1c545c044f1a3aba1c02eba3c295c0a1795e24302f5304500321dca8f1e8c0605d08ef8bb62')
+
+build() {
+   cd chardet-$pkgver
+   python -m build --wheel --no-isolation
+}
+
+check() {
+   cd chardet-$pkgver
+   python -m pytest
+}
+
+package() {
+   cd chardet-$pkgver
+   python -m installer --destdir="$pkgdir" dist/*.whl
+}

Reply via email to