void-packages/srcpkgs/python-path/template

29 lines
770 B
Bash
Raw Normal View History

2015-02-19 09:17:56 +00:00
# Template file for 'python-path'
pkgname=python-path
2015-04-16 12:08:22 +00:00
version=7.3
2015-02-19 09:17:56 +00:00
revision=1
noarch=yes
wrksrc="path.py-${version}"
build_style="python-module"
python_versions="2.7 3.4"
hostmakedepends="unzip python-setuptools python3.4-setuptools"
depends="python"
pycompile_module="path.py"
short_desc="Python2 module wrapper for os.path"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/jaraco/path.py"
license="MIT"
distfiles="${PYPI_SITE}/p/path.py/path.py-${version}.zip"
2015-04-16 12:08:22 +00:00
checksum=f7d146f40768e3742199a5316fbe3eb6a6091b9feedcb4b969c7348dc03151e1
2015-02-19 09:17:56 +00:00
python3.4-path_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="path.py"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}