From ef34b57f553dcc1ea96786a15b39220326794332 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Mon, 25 Aug 2025 17:24:12 +0200 Subject: [PATCH] dev-python/nextdns: add 4.1.0 Signed-off-by: Andreas Billmeier --- README.md | 8 +++---- dev-python/nextdns/Manifest | 6 ++++-- dev-python/nextdns/nextdns-3.0.0.ebuild | 4 ++-- dev-python/nextdns/nextdns-3.3.0.ebuild | 4 ++-- dev-python/nextdns/nextdns-4.1.0.ebuild | 28 +++++++++++++++++++++++++ 5 files changed, 40 insertions(+), 10 deletions(-) create mode 100644 dev-python/nextdns/nextdns-4.1.0.ebuild diff --git a/README.md b/README.md index 5fe42077e..69a1b2c75 100644 --- a/README.md +++ b/README.md @@ -606,12 +606,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E ## Licenses This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted. -There are 2382 Ebuilds in total, 2364 of them have in total 2402 (44 different) licenses assigned. +There are 2383 Ebuilds in total, 2365 of them have in total 2403 (44 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1362| -|Apache-2.0|544| +|Apache-2.0|545| |GPL-3|147| |BSD|124| |GPL-2|28| @@ -655,9 +655,9 @@ There are 2382 Ebuilds in total, 2364 of them have in total 2402 (44 different) |GPL-2-with-linking-exception|1| |metapackage|1| -(Last counted: 24/08/2025) +(Last counted: 25/08/2025) I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources. A big thanks goes to Iris for reviewing this README. -Last updated: 24/08/2025 +Last updated: 25/08/2025 diff --git a/dev-python/nextdns/Manifest b/dev-python/nextdns/Manifest index 2ee67110a..8530e2250 100644 --- a/dev-python/nextdns/Manifest +++ b/dev-python/nextdns/Manifest @@ -1,5 +1,7 @@ DIST nextdns-3.0.0.tar.gz 18687 BLAKE2B 77a00180f872a064662c7c18c3b65b1e8f37557ce39ea1019df874cf98a59e577eeb9072f04ed30e2f8abf7784dfe569cfe52f88358c99b905120e20bd89c2a2 SHA512 15d793d6f851e4127564cf11016b0236f863ce0dd52272cb31d603da2f65a3d40064eeaa5222fd266d4d35f25ec73a874e9a2dfc138c7f787caed0e1942720cf DIST nextdns-3.3.0.tar.gz 19380 BLAKE2B 0f701f52a39df24363fc20814e4598b68274b5f86d8d00ec71a545da88c0804e0cf8905677ccee537f7177cd61451e7397867c44a8793176b77e447e41912a1a SHA512 0efcc0dc215395712b9ef9401c6154f4a3d6db3c435a84ea3357edd3240aa25d989728beace0eb8096966476db6e69b9992809f4e35b0a8476e2e52f99f8ddb6 -EBUILD nextdns-3.0.0.ebuild 650 BLAKE2B 5da38e21c21c82fa602ed86a053bb48da51a49b880a5ef20ced984791bb9682a3310a66cf2ecf445b6056b15b3eebd7ffe8cd3d7024519f7a19aca447adea9de SHA512 22a786d24e7911ed506f9e31035c1e6cb4926502e1bc3f62b55683e818d0907af14d5d8ab670ec02b54c12a1434f44647f73222c204a43acc8f5123a4542b816 -EBUILD nextdns-3.3.0.ebuild 689 BLAKE2B 75780f5f2906609898d615b84eee8b0adefbc807c6f5d552af545154c8ef2aa50192840c0f3359fabd0b3e84878e63087521fd71d799973730eec34852d38d8b SHA512 b62b39718ec471216129e4d1473a3227da3e0aa1f58ef5774f8021516cf0819e0148f8271c6dee5d7d80fc8edda4e939293928e7308178c53d3d16e1d08f86b5 +DIST nextdns-4.1.0.tar.gz 19894 BLAKE2B 193d8047a093db14424eccfc7b8d801ff88d9535ac49a758a51d582231fd747583c71316c2c1b9221801da4d3850bf6f99df2ccf2fa05602eff8a83f891be093 SHA512 278fa285e59dced4c31aa77fe1725135cd20b3c6e53b50737bf2afca77c435625d3113aed1d18c6d6fb2c0f582fe925b0cf9fb8635cea601f20843efa47f38c0 +EBUILD nextdns-3.0.0.ebuild 659 BLAKE2B 30fbfc926a8eedc775c969ee313402b413405bfddff672bf522d48acf8e521fabb03b778c4853a7e6300f95428ca1fca5bc765ca510555607387137e81e4ce99 SHA512 663b08b8396df4c3ac831608a2b380fbb60f3484f2cd7ff7868f23fff822bd7aa4aaa2fdbb7978a9d903686b236010fa677639b3aa06f07a29778060aa586b52 +EBUILD nextdns-3.3.0.ebuild 698 BLAKE2B 050325db257d5ed7193da65248d074613b1fa40d41b49b006e7fb4dbe87de77abff77ef2c96a170980607a2ddf0fe5d97ccf00f7f8ee89a4f6dba4d8ac8550f4 SHA512 835fe43f183cab599cb0401a8f87464422ec001761851c4778a28565ce46d8a53d96e075f2dc5a5ebc057626f3b07a14d9f859b68ea0660418aea139c9b70058 +EBUILD nextdns-4.1.0.ebuild 698 BLAKE2B 050325db257d5ed7193da65248d074613b1fa40d41b49b006e7fb4dbe87de77abff77ef2c96a170980607a2ddf0fe5d97ccf00f7f8ee89a4f6dba4d8ac8550f4 SHA512 835fe43f183cab599cb0401a8f87464422ec001761851c4778a28565ce46d8a53d96e075f2dc5a5ebc057626f3b07a14d9f859b68ea0660418aea139c9b70058 MISC metadata.xml 382 BLAKE2B ae7f62b2b5d57ee678248d995054ff3b7f3dcf4b62e4ead06fd426933df83b78b92bc98f23b8ca28e8c75d98a63310282705dd2f8a617e4734d5c99b3bb870ff SHA512 730ee22b5adbc0ac69b9a254ec4dfacb46e8c26136337555f451863aaa500102fbde3ba81f7550eb8a438657c1c1a35eafb8adc5b7ef857e8e5cb91d14e61173 diff --git a/dev-python/nextdns/nextdns-3.0.0.ebuild b/dev-python/nextdns/nextdns-3.0.0.ebuild index 64bb2b657..b4f2232c1 100644 --- a/dev-python/nextdns/nextdns-3.0.0.ebuild +++ b/dev-python/nextdns/nextdns-3.0.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi DESCRIPTION="Python wrapper for NextDNS API." diff --git a/dev-python/nextdns/nextdns-3.3.0.ebuild b/dev-python/nextdns/nextdns-3.3.0.ebuild index 0821d5629..ccd5fa753 100644 --- a/dev-python/nextdns/nextdns-3.3.0.ebuild +++ b/dev-python/nextdns/nextdns-3.3.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 pypi DESCRIPTION="Python wrapper for NextDNS API." diff --git a/dev-python/nextdns/nextdns-4.1.0.ebuild b/dev-python/nextdns/nextdns-4.1.0.ebuild new file mode 100644 index 000000000..ccd5fa753 --- /dev/null +++ b/dev-python/nextdns/nextdns-4.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi +DESCRIPTION="Python wrapper for NextDNS API." +HOMEPAGE="https://github.com/bieniu/nextdns https://pypi.org/project/nextdns/" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND=">=dev-python/aiohttp-3.9.4[${PYTHON_USEDEP}] + dev-python/tenacity[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/aioresponses[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest