32 lines
762 B
Bash
32 lines
762 B
Bash
# Template file for 'python-attrs'
|
|
pkgname=python-attrs
|
|
version=18.2.0
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="attrs-${version}"
|
|
build_style=python-module
|
|
pycompile_module="attr"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Attributes without boilerplate (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://attrs.readthedocs.io/"
|
|
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
|
|
checksum=10cbf6e27dbce8c30807caf056c8eb50917e0eaafe86347671b57254006c3e69
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-attrs_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="attr"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|