diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/python-html5lib |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/python-html5lib')
-rw-r--r-- | community/python-html5lib/LICENSE | 17 | ||||
-rw-r--r-- | community/python-html5lib/PKGBUILD | 27 |
2 files changed, 44 insertions, 0 deletions
diff --git a/community/python-html5lib/LICENSE b/community/python-html5lib/LICENSE new file mode 100644 index 000000000..89de35479 --- /dev/null +++ b/community/python-html5lib/LICENSE @@ -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. diff --git a/community/python-html5lib/PKGBUILD b/community/python-html5lib/PKGBUILD new file mode 100644 index 000000000..bcd2f73b6 --- /dev/null +++ b/community/python-html5lib/PKGBUILD @@ -0,0 +1,27 @@ +# Contributor: Erol V. Aktay <e.aktay@gmail.com> +# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> + +pkgname=python-html5lib +pkgver=0.90 +pkgrel=1 +pkgdesc="A HTML parser/tokenizer based on the WHATWG HTML5 spec" +arch=('i686' 'x86_64') +url="http://code.google.com/p/html5lib/" +license=('MIT') +depends=('python2') +makedepends=('unzip' 'setuptools') +source=(http://html5lib.googlecode.com/files/html5lib-${pkgver}.zip + LICENSE) +md5sums=('691e6b9ebe15b333a28280974b2ce432' + '838c366f69b72c5df05c96dff79b35f2') + +build() { + /bin/true +} + +package() { + cd ${srcdir}/html5lib-${pkgver} + + python2 setup.py install --root=${pkgdir} + install -dm755 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |