void-packages/srcpkgs/python-path/template

29 lines
775 B
Bash
Raw Normal View History

2015-02-19 10:17:56 +01:00
# Template file for 'python-path'
pkgname=python-path
2015-08-15 02:20:00 +02:00
version=7.6
2015-02-19 10:17:56 +01:00
revision=1
noarch=yes
wrksrc="path.py-${version}"
build_style="python-module"
python_versions="2.7 3.4"
2015-08-15 02:20:00 +02:00
hostmakedepends="python-setuptools_scm python3.4-setuptools_scm"
2015-02-19 10:17:56 +01:00
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"
2015-07-14 00:40:00 +02:00
distfiles="${PYPI_SITE}/p/path.py/path.py-${version}.tar.gz"
2015-08-15 02:20:00 +02:00
checksum=5cdf60f359f1add18f8556c9a1855cbd1d517f0780e3d386c256515f698ba0e0
2015-02-19 10:17:56 +01: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
}
}