python-path: update to 11.3.0
This commit is contained in:
parent
d228d89747
commit
100a3e5712
1 changed files with 6 additions and 2 deletions
|
@ -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 <al3hex@gmail.com>"
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue