[arch-commits] Commit in python-html5-parser/repos/community-x86_64 (2 files)

Eli Schwartz eschwartz at archlinux.org
Mon May 13 14:11:22 UTC 2019


    Date: Monday, May 13, 2019 @ 14:11:22
  Author: eschwartz
Revision: 467137

archrelease: copy trunk to community-x86_64

Added:
  python-html5-parser/repos/community-x86_64/PKGBUILD
    (from rev 467136, python-html5-parser/trunk/PKGBUILD)
Deleted:
  python-html5-parser/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 51 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-13 14:11:10 UTC (rev 467136)
+++ PKGBUILD	2019-05-13 14:11:22 UTC (rev 467137)
@@ -1,49 +0,0 @@
-# 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=3
-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
-}

Copied: python-html5-parser/repos/community-x86_64/PKGBUILD (from rev 467136, python-html5-parser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-13 14:11:22 UTC (rev 467137)
@@ -0,0 +1,51 @@
+# 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.6
+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=('45551d9668e230555090ee52917e08b2f78017c8dce37e0e8d922246cbe4ac5f'
+            'SKIP')
+b2sums=('96cd842aa0a1ae87e47390354e92c2ec4635e82c39bfc274a16df54136820c3f86395da9cb3f6c25e2dd0df75a118b05012330248c840e8c25744e47b4d2a2ca'
+        '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