[arch-commits] Commit in python-lxml/repos (4 files)
Felix Yan
fyan at archlinux.org
Fri Apr 17 04:29:46 UTC 2015
Date: Friday, April 17, 2015 @ 06:29:46
Author: fyan
Revision: 237265
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
python-lxml/repos/extra-i686/PKGBUILD
(from rev 237264, python-lxml/trunk/PKGBUILD)
python-lxml/repos/extra-x86_64/PKGBUILD
(from rev 237264, python-lxml/trunk/PKGBUILD)
Deleted:
python-lxml/repos/extra-i686/PKGBUILD
python-lxml/repos/extra-x86_64/PKGBUILD
-----------------------+
/PKGBUILD | 182 ++++++++++++++++++++++++++++++++++++++++++++++++
extra-i686/PKGBUILD | 90 -----------------------
extra-x86_64/PKGBUILD | 90 -----------------------
3 files changed, 182 insertions(+), 180 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2015-04-17 04:29:09 UTC (rev 237264)
+++ extra-i686/PKGBUILD 2015-04-17 04:29:46 UTC (rev 237265)
@@ -1,90 +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=3.4.2
-pkgrel=2
-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=('429e5e771c4be0798923c04cb9739b4e'
- 'SKIP')
-validpgpkeys=('1737D5FB8DACC53CA96A77AB0D3D536908D3A01E') # Stefan Behnel
-
-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
-}
Copied: python-lxml/repos/extra-i686/PKGBUILD (from rev 237264, python-lxml/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2015-04-17 04:29:46 UTC (rev 237265)
@@ -0,0 +1,91 @@
+# $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.3
+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=('e7742b309dd3756b0b9f1b09b8d2ab93'
+ 'SKIP')
+validpgpkeys=('1737D5FB8DACC53CA96A77AB0D3D536908D3A01E') # Stefan Behnel
+
+prepare() {
+ cp -a lxml-$pkgver{,-py2}
+}
+
+build() {
+ cd lxml-$pkgver
+ python setup.py build
+
+ cd ../lxml-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # 3.4.3 failed one test on Python 3 but it's irrelevant according to upstream: https://bugs.launchpad.net/lxml/+bug/1444818
+ # 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 || warning "Tests failed"
+ # 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 2015-04-17 04:29:09 UTC (rev 237264)
+++ extra-x86_64/PKGBUILD 2015-04-17 04:29:46 UTC (rev 237265)
@@ -1,90 +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=3.4.2
-pkgrel=2
-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=('429e5e771c4be0798923c04cb9739b4e'
- 'SKIP')
-validpgpkeys=('1737D5FB8DACC53CA96A77AB0D3D536908D3A01E') # Stefan Behnel
-
-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
-}
Copied: python-lxml/repos/extra-x86_64/PKGBUILD (from rev 237264, python-lxml/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2015-04-17 04:29:46 UTC (rev 237265)
@@ -0,0 +1,91 @@
+# $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.3
+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=('e7742b309dd3756b0b9f1b09b8d2ab93'
+ 'SKIP')
+validpgpkeys=('1737D5FB8DACC53CA96A77AB0D3D536908D3A01E') # Stefan Behnel
+
+prepare() {
+ cp -a lxml-$pkgver{,-py2}
+}
+
+build() {
+ cd lxml-$pkgver
+ python setup.py build
+
+ cd ../lxml-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # 3.4.3 failed one test on Python 3 but it's irrelevant according to upstream: https://bugs.launchpad.net/lxml/+bug/1444818
+ # 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 || warning "Tests failed"
+ # 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