[arch-commits] Commit in python-lxml/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 30 18:16:56 UTC 2021
Date: Thursday, December 30, 2021 @ 18:16:55
Author: felixonmars
Revision: 433260
archrelease: copy trunk to extra-x86_64
Added:
python-lxml/repos/extra-x86_64/PKGBUILD
(from rev 433259, 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-12-30 18:16:47 UTC (rev 433259)
+++ PKGBUILD 2021-12-30 18:16:55 UTC (rev 433260)
@@ -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.4
-pkgrel=3
-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
-}
Copied: python-lxml/repos/extra-x86_64/PKGBUILD (from rev 433259, python-lxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-30 18:16:55 UTC (rev 433260)
@@ -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.5
+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=('6354c1ef0c2e371142107b4bc9085dbde27378d819f2773656e4a6c017c34d6ce1501df42b1ccd524d10ed75032f8a3c8233e38e6908f521dcef5ace091480fc')
+
+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