28 lines
770 B
Text
28 lines
770 B
Text
# Template file for 'python-path'
|
|
pkgname=python-path
|
|
version=7.2
|
|
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"
|
|
checksum=5e2330895ff3a7873c90cf2600da51b0baae0a3d5fd3ce47d22b32b15db65e1f
|
|
|
|
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
|
|
}
|
|
}
|