mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 21:18:09 -07:00
py3.14 doesn't work:
```
File "/usr/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 30, in <module>
File "<string>", line 17, in get_version
AttributeError: 'Constant' object has no attribute 's'
* ERROR: net-misc/httpstat-1.3.1-r1::gentoo failed (compile phase):
* Wheel build failed
*
```
I didn't notice because of wheel reuse (now disabled it).
Fixes: 56ba436ee3
Signed-off-by: Sam James <sam@gentoo.org>
29 lines
724 B
Bash
29 lines
724 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{11..13} pypy3 )
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="httpstat visualizes cURL statistics in a way of beauty and clarity"
|
|
HOMEPAGE="https://github.com/reorx/httpstat"
|
|
SRC_URI="https://github.com/reorx/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm64 x86"
|
|
|
|
RDEPEND="net-misc/curl:*"
|
|
|
|
# Requires access to google.com and http2.akamai.com
|
|
RESTRICT="test"
|
|
PROPERTIES="test_network"
|
|
|
|
PATCHES=( "${FILESDIR}"/${PN}-1.2.1-gentoo-tests.patch )
|
|
|
|
python_test() {
|
|
./httpstat_test.sh || die "Tests failed with ${EPYTHON}"
|
|
}
|