From 100a3e5712950bcbe90518f551c103ba530420e2 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Sat, 29 Sep 2018 13:03:31 +0200 Subject: [PATCH] python-path: update to 11.3.0 --- srcpkgs/python-path/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-path/template b/srcpkgs/python-path/template index 9ed3a97fc59..5ee33178e9a 100644 --- a/srcpkgs/python-path/template +++ b/srcpkgs/python-path/template @@ -1,6 +1,6 @@ # Template file for 'python-path' pkgname=python-path -version=11.1.0 +version=11.3.0 revision=1 noarch=yes wrksrc="path.py-${version}" @@ -13,12 +13,16 @@ maintainer="Alessio Sergi " homepage="https://github.com/jaraco/path.py" license="MIT" distfiles="${PYPI_SITE}/p/path.py/path.py-${version}.tar.gz" -checksum=cbcbb3ed71b42fb8df1bc7645ddde298817f1a51684c3f9b3101937bdb28ff79 +checksum=57febc9af44cf550d6ae24a665d7a043d944cae8580a8109b991e0bd2767a4d9 pre_build() { sed -e '/setuptools_scm/d' \ -e "s/use_scm_version=True,/version=\"${version}\",/" \ -i setup.py + + # importlib_metadata is an optional dependency, but declared as required. + sed -i '/importlib_metadata/d' setup.py + sed -i "s/unknown/${version}/" path.py } post_install() { vlicense LICENSE