From aee81609ca7f851532298d78152af6d1d5f6143b Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sun, 23 Oct 2016 11:03:00 +0200 Subject: [PATCH] python-uritemplate: update to 3.0.0 Upstream moved to https://github.com/sigmavirus24/uritemplate. Now dual licensed Apache-2.0 and BSD. --- srcpkgs/python-uritemplate/template | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python-uritemplate/template b/srcpkgs/python-uritemplate/template index 3ac85679735..7228aa842e1 100644 --- a/srcpkgs/python-uritemplate/template +++ b/srcpkgs/python-uritemplate/template @@ -1,7 +1,7 @@ # Template file for 'python-uritemplate' pkgname=python-uritemplate -version=0.6 -revision=2 +version=3.0.0 +revision=1 noarch=yes wrksrc="${pkgname#*-}-${version}" build_style=python-module @@ -10,10 +10,14 @@ hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Python2 implementation of RFC6570 URI Template" maintainer="Peter Bui " -license="Apache-2.0" -homepage="https://github.com/uri-templates/uritemplate-py/" +license="Apache-2.0, 3-clause-BSD" +homepage="https://github.com/sigmavirus24/uritemplate" distfiles="${PYPI_SITE}/u/uritemplate/uritemplate-${version}.tar.gz" -checksum=a30e230aeb7ebedbcb5da9999a17fa8a30e512e6d5b06f73d47c6e03c8e357fd +checksum=c02643cebe23fc8adb5e6becffe201185bf06c40bda5c0b4028a93f1527d011d + +post_install() { + vlicense LICENSE +} python3-uritemplate_package() { noarch=yes @@ -23,6 +27,7 @@ python3-uritemplate_package() { short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* + vlicense LICENSE } } python3.4-uritemplate_package() {