mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
dev-python/dnspython: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST dnspython-2.7.0.gh.tar.gz 386890 BLAKE2B 209bbb761cff2e39f86fb94458976766f3cac93e47f2c25294c359c98126aa4670b8157fad6c2bbf67ef250150310b31068690cec43ef148bbaf541873c37f38 SHA512 d73b90a06fa4c731393f719a79ec1339c3f8010b0ef4e58d8aa1aa5e0f2804dff8a79e20d9c9175b41b66bc9cf1712c33f4e2ed14820afc74d988096a42488b5
|
||||
DIST dnspython-2.8.0.tar.gz 368251 BLAKE2B 6c1c42c186c9fb5cec2f81d1768a04ead8a6c95a30a588ee6d9696d788aa20c97e5fec93c829b8e2d9eccedfa73097b3d1ff9a436b81c10d473c9fbfa3bcfda7 SHA512 9a67be7d28ea9ff122bec87080fd487964c56344ec242d8c5c544c049244a1cf26bf228d506dbf40d3eefda6be64f6f6ebd80290efee0e7d4880e2a25021eb9a
|
||||
DIST dnspython-2.8.0.tar.gz.provenance 9402 BLAKE2B eb2c36c1fc4801dc07bef769ce2669fadf229fa7ab177fbde8817c7e9d1b5256405cc4c79dd04fe67c61ee2f7319352b0e2a53b1165e614647be65f5d74f8697 SHA512 89cb8618a3ecb363be5c0c025882eae6d7094276a33dc7ce16201b017dc1c5ea2e51efd962a84afaa5f1b88e81ba9ea7534fffa05c1a8604a192ff13dcef5ebb
|
||||
DIST dnspython-2.8.0rc1.gh.tar.gz 410118 BLAKE2B 716f2d801173a72476df15060246da3f7260740768190b0bab4cccb0b40e339ccd50a1ebf5d80333707dfe138cb736db0b8ffc804f3da511abdb7ebfaac6151f SHA512 72bec723f514b0f4d21d1b2a226b5a28392dad5ae7a650ee3d298bd0a029b07fc67d03f228228e3209ae8fdf7d1b7fe143bd492e42f523e4df26c43aea5a1eac
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="DNS toolkit for Python"
|
||||
HOMEPAGE="
|
||||
https://www.dnspython.org/
|
||||
https://github.com/rthalley/dnspython/
|
||||
https://pypi.org/project/dnspython/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/rthalley/dnspython/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="dnssec examples https quic"
|
||||
|
||||
RDEPEND="
|
||||
dnssec? (
|
||||
>=dev-python/cryptography-41[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/idna-2.1[${PYTHON_USEDEP}]
|
||||
https? (
|
||||
>=dev-python/httpx-0.26.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/h2-4.1.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
quic? ( >=dev-python/aioquic-0.9.25[${PYTHON_USEDEP}] )
|
||||
"
|
||||
# note: skipping DoH test deps because they require Internet anyway
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/cryptography-41[${PYTHON_USEDEP}]
|
||||
>=dev-python/quart-trio-0.11.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local -x NO_INTERNET=1
|
||||
epytest
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P/_}
|
||||
DESCRIPTION="DNS toolkit for Python"
|
||||
HOMEPAGE="
|
||||
https://www.dnspython.org/
|
||||
https://github.com/rthalley/dnspython/
|
||||
https://pypi.org/project/dnspython/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/rthalley/dnspython/archive/v${PV/_}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
IUSE="dnssec examples https quic"
|
||||
|
||||
RDEPEND="
|
||||
dnssec? (
|
||||
>=dev-python/cryptography-45[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/idna-2.1[${PYTHON_USEDEP}]
|
||||
https? (
|
||||
>=dev-python/httpx-0.26.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/h2-4.1.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
quic? ( >=dev-python/aioquic-0.9.25[${PYTHON_USEDEP}] )
|
||||
"
|
||||
# note: skipping DoH test deps because they require Internet anyway
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/cryptography-45[${PYTHON_USEDEP}]
|
||||
>=dev-python/quart-trio-0.11.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local -x NO_INTERNET=1
|
||||
epytest
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user