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

Felix Yan felixonmars at gemini.archlinux.org
Mon Nov 8 16:09:57 UTC 2021


    Date: Monday, November 8, 2021 @ 16:09:57
  Author: felixonmars
Revision: 427518

archrelease: copy trunk to extra-x86_64

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

----------+
 PKGBUILD |  140 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 70 insertions(+), 70 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-08 16:09:36 UTC (rev 427517)
+++ PKGBUILD	2021-11-08 16:09:57 UTC (rev 427518)
@@ -1,70 +0,0 @@
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-lxml
-pkgname=('python-lxml' 'python-lxml-docs')
-pkgver=4.6.3
-pkgrel=1
-pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
-arch=('x86_64')
-license=('BSD' 'custom')
-url="https://lxml.de/"
-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')
-makedepends=('python-setuptools' 'python-pygments' 'python-sphinx' 'python-sphinx_rtd_theme'
-             'cython')
-checkdepends=('python-cssselect' 'python-html5lib' 'python-beautifulsoup4')
-source=("https://github.com/lxml/lxml/archive/lxml-$pkgver.tar.gz")
-sha512sums=('50e42d6269dc45b4c0ab3285c49307f8bee87fcc4b9e0f531e1ee37bcf83c5938b7e361f906a3158fac8df89a79b932dd64a8839455e45f45f3a5f0ba73ff6a5')
-
-prepare() {
-  mv lxml-lxml-$pkgver lxml-$pkgver
-
-  # Setting LC_CTYPE to workaround encoding issue
-  export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
-  cd lxml-$pkgver
-  python setup.py build
-  make html
-}
-
-check() {
-  # TODO: Find a sane way to skip inplace build
-
-  cd lxml-$pkgver
-  make PYTHON=python test
-}
-
-package_python-lxml() {
-  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_python-lxml-docs() {
-  pkgdesc="Python binding for the libxml2 and libxslt libraries (docs)"
-  depends=()
-  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 427517, python-lxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-08 16:09:57 UTC (rev 427518)
@@ -0,0 +1,70 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-lxml
+pkgname=('python-lxml' 'python-lxml-docs')
+pkgver=4.6.4
+pkgrel=1
+pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
+arch=('x86_64')
+license=('BSD' 'custom')
+url="https://lxml.de/"
+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')
+makedepends=('python-setuptools' 'python-pygments' 'python-sphinx' 'python-sphinx_rtd_theme'
+             'cython')
+checkdepends=('python-cssselect' 'python-html5lib' 'python-beautifulsoup4')
+source=("https://github.com/lxml/lxml/archive/lxml-$pkgver.tar.gz")
+sha512sums=('4e62b7c9ceec47f490136e86e9875aae3f3dccd0ee5e504f8128c62cdb111e00e64ee35678028438b87d32253fdeb8e1184d4017b56e06dfbc93cd0e8736101f')
+
+prepare() {
+  mv lxml-lxml-$pkgver lxml-$pkgver
+
+  # Setting LC_CTYPE to workaround encoding issue
+  export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+  cd lxml-$pkgver
+  python setup.py build
+  make html
+}
+
+check() {
+  # TODO: Find a sane way to skip inplace build
+
+  cd lxml-$pkgver
+  make PYTHON=python test
+}
+
+package_python-lxml() {
+  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_python-lxml-docs() {
+  pkgdesc="Python binding for the libxml2 and libxslt libraries (docs)"
+  depends=()
+  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