python3-frozendict: rebuild for Python 3.11
This commit is contained in:
parent
42b9518890
commit
7f16acedc7
1 changed files with 8 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'python3-frozendict'
|
# Template file for 'python3-frozendict'
|
||||||
pkgname=python3-frozendict
|
pkgname=python3-frozendict
|
||||||
version=2.3.4
|
version=2.3.4
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="frozendict-${version}"
|
wrksrc="frozendict-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
make_check_args="-k not(test_c_extension)"
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
makedepends="python3-devel"
|
makedepends="python3-devel"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
|
@ -15,6 +16,10 @@ homepage="https://github.com/Marco-Sulla/python-frozendict"
|
||||||
distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz"
|
||||||
checksum=15b4b18346259392b0d27598f240e9390fafbff882137a9c48a1e0104fb17f78
|
checksum=15b4b18346259392b0d27598f240e9390fafbff882137a9c48a1e0104fb17f78
|
||||||
|
|
||||||
do_check() {
|
do_build() {
|
||||||
PYTHONPATH="$(cd build/lib* && pwd)" pytest3
|
python3 setup.py py build
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
python3 setup.py py install --prefix=/usr --root="${DESTDIR}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue