void-packages/srcpkgs/python-distribute/template

27 lines
818 B
Plaintext

# Template file for 'python-distribute'
pkgname=python-distribute
version=0.6.28
revision=4
wrksrc="distribute-${version}"
build_style=python-module
python_versions="2.7 3.3"
makedepends="python-devel python3-devel"
noarch="yes"
depends="python"
pycompile_module="pkg_resources.py easy_install.py site.py setuptools"
short_desc="A collection of extensions to the Python distutils (Python2)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pypi.python.org/pypi/distribute"
license="PSF"
distfiles="http://pypi.python.org/packages/source/d/distribute/distribute-$version.tar.gz"
checksum=a42e897551aeb7600708f4aa6a0c02acb4458613976234b7d4fad7ae841a8d63
python3-distribute_package() {
noarch=yes
depends="python3"
short_desc="${short_desc//Python2/Python3}"
pkg_install() {
vmove /usr/lib/python3.3
}
}