void-packages/srcpkgs/python-namedlist/template

29 lines
833 B
Bash
Raw Normal View History

2015-08-01 19:20:46 +02:00
# Template file for 'python-namedlist'
pkgname=python-namedlist
2015-08-02 15:14:06 +02:00
version=1.7
2015-08-01 19:20:46 +02:00
revision=1
noarch=yes
wrksrc="namedlist-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
pycompile_module="namedlist"
short_desc="Similar to namedtuple, but instances are mutable"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
homepage="https://bitbucket.org/ericvsmith/namedlist"
license="Apache-2.0"
distfiles="${PYPI_SITE}/n/namedlist/namedlist-${version}.tar.gz"
2015-08-02 15:14:06 +02:00
checksum=190b39ceaf1d6b59999811259e61beb1b26aaa482fb8c95538294d551461c986
2015-08-01 19:20:46 +02:00
python3.4-namedlist_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="namedlist"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}