summaryrefslogtreecommitdiff
path: root/user/py3-lxml/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-14 17:28:17 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-14 17:28:17 -0500
commit1fdd6e1d01436611217b6738fdc997e5af4a342b (patch)
tree7233fab85c1462915350a5cf30124f4d6438c290 /user/py3-lxml/APKBUILD
parentb7c1783e11101b34e7014a1bcdfd41f9673a6a10 (diff)
downloadpackages-1fdd6e1d01436611217b6738fdc997e5af4a342b.tar.gz
packages-1fdd6e1d01436611217b6738fdc997e5af4a342b.tar.bz2
packages-1fdd6e1d01436611217b6738fdc997e5af4a342b.tar.xz
packages-1fdd6e1d01436611217b6738fdc997e5af4a342b.zip
move consolekit2, py*, wine to user/
Diffstat (limited to 'user/py3-lxml/APKBUILD')
-rw-r--r--user/py3-lxml/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/user/py3-lxml/APKBUILD b/user/py3-lxml/APKBUILD
new file mode 100644
index 000000000..deb2064dc
--- /dev/null
+++ b/user/py3-lxml/APKBUILD
@@ -0,0 +1,27 @@
+# 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.1
+pkgrel=0
+pkgdesc="Python LXML Library"
+url="http://lxml.de/"
+arch="all"
+license="BSD-3-Clause"
+options="!check" # No test suite.
+makedepends="python3-dev libxml2-dev libxslt-dev py3-setuptools"
+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="17dfa309f1066ba2478cdc87b8ec018f99dd9d43dd088c458dcae83683dbde2f9c341f64dfeab4e1d1f341b8294e6168b24294bec21e393c4f4bf9513b271124 lxml-4.2.1.tar.gz"