python-path: update to 8.1.1

This commit is contained in:
Alessio Sergi 2015-09-13 13:00:00 +02:00
parent 759d665a3f
commit 3082ae7073

View File

@ -1,12 +1,12 @@
# Template file for 'python-path' # Template file for 'python-path'
pkgname=python-path pkgname=python-path
version=7.7.1 version=8.1.1
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="path.py-${version}" wrksrc="path.py-${version}"
build_style=python-module build_style=python-module
python_versions="2.7 3.4" python_versions="2.7 3.4"
hostmakedepends="python-setuptools_scm python3.4-setuptools_scm" hostmakedepends="python-setuptools python3.4-setuptools"
depends="python" depends="python"
pycompile_module="path.py" pycompile_module="path.py"
short_desc="Python2 module wrapper for os.path" short_desc="Python2 module wrapper for os.path"
@ -14,7 +14,13 @@ 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=692feac9d1fe3b70239b2f0f07dcdbbdad38e3611846924de33ec6175d87638e checksum=2e109f902aed4a7999d465e4ec8456c1112e657840520c5bc7104fb7050d1add
pre_build() {
sed -e '/setuptools_scm/d' \
-e "s/use_scm_version=True,/version=\"${version}\",/" \
-i setup.py
}
python3.4-path_package() { python3.4-path_package() {
noarch=yes noarch=yes