python-attrs: update to 20.2.0.

This commit is contained in:
Andrew J. Hesford 2020-09-07 09:05:47 -04:00 committed by Andrew J. Hesford
parent 53b87dfea1
commit 7051f2222b

View file

@ -1,11 +1,9 @@
# Template file for 'python-attrs'
pkgname=python-attrs
version=20.1.0
version=20.2.0
revision=1
archs=noarch
wrksrc="attrs-${version}"
build_style=python-module
pycompile_module="attr"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
checkdepends="python-hypothesis python3-hypothesis python-pytest python3-pytest
@ -15,7 +13,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://attrs.readthedocs.io/"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
checksum=0ef97238856430dcf9228e07f316aefc17e8939fc8507e18c6501b761ef1a42a
checksum=26b54ddbbb9ee1d34d5d3668dd37d6cf74990ab23c828c2888dccdceee395594
pre_check() {
# those are python3 only
@ -27,9 +25,7 @@ post_install() {
}
python3-attrs_package() {
archs=noarch
depends="python3"
pycompile_module="attr"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*