diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-09-08 07:29:00 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-09-08 07:39:26 +0200 |
| commit | 6c7e41e41fbb195f2bb883369847506670076b50 (patch) | |
| tree | 7289199b6cba839e553284ba8f7c9d7858343492 /dev-python | |
| parent | 67f94fd090551ab7d2035749eb24d1509386524e (diff) | |
| download | gentoo-6c7e41e41fbb195f2bb883369847506670076b50.tar.gz gentoo-6c7e41e41fbb195f2bb883369847506670076b50.tar.bz2 gentoo-6c7e41e41fbb195f2bb883369847506670076b50.zip | |
dev-python/dnspython: Bump to 2.8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/dnspython/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/dnspython/dnspython-2.8.0.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/dnspython/Manifest b/dev-python/dnspython/Manifest index a0c89d260fe2..ba9f3b30f502 100644 --- a/dev-python/dnspython/Manifest +++ b/dev-python/dnspython/Manifest @@ -1,2 +1,4 @@ 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 diff --git a/dev-python/dnspython/dnspython-2.8.0.ebuild b/dev-python/dnspython/dnspython-2.8.0.ebuild new file mode 100644 index 000000000000..0c056caff6d9 --- /dev/null +++ b/dev-python/dnspython/dnspython-2.8.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYPI_VERIFY_REPO=https://github.com/rthalley/dnspython +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="DNS toolkit for Python" +HOMEPAGE=" + https://www.dnspython.org/ + https://github.com/rthalley/dnspython/ + https://pypi.org/project/dnspython/ +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +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=() +EPYTEST_XDIST=1 +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 +} |
