python-path: update to 10.3.1
This commit is contained in:
parent
b21eed991d
commit
c5f50432db
1 changed files with 7 additions and 2 deletions
|
@ -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 <al3hex@gmail.com>"
|
|||
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() {
|
||||
|
|
Loading…
Reference in a new issue