diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-09-02 06:48:56 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-09-02 06:48:56 +0200 |
| commit | f4fb331c96c2a997b59bdfe2c9c384b882084209 (patch) | |
| tree | b11119e4616994785f16cc144808dbf6ff263ecb /dev-python/dnspython | |
| parent | 3c889e74042850ba459f80c768eb8b9b4e629b82 (diff) | |
| download | gentoo-f4fb331c96c2a997b59bdfe2c9c384b882084209.tar.gz gentoo-f4fb331c96c2a997b59bdfe2c9c384b882084209.tar.bz2 gentoo-f4fb331c96c2a997b59bdfe2c9c384b882084209.zip | |
dev-python/dnspython: Bump to 2.8.0_rc1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/dnspython')
| -rw-r--r-- | dev-python/dnspython/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/dnspython/dnspython-2.8.0_rc1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/dnspython/Manifest b/dev-python/dnspython/Manifest index 34778c41971a..a0c89d260fe2 100644 --- a/dev-python/dnspython/Manifest +++ b/dev-python/dnspython/Manifest @@ -1 +1,2 @@ DIST dnspython-2.7.0.gh.tar.gz 386890 BLAKE2B 209bbb761cff2e39f86fb94458976766f3cac93e47f2c25294c359c98126aa4670b8157fad6c2bbf67ef250150310b31068690cec43ef148bbaf541873c37f38 SHA512 d73b90a06fa4c731393f719a79ec1339c3f8010b0ef4e58d8aa1aa5e0f2804dff8a79e20d9c9175b41b66bc9cf1712c33f4e2ed14820afc74d988096a42488b5 +DIST dnspython-2.8.0rc1.gh.tar.gz 410118 BLAKE2B 716f2d801173a72476df15060246da3f7260740768190b0bab4cccb0b40e339ccd50a1ebf5d80333707dfe138cb736db0b8ffc804f3da511abdb7ebfaac6151f SHA512 72bec723f514b0f4d21d1b2a226b5a28392dad5ae7a650ee3d298bd0a029b07fc67d03f228228e3209ae8fdf7d1b7fe143bd492e42f523e4df26c43aea5a1eac diff --git a/dev-python/dnspython/dnspython-2.8.0_rc1.ebuild b/dev-python/dnspython/dnspython-2.8.0_rc1.ebuild new file mode 100644 index 000000000000..5bc45b215178 --- /dev/null +++ b/dev-python/dnspython/dnspython-2.8.0_rc1.ebuild @@ -0,0 +1,56 @@ +# 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" + +RDEPEND=" + dnssec? ( + >=dev-python/cryptography-45[${PYTHON_USEDEP}] + ) + >=dev-python/idna-2.1[${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 +} |
