void-packages/srcpkgs/python-attrs/template
2016-05-26 09:38:18 +02:00

31 lines
779 B
Bash

# Template file for 'python-attrs'
pkgname=python-attrs
version=16.0.0
revision=1
noarch==yes
wrksrc="attrs-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="attrs"
hostmakedepends="python-setuptools python3.4-setuptools"
short_desc="Python2 attributes without boilerplate"
maintainer="Michael Gehring <mg@ebfe.org>"
license="MIT"
homepage="https://attrs.readthedocs.org/"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
checksum=de6827a454d23716442b571bb35b0efb32a1b5c1037f09cfc7aaf405c7d68abc
post_install() {
vlicense LICENSE
}
python3.4-attrs_package() {
noarch=yes
pycompile_version="3.4"
pycompile_module="attrs"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3.4
}
}