python3-attrs: update to 22.1.0.
split from python-attrs as python2 is no longer supported
This commit is contained in:
parent
1598890e23
commit
3b82f3eea0
|
@ -2,10 +2,9 @@
|
||||||
pkgname=python-attrs
|
pkgname=python-attrs
|
||||||
version=21.2.0
|
version=21.2.0
|
||||||
revision=3
|
revision=3
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
checkdepends="python3-pytest python3-zope.interface python3-six python3-hypothesis"
|
|
||||||
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"
|
||||||
|
@ -13,19 +12,6 @@ homepage="https://attrs.readthedocs.io/"
|
||||||
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
|
||||||
checksum=ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb
|
checksum=ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb
|
||||||
|
|
||||||
do_check() {
|
|
||||||
PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" python3 -m pytest
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-attrs_package() {
|
|
||||||
depends="python3"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-attrs
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'python3-attrs'
|
||||||
|
pkgname=python3-attrs
|
||||||
|
version=22.1.0
|
||||||
|
revision=1
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3"
|
||||||
|
checkdepends="python3-pytest python3-zope.interface python3-six
|
||||||
|
python3-hypothesis"
|
||||||
|
short_desc="Attributes without boilerplate (Python3)"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://attrs.readthedocs.io/"
|
||||||
|
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
|
||||||
|
checksum=29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Reference in New Issue