From bb61c53b8daf0d2fb0df255218259830fa76175f Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 11 Dec 2016 12:47:00 +0100 Subject: [PATCH] python-lxml: update to 3.7.0 --- srcpkgs/python-lxml/template | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/srcpkgs/python-lxml/template b/srcpkgs/python-lxml/template index d3f79c03f52..55e5bc61691 100644 --- a/srcpkgs/python-lxml/template +++ b/srcpkgs/python-lxml/template @@ -1,18 +1,23 @@ # Template file for 'python-lxml' pkgname=python-lxml -version=3.6.4 -revision=2 -wrksrc="lxml-${version}" +version=3.7.0 +revision=1 +wrksrc="lxml-lxml-${version}" build_style=python-module -hostmakedepends="python-setuptools python3-setuptools libxslt-devel" +hostmakedepends="python-setuptools python3-setuptools + python-Cython python3-Cython libxslt-devel" makedepends="python-devel python3-devel libxslt-devel" pycompile_module="lxml" short_desc="Python2 binding for the libxml2 and libxslt libraries" maintainer="Juan RP " homepage="http://lxml.de/" -license="BSD, ElementTree, GPL-2, ZPL" -distfiles="${PYPI_SITE}/l/lxml/lxml-${version}.tar.gz" -checksum=61d5d3e00b5821e6cda099b3b4ccfea4527bf7c595e0fb3a7a760490cedd6172 +license="3-clause-BSD, ElementTree, GPL-2, ZPL-2.0" +distfiles="https://github.com/lxml/lxml/archive/lxml-${version}.tar.gz" +checksum=0a7ae0cb94e82134f524798696249bf7f1ce8a782eebbd5902cbc4a91a0cb01c + +post_install() { + vlicense LICENSES.txt LICENSES +} python3-lxml_package() { replaces="python3.4-lxml>=0" @@ -20,6 +25,7 @@ python3-lxml_package() { short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* + vlicense LICENSES.txt LICENSES } } python3.4-lxml_package() {