[arch-commits] Commit in python-lxml/repos (4 files)

Felix Yan fyan at archlinux.org
Fri Nov 21 03:44:18 UTC 2014


    Date: Friday, November 21, 2014 @ 04:44:18
  Author: fyan
Revision: 226769

archrelease: copy trunk to extra-i686, extra-x86_64

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

-----------------------+
 /PKGBUILD             |  178 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD   |   71 -------------------
 extra-x86_64/PKGBUILD |   71 -------------------
 3 files changed, 178 insertions(+), 142 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2014-11-21 03:41:13 UTC (rev 226768)
+++ extra-i686/PKGBUILD	2014-11-21 03:44:18 UTC (rev 226769)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-
-pkgbase=python-lxml
-pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs')
-pkgver=3.4.0
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('BSD' 'custom')
-url="http://lxml.de/"
-makedepends=('python2' 'python' 'libxslt' 'python-cssselect' 'python2-cssselect')
-source=(http://pypi.python.org/packages/source/l/lxml/lxml-${pkgver}.tar.gz{,.asc})
-md5sums=('bc90cc4e4ee04e1f8290ae0f70e34eea'
-         'SKIP')
-
-check() {
-  cd lxml-$pkgver
-  # Workaround encoding issue
-  LANG=en_US.UTF-8 make PYTHON=python2 test
-  LANG=en_US.UTF-8 make PYTHON=python test
-}
-
-package_python2-lxml() {
-  pkgdesc="Python2 binding for the libxml2 and libxslt libraries"
-  depends=('python2' 'libxslt')
-  optdepends=('python2-beautifulsoup3: support for parsing not well formed HTML'
-              'python-lxml-docs: offline docs')
-
-  cd lxml-$pkgver
-  python2 setup.py install --root="${pkgdir}" --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() {
-  pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
-  depends=('python' 'libxslt')
-  optdepends=('python-lxml-docs: offline docs')
-
-  cd lxml-$pkgver
-  python setup.py install --root="${pkgdir}" --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-i686/PKGBUILD (from rev 226768, python-lxml/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2014-11-21 03:44:18 UTC (rev 226769)
@@ -0,0 +1,89 @@
+# $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=3.4.1
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('BSD' 'custom')
+url="http://lxml.de/"
+makedepends=('libxslt' 'python-cssselect' 'python2-cssselect')
+source=(http://pypi.python.org/packages/source/l/lxml/lxml-${pkgver}.tar.gz{,.asc})
+md5sums=('b7696a3f33d5610b215a343216ab5624'
+         'SKIP')
+
+prepare() {
+  cp -a lxml-$pkgver{,-py2}
+}
+
+build() {
+  cd lxml-$pkgver
+  python setup.py build
+
+  cd ../lxml-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Setting LANG to workaround encoding issue
+  # TODO: Find a sane way to skip inplace build
+
+  cd lxml-$pkgver
+  LANG=en_US.UTF-8 make PYTHON=python test
+  # PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.4:$PYTHONPATH" python test.py -p -v
+
+  cd ../lxml-$pkgver-py2
+  LANG=en_US.UTF-8 make PYTHON=python2 test
+  # PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 test.py -p -v
+}
+
+package_python2-lxml() {
+  pkgdesc="Python2 binding for the libxml2 and libxslt libraries"
+  depends=('python2' 'libxslt')
+  optdepends=('python2-beautifulsoup3: support for parsing not well formed HTML'
+              '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() {
+  pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
+  depends=('python' 'libxslt')
+  optdepends=('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_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
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2014-11-21 03:41:13 UTC (rev 226768)
+++ extra-x86_64/PKGBUILD	2014-11-21 03:44:18 UTC (rev 226769)
@@ -1,71 +0,0 @@
-# $Id$
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-
-pkgbase=python-lxml
-pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs')
-pkgver=3.4.0
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('BSD' 'custom')
-url="http://lxml.de/"
-makedepends=('python2' 'python' 'libxslt' 'python-cssselect' 'python2-cssselect')
-source=(http://pypi.python.org/packages/source/l/lxml/lxml-${pkgver}.tar.gz{,.asc})
-md5sums=('bc90cc4e4ee04e1f8290ae0f70e34eea'
-         'SKIP')
-
-check() {
-  cd lxml-$pkgver
-  # Workaround encoding issue
-  LANG=en_US.UTF-8 make PYTHON=python2 test
-  LANG=en_US.UTF-8 make PYTHON=python test
-}
-
-package_python2-lxml() {
-  pkgdesc="Python2 binding for the libxml2 and libxslt libraries"
-  depends=('python2' 'libxslt')
-  optdepends=('python2-beautifulsoup3: support for parsing not well formed HTML'
-              'python-lxml-docs: offline docs')
-
-  cd lxml-$pkgver
-  python2 setup.py install --root="${pkgdir}" --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() {
-  pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
-  depends=('python' 'libxslt')
-  optdepends=('python-lxml-docs: offline docs')
-
-  cd lxml-$pkgver
-  python setup.py install --root="${pkgdir}" --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 226768, python-lxml/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2014-11-21 03:44:18 UTC (rev 226769)
@@ -0,0 +1,89 @@
+# $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=3.4.1
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('BSD' 'custom')
+url="http://lxml.de/"
+makedepends=('libxslt' 'python-cssselect' 'python2-cssselect')
+source=(http://pypi.python.org/packages/source/l/lxml/lxml-${pkgver}.tar.gz{,.asc})
+md5sums=('b7696a3f33d5610b215a343216ab5624'
+         'SKIP')
+
+prepare() {
+  cp -a lxml-$pkgver{,-py2}
+}
+
+build() {
+  cd lxml-$pkgver
+  python setup.py build
+
+  cd ../lxml-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Setting LANG to workaround encoding issue
+  # TODO: Find a sane way to skip inplace build
+
+  cd lxml-$pkgver
+  LANG=en_US.UTF-8 make PYTHON=python test
+  # PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.4:$PYTHONPATH" python test.py -p -v
+
+  cd ../lxml-$pkgver-py2
+  LANG=en_US.UTF-8 make PYTHON=python2 test
+  # PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" python2 test.py -p -v
+}
+
+package_python2-lxml() {
+  pkgdesc="Python2 binding for the libxml2 and libxslt libraries"
+  depends=('python2' 'libxslt')
+  optdepends=('python2-beautifulsoup3: support for parsing not well formed HTML'
+              '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() {
+  pkgdesc="Python3 binding for the libxml2 and libxslt libraries"
+  depends=('python' 'libxslt')
+  optdepends=('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_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