void-packages/srcpkgs/python-attrs/template
maxice8 9053c8cefa python-attrs: update to 17.4.0.
Closes: #10294 [via git-merge-pr]
2018-01-01 03:44:30 +01:00

32 lines
756 B
Bash

# Template file for 'python-attrs'
pkgname=python-attrs
version=17.4.0
revision=1
noarch=yes
wrksrc="attrs-${version}"
build_style=python-module
pycompile_module="attr"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Attributes without boilerplate (Python2)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://attrs.readthedocs.io/"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
checksum=1c7960ccfd6a005cd9f7ba884e6316b5e430a3f1a6c37c5f87d8b43f83b54ec9
post_install() {
vlicense LICENSE
}
python3-attrs_package() {
noarch=yes
depends="python3"
pycompile_module="attr"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vlicense LICENSE
vmove usr/lib/python3*
}
}