python-path: update to 11.3.0
This commit is contained in:
parent
d228d89747
commit
100a3e5712
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-path'
|
# Template file for 'python-path'
|
||||||
pkgname=python-path
|
pkgname=python-path
|
||||||
version=11.1.0
|
version=11.3.0
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="path.py-${version}"
|
wrksrc="path.py-${version}"
|
||||||
|
@ -13,12 +13,16 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://github.com/jaraco/path.py"
|
homepage="https://github.com/jaraco/path.py"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/p/path.py/path.py-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/path.py/path.py-${version}.tar.gz"
|
||||||
checksum=cbcbb3ed71b42fb8df1bc7645ddde298817f1a51684c3f9b3101937bdb28ff79
|
checksum=57febc9af44cf550d6ae24a665d7a043d944cae8580a8109b991e0bd2767a4d9
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -e '/setuptools_scm/d' \
|
sed -e '/setuptools_scm/d' \
|
||||||
-e "s/use_scm_version=True,/version=\"${version}\",/" \
|
-e "s/use_scm_version=True,/version=\"${version}\",/" \
|
||||||
-i setup.py
|
-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() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user