Date: Friday, April 4, 2014 @ 06:29:43 Author: fyan Revision: 209777 archrelease: copy trunk to extra-i686, extra-x86_64
Added: python-lxml/repos/extra-i686/PKGBUILD (from rev 209776, python-lxml/trunk/PKGBUILD) python-lxml/repos/extra-x86_64/PKGBUILD (from rev 209776, python-lxml/trunk/PKGBUILD) Deleted: python-lxml/repos/extra-i686/PKGBUILD python-lxml/repos/extra-x86_64/PKGBUILD -----------------------+ /PKGBUILD | 142 ++++++++++++++++++++++++++++++++++++++++++++++++ extra-i686/PKGBUILD | 69 ----------------------- extra-x86_64/PKGBUILD | 69 ----------------------- 3 files changed, 142 insertions(+), 138 deletions(-) Deleted: extra-i686/PKGBUILD =================================================================== --- extra-i686/PKGBUILD 2014-04-04 04:27:59 UTC (rev 209776) +++ extra-i686/PKGBUILD 2014-04-04 04:29:43 UTC (rev 209777) @@ -1,69 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez <an...@archlinux.org> -pkgbase=python-lxml -pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs') -pkgver=3.3.3 -pkgrel=2 -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=('f2675837b4358a5ecab5fd9a783fd0e5' - '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 209776, python-lxml/trunk/PKGBUILD) =================================================================== --- extra-i686/PKGBUILD (rev 0) +++ extra-i686/PKGBUILD 2014-04-04 04:29:43 UTC (rev 209777) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@gmail.com> + +pkgbase=python-lxml +pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs') +pkgver=3.3.4 +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=('79e7b190563bf280c50ec20087f40dfa' + '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 +} Deleted: extra-x86_64/PKGBUILD =================================================================== --- extra-x86_64/PKGBUILD 2014-04-04 04:27:59 UTC (rev 209776) +++ extra-x86_64/PKGBUILD 2014-04-04 04:29:43 UTC (rev 209777) @@ -1,69 +0,0 @@ -# $Id$ -# Maintainer: Angel Velasquez <an...@archlinux.org> -pkgbase=python-lxml -pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs') -pkgver=3.3.3 -pkgrel=2 -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=('f2675837b4358a5ecab5fd9a783fd0e5' - '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 209776, python-lxml/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2014-04-04 04:29:43 UTC (rev 209777) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@gmail.com> + +pkgbase=python-lxml +pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs') +pkgver=3.3.4 +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=('79e7b190563bf280c50ec20087f40dfa' + '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 +}