[arch-commits] Commit in python-html5-parser/repos/community-x86_64 (2 files)
Eli Schwartz
eschwartz at archlinux.org
Mon Apr 23 11:20:38 UTC 2018
Date: Monday, April 23, 2018 @ 11:20:37
Author: eschwartz
Revision: 317372
archrelease: copy trunk to community-x86_64
Added:
python-html5-parser/repos/community-x86_64/PKGBUILD
(from rev 317371, python-html5-parser/trunk/PKGBUILD)
Deleted:
python-html5-parser/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-23 11:20:13 UTC (rev 317371)
+++ PKGBUILD 2018-04-23 11:20:37 UTC (rev 317372)
@@ -1,49 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Contributor: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=html5-parser
-pkgbase='python-html5-parser'
-pkgname=('python-html5-parser' 'python2-html5-parser')
-pkgver=0.4.4
-pkgrel=1
-pkgdesc="Fast C based HTML 5 parsing for python"
-arch=('i686' 'x86_64')
-url="https://github.com/kovidgoyal/${_pkgname}"
-license=('Apache')
-checkdepends=('python-beautifulsoup4' 'python2-beautifulsoup4')
-makedepends=('python-chardet' 'python-lxml' 'python-setuptools'
- 'python2-chardet' 'python2-lxml' 'python2-setuptools')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
-sha256sums=('b9f3a1d4cdb8742e8e4ecafab04bff541bde4ff09af233293ed0b94028ec1ab5'
- 'SKIP')
-validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C')
-
-build() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
-
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd "${srcdir}/${_pkgname}-${pkgver}"
-
- python setup.py test
- python2 setup.py test
-}
-
-package_python-html5-parser() {
- depends=('python-chardet' 'python-lxml')
- optdepends=('python-beautifulsoup4: to use the soup treebuilder')
-
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
-
-package_python2-html5-parser() {
- depends=('python2-chardet' 'python2-lxml')
- optdepends=('python2-beautifulsoup4: to use the soup treebuilder')
-
- cd "${srcdir}/${_pkgname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
Copied: python-html5-parser/repos/community-x86_64/PKGBUILD (from rev 317371, python-html5-parser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-23 11:20:37 UTC (rev 317372)
@@ -0,0 +1,49 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=html5-parser
+pkgbase='python-html5-parser'
+pkgname=('python-html5-parser' 'python2-html5-parser')
+pkgver=0.4.5
+pkgrel=1
+pkgdesc="Fast C based HTML 5 parsing for python"
+arch=('x86_64')
+url="https://github.com/kovidgoyal/${_pkgname}"
+license=('Apache')
+checkdepends=('python-beautifulsoup4' 'python2-beautifulsoup4')
+makedepends=('python-chardet' 'python-lxml' 'python-setuptools'
+ 'python2-chardet' 'python2-lxml' 'python2-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('a903ef8b93b51788a6d1604b3833303e9f2f8db488306ee4241436d2f518bd06'
+ 'SKIP')
+validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+
+ python setup.py test
+ python2 setup.py test
+}
+
+package_python-html5-parser() {
+ depends=('python-chardet' 'python-lxml')
+ optdepends=('python-beautifulsoup4: to use the soup treebuilder')
+
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+package_python2-html5-parser() {
+ depends=('python2-chardet' 'python2-lxml')
+ optdepends=('python2-beautifulsoup4: to use the soup treebuilder')
+
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list