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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 16:19:59 UTC 2021


    Date: Tuesday, November 30, 2021 @ 16:19:59
  Author: felixonmars
Revision: 1057833

archrelease: copy trunk to community-staging-any

Added:
  python-webencodings/repos/community-staging-any/
  python-webencodings/repos/community-staging-any/PKGBUILD
    (from rev 1057832, python-webencodings/trunk/PKGBUILD)

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

Copied: python-webencodings/repos/community-staging-any/PKGBUILD (from rev 1057832, python-webencodings/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 16:19:59 UTC (rev 1057833)
@@ -0,0 +1,28 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=python-webencodings
+pkgver=0.5.1
+pkgrel=8
+arch=('any')
+url="https://github.com/gsnedders/python-webencodings"
+license=('BSD')
+pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
+depends=('python')
+makedepends=('python' 'python-setuptools')
+checkdepends=('python-nose')
+source=($pkgname-$pkgver.tar.gz::https://github.com/gsnedders/python-webencodings/archive/v${pkgver}.tar.gz)
+md5sums=('7eb67377743cd55eaa356496c439471e')
+
+package_python-webencodings() {
+    cd ${pkgbase}-${pkgver}
+
+    python3 setup.py install --root="${pkgdir}"
+    install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+check() {
+    cd ${pkgbase}-${pkgver}/webencodings
+
+    nosetests tests.py
+}



More information about the arch-commits mailing list