From a4d7a836265353701dd4ed52347b33f5091c7d4a Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Wed, 1 Mar 2023 19:52:59 +0100 Subject: [PATCH] dev-python/nextdns: add 1.3.0 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/nextdns/Manifest | 2 ++ dev-python/nextdns/nextdns-1.3.0.ebuild | 35 +++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 dev-python/nextdns/nextdns-1.3.0.ebuild diff --git a/README.md b/README.md index a4fc0d110..51b5d6bce 100644 --- a/README.md +++ b/README.md @@ -573,12 +573,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 1766 Ebuilds in total, 1755 of them have in total 1759 (34 different) licenses assigned. +There are 1767 Ebuilds in total, 1756 of them have in total 1760 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1030| -|Apache-2.0|382| +|Apache-2.0|383| |GPL-3|108| |BSD|93| |LGPL-3|23| diff --git a/dev-python/nextdns/Manifest b/dev-python/nextdns/Manifest index 6ba25e09b..8a52e3b7e 100644 --- a/dev-python/nextdns/Manifest +++ b/dev-python/nextdns/Manifest @@ -1,5 +1,7 @@ DIST nextdns-1.1.1.tar.gz 15763 BLAKE2B 055dbeebfe4d3eb173019eb47c16998c6777d5cd890178ef00170a2d37c16f1c20b5789acce0449cb07fc2fa44db2ce6856add9afd1021e6665743a26398743e SHA512 93b54693c794e8850d3d2c4c5c3e1856b94c445847d7c4d659306856f16585079b0f2b785276cdc6850c02e3f87d20f7da4e294aab5f0360b2e8b8cfc116112f DIST nextdns-1.2.2.tar.gz 16265 BLAKE2B 45c0c3ccbad9c956058835b36f8e8afe0d278023fcfbacba52e2a6db8f08b2ac56e4cdbfff498afc8b782e67630dd9fb997b0f13dd469570198199ed3a6489ac SHA512 c84f5f3fca4628f93cf3e361129a229eddd035f4b6279fff115b34070aaea3080e5fd269e8ef7bf7f0bae48f6b549e8dcdd644b8867b8a9f220405d9287585b4 +DIST nextdns-1.3.0.tar.gz 17271 BLAKE2B 0d955993beadaf8ba67d1d6dbae38757b7a2225f0e6aa890109cee658ca54ca8c50b6eaadced3323f97188b1e70a544e66729760d7d20651d053476fe59fb20b SHA512 9616284609432ae9717e94b37af8d5a46efc2d31ec61f99232453c7899b231c77daebec2bd2a3d280d0e18b400272cc2fa0017b8867459d77586e7147009cbb8 EBUILD nextdns-1.1.1.ebuild 756 BLAKE2B 2acfbba8833d815e19a2a562116a8ca9a4a4e4420014efdb3f936083d0b20309cd46939fda079fe4dbb7e2ffed6f99c700ce95f686f0aff26227607af5eaf706 SHA512 62eb26eceb1f7dc750fe5b1c80d047b73540e043ac385e0baf266ea56007760b17f695c9223d201ad545853a46d8aac8380c5ced7023f65472c2a1e69fa471e8 EBUILD nextdns-1.2.2.ebuild 719 BLAKE2B a38818286e3370d5b918a8b38774f09e82e78ddcb43c34aa0b13dc33bfb9b1755f6d57d16690651fe9fb40c8968b044ffd8fcdd2018ed3946f80411b57bff476 SHA512 dd1e2c97263911e6f328c980f5dafd0077bdbfd680dbed0c7d26ff3d7dc71c6d105cef86de1a7b1ed6d1c53fe4ebd2cfeb41b4a40fd8f23053378de4dc422946 +EBUILD nextdns-1.3.0.ebuild 790 BLAKE2B 468eda06fdb4467bdef5d732dd716fe3cac059dd57421227bda5d5273faa850d08e7e77796ffadb65d705ceb05487395a85e0b1a5278503dff556b7eee2a3122 SHA512 a9564e8ba992f0d2a4ab795f9f8989e2014da182faef8956822325ec980e4c65f90d3a16c3ed0325b43ccdad442bfd98b5bfc4294e435a4bc3a8b3c60838d87e MISC metadata.xml 382 BLAKE2B ae7f62b2b5d57ee678248d995054ff3b7f3dcf4b62e4ead06fd426933df83b78b92bc98f23b8ca28e8c75d98a63310282705dd2f8a617e4734d5c99b3bb870ff SHA512 730ee22b5adbc0ac69b9a254ec4dfacb46e8c26136337555f451863aaa500102fbde3ba81f7550eb8a438657c1c1a35eafb8adc5b7ef857e8e5cb91d14e61173 diff --git a/dev-python/nextdns/nextdns-1.3.0.ebuild b/dev-python/nextdns/nextdns-1.3.0.ebuild new file mode 100644 index 000000000..d6fe9dd1a --- /dev/null +++ b/dev-python/nextdns/nextdns-1.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +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/" +SRC_URI="$(pypi_sdist_url)" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/aioresponses[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest