[arch-commits] Commit in python-lxml/repos/staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 15:21:29 UTC 2021
Date: Thursday, December 2, 2021 @ 15:21:29
Author: felixonmars
Revision: 430306
archrelease: copy trunk to staging-x86_64
Added:
python-lxml/repos/staging-x86_64/PKGBUILD
(from rev 430305, python-lxml/trunk/PKGBUILD)
Deleted:
python-lxml/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 140 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 70 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 15:21:25 UTC (rev 430305)
+++ PKGBUILD 2021-12-02 15:21:29 UTC (rev 430306)
@@ -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=2
-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/staging-x86_64/PKGBUILD (from rev 430305, python-lxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 15:21:29 UTC (rev 430306)
@@ -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=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
+}
More information about the arch-commits
mailing list