2013-03-06 08:46:58 +00:00
|
|
|
# Template file for 'python-six'
|
|
|
|
pkgname=python-six
|
2014-09-19 08:12:38 +00:00
|
|
|
version=1.8.0
|
2013-03-06 08:46:58 +00:00
|
|
|
revision=1
|
2014-06-30 14:06:16 +00:00
|
|
|
noarch=yes
|
2013-03-06 08:46:58 +00:00
|
|
|
wrksrc="six-${version}"
|
|
|
|
build_style=python-module
|
2014-06-30 14:06:16 +00:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
depends="python"
|
2014-01-01 15:10:11 +00:00
|
|
|
pycompile_module="six.py"
|
2014-06-30 14:06:16 +00:00
|
|
|
short_desc="Python 2 and 3 compatibility utilities (Python2 library)"
|
2013-03-06 08:46:58 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-06-30 14:06:16 +00:00
|
|
|
homepage="https://pypi.python.org/pypi/six/"
|
2013-03-06 08:46:58 +00:00
|
|
|
license="MIT"
|
2014-09-19 08:12:38 +00:00
|
|
|
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
|
|
|
|
checksum=047bbbba41bac37c444c75ddfdf0573dd6e2f1fbd824e6247bb26fa7d8fa3830
|
2014-06-30 14:06:16 +00:00
|
|
|
|
|
|
|
post_install() {
|
2014-09-19 08:12:38 +00:00
|
|
|
vlicense LICENSE
|
2014-06-30 14:06:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
2014-09-19 08:12:38 +00:00
|
|
|
vlicense ${wrksrc}/LICENSE
|
2014-06-30 14:06:16 +00:00
|
|
|
}
|
|
|
|
}
|