From c5f50432dbae6ce97e98281c963b3cffc4149986 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 21 Apr 2017 14:46:51 +0200 Subject: [PATCH] python-path: update to 10.3.1 --- srcpkgs/python-path/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-path/template b/srcpkgs/python-path/template index c51be276b2..39a0f39141 100644 --- a/srcpkgs/python-path/template +++ b/srcpkgs/python-path/template @@ -1,6 +1,6 @@ # Template file for 'python-path' pkgname=python-path -version=10.1 +version=10.3.1 revision=1 noarch=yes wrksrc="path.py-${version}" @@ -13,13 +13,17 @@ maintainer="Alessio Sergi " homepage="https://github.com/jaraco/path.py" license="MIT" distfiles="${PYPI_SITE}/p/path.py/path.py-${version}.tar.gz" -checksum=8b0ee56f6c1421a9038823926ee8da354ce70933424b408558bc6b48496587f3 +checksum=412706be1cd8ab723c77829f9aa0c4d4b7c7b26c7b1be0275a6841c3cb1001e0 pre_build() { sed -e '/setuptools_scm/d' \ -e "s/use_scm_version=True,/version=\"${version}\",/" \ -i setup.py } +post_install() { + sed -n '/Copyright/,/SOFTWARE\./p' path.py >LICENSE + vlicense LICENSE +} python3-path_package() { noarch=yes @@ -29,6 +33,7 @@ python3-path_package() { short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* + vlicense LICENSE } } python3.4-path_package() {