[arch-commits] Commit in python-html5lib-7-9s (repos trunk trunk/PKGBUILD)

Johannes Löthberg demize at archlinux.org
Fri Jan 20 14:22:04 UTC 2017


    Date: Friday, January 20, 2017 @ 14:22:04
  Author: demize
Revision: 208127

python-html5lib-7-9s: Import PKGBUILd

Added:
  python-html5lib-7-9s/repos/
  python-html5lib-7-9s/trunk/
  python-html5lib-7-9s/trunk/PKGBUILD

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

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2017-01-20 14:22:04 UTC (rev 208127)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Erol V. Aktay <e.aktay at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Philipp A. <flying-sheep at web.de>
+
+pkgbase=python-html5lib-7-9s
+pkgname=(python-html5lib-7-9s python2-html5lib-7-9s)
+pkgver=0.9999999
+pkgrel=2
+
+pkgdesc="Python HTML parser/tokenizer based on the WHATWG HTML5 spec (v0.9999999)"
+url="https://github.com/html5lib"
+arch=('any')
+license=('MIT')
+
+makedepends=('python'
+             'python-setuptools'
+             'python-webencodings'
+             'python2'
+             'python2-setuptools'
+             'python2-webencodings')
+checkdepends=('python-six'
+              'python-pytest'
+              'python-mock'
+              'python-lxml'
+              'python2-lxml')
+
+source=("python-html5lib-$pkgver.tar.gz::https://github.com/html5lib/html5lib-python/archive/$pkgver.tar.gz")
+
+md5sums=('2ca78b1ec5852779bc121a97da6e8d4d')
+
+prepare() {
+	cp -a html5lib-python-$pkgver{,-python2}
+}
+
+package_python-html5lib-7-9s() {
+	depends=('python-webencodings')
+	provides=("python-html5lib=$pkgver")
+	conflicts=("python-html5lib")
+
+	cd html5lib-python-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1
+	install -Dm755 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-html5lib-7-9s() {
+	depends=('python2-webencodings')
+	provides=("python2-html5lib=$pkgver")
+	conflicts=("python2-html5lib")
+
+	cd html5lib-python-$pkgver-python2
+	python2 setup.py install --root="$pkgdir" --optimize=1
+	install -Dm755 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


Property changes on: python-html5lib-7-9s/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list