From 1053883d54e96bfdc5a7e66d3ead9740ffdbb14b Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 6 Jul 2023 15:35:40 +0200 Subject: net-analyzer/wtfis: Require pydantic<2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://github.com/pirxthepilot/wtfis/issues/48 Signed-off-by: Michał Górny --- net-analyzer/wtfis/wtfis-0.6.1-r1.ebuild | 39 ++++++++++++++++++++++++++++++++ net-analyzer/wtfis/wtfis-0.6.1.ebuild | 38 ------------------------------- net-analyzer/wtfis/wtfis-9999.ebuild | 1 + 3 files changed, 40 insertions(+), 38 deletions(-) create mode 100644 net-analyzer/wtfis/wtfis-0.6.1-r1.ebuild delete mode 100644 net-analyzer/wtfis/wtfis-0.6.1.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/wtfis/wtfis-0.6.1-r1.ebuild b/net-analyzer/wtfis/wtfis-0.6.1-r1.ebuild new file mode 100644 index 000000000000..7266cdab9d66 --- /dev/null +++ b/net-analyzer/wtfis/wtfis-0.6.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Passive hostname, domain and IP lookup tool for non-robots" +HOMEPAGE="https://github.com/pirxthepilot/wtfis" + +if [[ ${PV} = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/pirxthepilot/wtfis.git" +else + SRC_URI="https://github.com/pirxthepilot/wtfis/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="amd64 ~loong x86" +fi + +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + =dev-python/pydantic-1.10.2[${PYTHON_USEDEP}] + >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.28.1[${PYTHON_USEDEP}] + >=dev-python/rich-12.6.0[${PYTHON_USEDEP}] + >=net-analyzer/shodan-1.28.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/net-analyzer/wtfis/wtfis-0.6.1.ebuild b/net-analyzer/wtfis/wtfis-0.6.1.ebuild deleted file mode 100644 index dc39ae77fcb0..000000000000 --- a/net-analyzer/wtfis/wtfis-0.6.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 - -DESCRIPTION="Passive hostname, domain and IP lookup tool for non-robots" -HOMEPAGE="https://github.com/pirxthepilot/wtfis" - -if [[ ${PV} = "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/pirxthepilot/wtfis.git" -else - SRC_URI="https://github.com/pirxthepilot/wtfis/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - KEYWORDS="amd64 ~loong x86" -fi - -LICENSE="MIT" -SLOT="0" - -RDEPEND=" - >=dev-python/pydantic-1.10.2[${PYTHON_USEDEP}] - >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.28.1[${PYTHON_USEDEP}] - >=dev-python/rich-12.6.0[${PYTHON_USEDEP}] - >=net-analyzer/shodan-1.28.0[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/rich[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest diff --git a/net-analyzer/wtfis/wtfis-9999.ebuild b/net-analyzer/wtfis/wtfis-9999.ebuild index 4ab2cc180a22..4f7452d042b6 100644 --- a/net-analyzer/wtfis/wtfis-9999.ebuild +++ b/net-analyzer/wtfis/wtfis-9999.ebuild @@ -22,6 +22,7 @@ LICENSE="MIT" SLOT="0" RDEPEND=" + =dev-python/pydantic-1.10.2[${PYTHON_USEDEP}] >=dev-python/python-dotenv-0.21.0[${PYTHON_USEDEP}] >=dev-python/requests-2.28.1[${PYTHON_USEDEP}] -- cgit v1.2.3-65-gdbad