[arch-commits] Commit in python-html5lib/repos (3 files)

Jelle van der Waa jelle at nymeria.archlinux.org
Tue Sep 24 18:16:55 UTC 2013


    Date: Tuesday, September 24, 2013 @ 20:16:55
  Author: jelle
Revision: 97588

archrelease: copy trunk to community-any

Added:
  python-html5lib/repos/community-any/
  python-html5lib/repos/community-any/LICENSE
    (from rev 97587, python-html5lib/trunk/LICENSE)
  python-html5lib/repos/community-any/PKGBUILD
    (from rev 97587, python-html5lib/trunk/PKGBUILD)

----------+
 LICENSE  |   17 +++++++++++++++++
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

Copied: python-html5lib/repos/community-any/LICENSE (from rev 97587, python-html5lib/trunk/LICENSE)
===================================================================
--- community-any/LICENSE	                        (rev 0)
+++ community-any/LICENSE	2013-09-24 18:16:55 UTC (rev 97588)
@@ -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.

Copied: python-html5lib/repos/community-any/PKGBUILD (from rev 97587, python-html5lib/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2013-09-24 18:16:55 UTC (rev 97588)
@@ -0,0 +1,38 @@
+# 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.99
+pkgrel=1
+arch=('any')
+url="http://code.google.com/p/html5lib/"
+license=('MIT')
+makedepends=('python2' 'python' 'unzip')
+source=(https://github.com/html5lib/html5lib-python/archive/${pkgver}.tar.gz
+    LICENSE)
+md5sums=('da016c908db11950cd26bfcf53f95b03'
+         '838c366f69b72c5df05c96dff79b35f2')
+
+
+build() {
+    /bin/true
+}
+
+package_python-html5lib() {
+pkgdesc="A Python HTML parser/tokenizer based on the WHATWG HTML5 spec"
+depends=('python')
+    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')
+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  
+}




More information about the arch-commits mailing list