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

Eli Schwartz eschwartz at archlinux.org
Tue Jun 4 06:10:16 UTC 2019


    Date: Tuesday, June 4, 2019 @ 06:10:15
  Author: eschwartz
Revision: 476829

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-04 06:10:02 UTC (rev 476828)
+++ PKGBUILD	2019-06-04 06:10:15 UTC (rev 476829)
@@ -1,51 +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.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
-}

Copied: python-html5-parser/repos/community-x86_64/PKGBUILD (from rev 476828, python-html5-parser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-04 06:10:15 UTC (rev 476829)
@@ -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.7
+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=('2351b3628231bbca4dbcc824ce91e0c7bf0e39f5a83c9740f1005534944bfabf'
+            'SKIP')
+b2sums=('075e5f7d5286748267eacd6afa67f2f4fa7b79294c35fed4e66a632f08cb5bfd8954ce98add162d6379952e53624d7d5fd9e5011a8d7520152b8601396efae08'
+        'SKIP')
+validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <kovid at kovidgoyal.net>
+
+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