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

Felix Yan felixonmars at archlinux.org
Sat Aug 4 14:21:27 UTC 2018


    Date: Saturday, August 4, 2018 @ 14:21:26
  Author: felixonmars
Revision: 330510

archrelease: copy trunk to testing-x86_64

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

----------+
 PKGBUILD |  196 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 98 insertions(+), 98 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-04 14:21:10 UTC (rev 330509)
+++ PKGBUILD	2018-08-04 14:21:26 UTC (rev 330510)
@@ -1,98 +0,0 @@
-# $Id$
-# 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.2.3
-pkgrel=2
-arch=('x86_64')
-license=('BSD' 'custom')
-url="http://lxml.de/"
-makedepends=('libxslt' 'python-setuptools' 'python2-setuptools' 'epydoc' 'python2-pygments'
-             'python2-docutils' '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=('87dcf2cf62b4bda6573f92d88de332c23a5d5e7defb97f0d581dc9707f506d17d038fd420f1a4b88939f78943649fd00bd1e5b321b132096c07e4e72afeb26c3')
-
-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
-
-  cd "$srcdir"/lxml-$pkgver-py2
-  python2 setup.py build
-  make PYTHON=python2 html
-}
-
-check() {
-  # TODO: Find a sane way to skip inplace build
-
-  cd "$srcdir"/lxml-$pkgver
-  make PYTHON=python test || warning "Tests failed"
-
-  cd "$srcdir"/lxml-$pkgver-py2
-  make PYTHON=python2 test || warning "Tests failed"
-}
-
-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-py2
-  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/testing-x86_64/PKGBUILD (from rev 330509, python-lxml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-04 14:21:26 UTC (rev 330510)
@@ -0,0 +1,98 @@
+# $Id$
+# 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.2.4
+pkgrel=1
+arch=('x86_64')
+license=('BSD' 'custom')
+url="http://lxml.de/"
+makedepends=('libxslt' 'python-setuptools' 'python2-setuptools' 'epydoc' 'python2-pygments'
+             'python2-docutils' '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=('197dde2fb217bb99c30c2b92a63981cd817e558f38b2af2be20e9b6b763159310bbe47cf1b380d57c5a1d13331d17ac75d93258f464573639a9bc0fcd511874e')
+
+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
+
+  cd "$srcdir"/lxml-$pkgver-py2
+  python2 setup.py build
+  make PYTHON=python2 html
+}
+
+check() {
+  # TODO: Find a sane way to skip inplace build
+
+  cd "$srcdir"/lxml-$pkgver
+  make PYTHON=python test || warning "Tests failed"
+
+  cd "$srcdir"/lxml-$pkgver-py2
+  make PYTHON=python2 test || warning "Tests failed"
+}
+
+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-py2
+  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