mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 06:47:13 +08:00
31 lines
917 B
Bash
31 lines
917 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=python-lxml
|
|
pkgver=2.3.4
|
|
pkgrel=1
|
|
pkgdesc="Python binding for the libxml2 and libxslt libraries"
|
|
arch=('i686' 'x86_64')
|
|
license=('BSD' 'GPL' 'custom')
|
|
url="http://codespeak.net/lxml"
|
|
depends=('python2' 'libxslt')
|
|
optdepends=("beautiful-soup: support for parsing not well formed HTML")
|
|
source=(http://pypi.python.org/packages/source/l/lxml/lxml-${pkgver}.tar.gz)
|
|
md5sums=('61d4ad80726b984b35c9a81aa2510b4d')
|
|
|
|
build() {
|
|
/bin/true
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/lxml-$pkgver
|
|
|
|
python2 setup.py install --root=${pkgdir} --optimize=1
|
|
|
|
install -D -m644 LICENSES.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
|
|
install -D -m644 doc/licenses/BSD.txt ${pkgdir}/usr/share/licenses/$pkgname/BSD.txt
|
|
install -D -m644 doc/licenses/elementtree.txt ${pkgdir}/usr/share/licenses/$pkgname/elementtree.txt
|
|
}
|