2013-03-06 09:46:58 +01:00
|
|
|
# Template file for 'python-six'
|
|
|
|
pkgname=python-six
|
2014-06-30 16:06:16 +02:00
|
|
|
version=1.7.3
|
2013-03-06 09:46:58 +01:00
|
|
|
revision=1
|
2014-06-30 16:06:16 +02:00
|
|
|
noarch=yes
|
2013-03-06 09:46:58 +01:00
|
|
|
wrksrc="six-${version}"
|
|
|
|
build_style=python-module
|
2014-06-30 16:06:16 +02:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
makedepends="python-devel python3.4-devel"
|
|
|
|
depends="python"
|
2014-01-01 16:10:11 +01:00
|
|
|
pycompile_module="six.py"
|
2014-06-30 16:06:16 +02:00
|
|
|
short_desc="Python 2 and 3 compatibility utilities (Python2 library)"
|
2013-03-06 09:46:58 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-06-30 16:06:16 +02:00
|
|
|
homepage="https://pypi.python.org/pypi/six/"
|
2013-03-06 09:46:58 +01:00
|
|
|
license="MIT"
|
2014-06-30 16:06:16 +02:00
|
|
|
distfiles="https://pypi.python.org/packages/source/s/six/six-${version}.tar.gz"
|
|
|
|
checksum=7a842c9f882c0b2ab1064d567bb9fff6a21c9efbc3d9992083ad6193787ed393
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
vinstall ${wrksrc}/LICENSE 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
|
|
|
}
|