[arch-commits] Commit in python-html5lib/repos/community-any (4 files)
Jelle van der Waa
jelle at archlinux.org
Mon Sep 14 17:27:00 UTC 2015
Date: Monday, September 14, 2015 @ 19:26:58
Author: jelle
Revision: 140098
archrelease: copy trunk to community-any
Added:
python-html5lib/repos/community-any/LICENSE
(from rev 140097, python-html5lib/trunk/LICENSE)
python-html5lib/repos/community-any/PKGBUILD
(from rev 140097, python-html5lib/trunk/PKGBUILD)
Deleted:
python-html5lib/repos/community-any/LICENSE
python-html5lib/repos/community-any/PKGBUILD
----------+
LICENSE | 34 +++++++++++++-------------
PKGBUILD | 79 ++++++++++++++++++++++++++++++++-----------------------------
2 files changed, 59 insertions(+), 54 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2015-09-14 17:26:47 UTC (rev 140097)
+++ LICENSE 2015-09-14 17:26:58 UTC (rev 140098)
@@ -1,17 +0,0 @@
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
Copied: python-html5lib/repos/community-any/LICENSE (from rev 140097, python-html5lib/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2015-09-14 17:26:58 UTC (rev 140098)
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-14 17:26:47 UTC (rev 140097)
+++ PKGBUILD 2015-09-14 17:26:58 UTC (rev 140098)
@@ -1,37 +0,0 @@
-# Contributor: Erol V. Aktay <e.aktay at gmail.com>
-# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgbase=python-html5lib
-pkgname=('python2-html5lib' 'python-html5lib')
-pkgver=0.999
-pkgrel=5
-arch=('any')
-url="https://github.com/html5lib"
-license=('MIT')
-makedepends=('python2' 'python' 'unzip')
-source=(https://github.com/html5lib/html5lib-python/archive/${pkgver}.tar.gz
- LICENSE)
-md5sums=('f74b320f10d74df9cca8a08b42cb278c'
- '838c366f69b72c5df05c96dff79b35f2')
-
-build() {
- /bin/true
-}
-
-package_python-html5lib() {
-pkgdesc="A Python HTML parser/tokenizer based on the WHATWG HTML5 spec"
-depends=('python' 'python-six')
- cd ${srcdir}/html5lib-python-${pkgver}
-
- python3 setup.py install --root=${pkgdir}
- install -Dm755 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-html5lib() {
-depends=('python2' 'python2-six')
-pkgdesc="A Python2 HTML parser/tokenizer based on the WHATWG HTML5 spec"
- cd ${srcdir}/html5lib-python-${pkgver}
-
- python2 setup.py install --root=${pkgdir}
- install -Dm755 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-html5lib/repos/community-any/PKGBUILD (from rev 140097, python-html5lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-14 17:26:58 UTC (rev 140098)
@@ -0,0 +1,42 @@
+# Contributor: Erol V. Aktay <e.aktay at gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgbase=python-html5lib
+pkgname=('python2-html5lib' 'python-html5lib')
+pkgver=0.9999999
+pkgrel=1
+arch=('any')
+url="https://github.com/html5lib"
+license=('MIT')
+makedepends=('python2' 'python' 'unzip')
+checkdepends=('python-nose' 'python2-nose')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/html5lib/html5lib-python/archive/${pkgver}.tar.gz
+ LICENSE)
+md5sums=('2ca78b1ec5852779bc121a97da6e8d4d'
+ '838c366f69b72c5df05c96dff79b35f2')
+
+package_python-html5lib() {
+pkgdesc="A Python HTML parser/tokenizer based on the WHATWG HTML5 spec"
+depends=('python' 'python-six')
+ cd ${srcdir}/html5lib-python-${pkgver}
+
+ python3 setup.py install --root=${pkgdir}
+ install -Dm755 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python2-html5lib() {
+depends=('python2' 'python2-six')
+pkgdesc="A Python2 HTML parser/tokenizer based on the WHATWG HTML5 spec"
+ cd ${srcdir}/html5lib-python-${pkgver}
+
+ python2 setup.py install --root=${pkgdir}
+ install -Dm755 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+
+check() {
+ cd ${srcdir}/html5lib-python-${pkgver}/html5lib/tests
+
+ nosetests2
+
+ nosetests
+}
More information about the arch-commits
mailing list