summaryrefslogblamecommitdiff
path: root/user/py3-lxml/APKBUILD
blob: 3f10c708ba4f06ea6b30f3cc02c34e46d1a07a5d (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                           
            

                             
                      


                                  
                                                 












                                                                                                          
                                                                                                                                                                
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-lxml
_pkgname=lxml
pkgver=4.2.4
pkgrel=0
pkgdesc="Python LXML Library"
url="https://lxml.de/"
arch="all"
license="BSD-3-Clause"
options="!check"  # No test suite.
makedepends="python3-dev libxml2-dev libxslt-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="fdbc0f15c20047d2e6ee616f73f84b57e1effcecb009cbd90e16f405e3a4e12cc320a0eb31782922d934441580870991331f9a2f1ce6a319be8bf7b92312319f  lxml-4.2.4.tar.gz"