33 lines
834 B
Text
33 lines
834 B
Text
# Template file for 'python-six'
|
|
pkgname=python-six
|
|
version=1.8.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="six-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
depends="python"
|
|
pycompile_module="six.py"
|
|
short_desc="Python 2 and 3 compatibility utilities (Python2 library)"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="https://pypi.python.org/pypi/six/"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
|
|
checksum=047bbbba41bac37c444c75ddfdf0573dd6e2f1fbd824e6247bb26fa7d8fa3830
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-six_package() {
|
|
noarch=yes
|
|
depends="python3.4"
|
|
pycompile_version="3.4"
|
|
pycompile_module="six.py"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3.4
|
|
vlicense ${wrksrc}/LICENSE
|
|
}
|
|
}
|