python-attrs: update to 21.2.0.

This commit is contained in:
Andrew J. Hesford 2021-06-05 23:14:12 -04:00
parent 0f8ed0b38f
commit 93f3494cc9

View file

@ -1,23 +1,23 @@
# Template file for 'python-attrs' # Template file for 'python-attrs'
pkgname=python-attrs pkgname=python-attrs
version=20.3.0 version=21.2.0
revision=1 revision=1
wrksrc="attrs-${version}" wrksrc="attrs-${version}"
build_style=python-module build_style=python-module
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python" depends="python"
checkdepends="python-hypothesis python3-hypothesis python-pytest python3-pytest checkdepends="python-hypothesis python3-hypothesis python-pytest
python-zope.interface python3-zope.interface" python3-pytest python-zope.interface python3-zope.interface python3-six"
short_desc="Attributes without boilerplate (Python2)" short_desc="Attributes without boilerplate (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT" license="MIT"
homepage="https://attrs.readthedocs.io/" homepage="https://attrs.readthedocs.io/"
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz" distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
checksum=832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700 checksum=ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb
pre_check() { do_check() {
# those are python3 only PYTHONPATH="$(cd build-2.7/lib* && pwd)" python2 -m pytest
rm tests/test_annotations.py tests/test_init_subclass.py PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" python3 -m pytest
} }
post_install() { post_install() {