void-packages/srcpkgs/python-namedlist/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

26 lines
765 B
Bash

# Template file for 'python-namedlist'
pkgname=python-namedlist
version=1.7
revision=5
noarch=yes
wrksrc="namedlist-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
pycompile_module="namedlist.py"
short_desc="Similar to namedtuple, but instances are mutable"
maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="https://bitbucket.org/ericvsmith/namedlist"
license="Apache-2.0"
distfiles="${PYPI_SITE}/n/namedlist/namedlist-${version}.tar.gz"
checksum=190b39ceaf1d6b59999811259e61beb1b26aaa482fb8c95538294d551461c986
python3-namedlist_package() {
noarch=yes
depends="python3"
pycompile_module="namedlist.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}