[arch-commits] Commit in python-lxml/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Oct 18 20:36:37 UTC 2020


    Date: Sunday, October 18, 2020 @ 20:36:37
  Author: felixonmars
Revision: 398564

archrelease: copy trunk to extra-x86_64

Added:
  python-lxml/repos/extra-x86_64/PKGBUILD
    (from rev 398563, python-lxml/trunk/PKGBUILD)
Deleted:
  python-lxml/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |  194 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 97 insertions(+), 97 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-18 20:36:21 UTC (rev 398563)
+++ PKGBUILD	2020-10-18 20:36:37 UTC (rev 398564)
@@ -1,97 +0,0 @@
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-lxml
-pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs')
-pkgver=4.6.0
-pkgrel=1
-arch=('x86_64')
-license=('BSD' 'custom')
-url="https://lxml.de/"
-makedepends=('libxslt' 'python-setuptools' 'python2-setuptools' 'python-pygments'
-             'python-sphinx' 'python-sphinx_rtd_theme' 'cython' 'cython2')
-checkdepends=('python-cssselect' 'python2-cssselect' 'python-html5lib' 'python2-html5lib'
-              'python-beautifulsoup4' 'python2-beautifulsoup4')
-source=("https://github.com/lxml/lxml/archive/lxml-$pkgver.tar.gz")
-sha512sums=('b92403b68babac8112ec87989909eb03b75ad365bcd938daef11f4768e95d9bc7a53dae90882d22eeb51bc1a04ae47f8deac504e426b1751826575280655c19e')
-
-prepare() {
-  mv lxml-lxml-$pkgver lxml-$pkgver
-  cp -a lxml-$pkgver{,-py2}
-
-  # Setting LC_CTYPE to workaround encoding issue
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd "$srcdir"/lxml-$pkgver
-  python setup.py build
-  make html
-
-  cd "$srcdir"/lxml-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # TODO: Find a sane way to skip inplace build
-
-  cd "$srcdir"/lxml-$pkgver
-  make PYTHON=python test
-
-  cd "$srcdir"/lxml-$pkgver-py2
-  make PYTHON=python2 test
-}
-
-package_python-lxml() {
-  pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
-  depends=('python' 'libxslt')
-  optdepends=('python-beautifulsoup4: support for beautifulsoup parser to parse not well formed HTML'
-              'python-cssselect: support for cssselect'
-              'python-html5lib: support for html5lib parser'
-              'python-lxml-docs: offline docs')
-
-  cd lxml-$pkgver
-  python setup.py install --root="$pkgdir" --skip-build --optimize=1
-
-  install -Dm644 LICENSES.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -Dm644 doc/licenses/BSD.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/BSD.txt
-  install -Dm644 doc/licenses/elementtree.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/elementtree.txt
-}
-
-package_python2-lxml() {
-  pkgdesc="Python2 binding for the libxml2 and libxslt libraries"
-  depends=('python2' 'libxslt')
-  optdepends=('python2-beautifulsoup4: support for beautifulsoup parser to parse not well formed HTML'
-              'python2-cssselect: support for cssselect'
-              'python2-html5lib: support for html5lib parser'
-              'python-lxml-docs: offline docs')
-
-  cd lxml-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --skip-build --optimize=1
-
-  install -Dm644 LICENSES.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -Dm644 doc/licenses/BSD.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/BSD.txt
-  install -Dm644 doc/licenses/elementtree.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/elementtree.txt
-}
-
-package_python-lxml-docs() {
-  pkgdesc="Python binding for the libxml2 and libxslt libraries (docs)"
-  options=('docs')
-
-  cd lxml-$pkgver
-  install -d "$pkgdir"/usr/share/doc/$pkgbase
-  cp -r doc/html "$pkgdir"/usr/share/doc/$pkgbase
-
-  install -Dm644 LICENSES.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  install -Dm644 doc/licenses/BSD.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/BSD.txt
-  install -Dm644 doc/licenses/elementtree.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/elementtree.txt
-}

Copied: python-lxml/repos/extra-x86_64/PKGBUILD (from rev 398563, python-lxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-18 20:36:37 UTC (rev 398564)
@@ -0,0 +1,97 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-lxml
+pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs')
+pkgver=4.6.1
+pkgrel=1
+arch=('x86_64')
+license=('BSD' 'custom')
+url="https://lxml.de/"
+makedepends=('libxslt' 'python-setuptools' 'python2-setuptools' 'python-pygments'
+             'python-sphinx' 'python-sphinx_rtd_theme' 'cython' 'cython2')
+checkdepends=('python-cssselect' 'python2-cssselect' 'python-html5lib' 'python2-html5lib'
+              'python-beautifulsoup4' 'python2-beautifulsoup4')
+source=("https://github.com/lxml/lxml/archive/lxml-$pkgver.tar.gz")
+sha512sums=('3cc917e7535ac1be3db8939f72846313267c8b1f0adccc92a2155a160ed7299d0def718bdae1379e42398ca1b959b1130505597febca00f02cb87c8666f1f1c3')
+
+prepare() {
+  mv lxml-lxml-$pkgver lxml-$pkgver
+  cp -a lxml-$pkgver{,-py2}
+
+  # Setting LC_CTYPE to workaround encoding issue
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd "$srcdir"/lxml-$pkgver
+  python setup.py build
+  make html
+
+  cd "$srcdir"/lxml-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # TODO: Find a sane way to skip inplace build
+
+  cd "$srcdir"/lxml-$pkgver
+  make PYTHON=python test
+
+  cd "$srcdir"/lxml-$pkgver-py2
+  make PYTHON=python2 test
+}
+
+package_python-lxml() {
+  pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
+  depends=('python' 'libxslt')
+  optdepends=('python-beautifulsoup4: support for beautifulsoup parser to parse not well formed HTML'
+              'python-cssselect: support for cssselect'
+              'python-html5lib: support for html5lib parser'
+              'python-lxml-docs: offline docs')
+
+  cd lxml-$pkgver
+  python setup.py install --root="$pkgdir" --skip-build --optimize=1
+
+  install -Dm644 LICENSES.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 doc/licenses/BSD.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/BSD.txt
+  install -Dm644 doc/licenses/elementtree.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/elementtree.txt
+}
+
+package_python2-lxml() {
+  pkgdesc="Python2 binding for the libxml2 and libxslt libraries"
+  depends=('python2' 'libxslt')
+  optdepends=('python2-beautifulsoup4: support for beautifulsoup parser to parse not well formed HTML'
+              'python2-cssselect: support for cssselect'
+              'python2-html5lib: support for html5lib parser'
+              'python-lxml-docs: offline docs')
+
+  cd lxml-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --skip-build --optimize=1
+
+  install -Dm644 LICENSES.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 doc/licenses/BSD.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/BSD.txt
+  install -Dm644 doc/licenses/elementtree.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/elementtree.txt
+}
+
+package_python-lxml-docs() {
+  pkgdesc="Python binding for the libxml2 and libxslt libraries (docs)"
+  options=('docs')
+
+  cd lxml-$pkgver
+  install -d "$pkgdir"/usr/share/doc/$pkgbase
+  cp -r doc/html "$pkgdir"/usr/share/doc/$pkgbase
+
+  install -Dm644 LICENSES.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 doc/licenses/BSD.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/BSD.txt
+  install -Dm644 doc/licenses/elementtree.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/elementtree.txt
+}



More information about the arch-commits mailing list