[arch-commits] Commit in python-webencodings/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Mon Nov 29 19:45:31 UTC 2021
Date: Monday, November 29, 2021 @ 19:45:31
Author: jelle
Revision: 1057609
archrelease: copy trunk to community-any
Added:
python-webencodings/repos/community-any/PKGBUILD
(from rev 1057608, python-webencodings/trunk/PKGBUILD)
Deleted:
python-webencodings/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 +++++++++++++++++++++++++------------------------------------
1 file changed, 28 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 19:45:25 UTC (rev 1057608)
+++ PKGBUILD 2021-11-29 19:45:31 UTC (rev 1057609)
@@ -1,40 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-# Contributor: Jelle van der Waa <jelle at vdwaa.nl>
-
-pkgbase=python-webencodings
-pkgname=('python2-webencodings' 'python-webencodings')
-pkgver=0.5.1
-pkgrel=6
-arch=('any')
-url="https://github.com/gsnedders/python-webencodings"
-license=('BSD')
-makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-source=(https://github.com/gsnedders/python-webencodings/archive/v${pkgver}.tar.gz)
-md5sums=('7eb67377743cd55eaa356496c439471e')
-
-package_python-webencodings() {
-pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
-depends=('python')
- cd ${pkgbase}-${pkgver}
-
- python3 setup.py install --root="${pkgdir}"
- install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-webencodings() {
-pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
-depends=('python2')
- cd ${pkgbase}-${pkgver}
-
- python2 setup.py install --root="${pkgdir}"
- install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-check() {
- cd ${pkgbase}-${pkgver}/webencodings
-
- nosetests tests.py
-
- nosetests2 tests.py
-}
Copied: python-webencodings/repos/community-any/PKGBUILD (from rev 1057608, python-webencodings/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-29 19:45:31 UTC (rev 1057609)
@@ -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=7
+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