From ae274200f12e7c3ab2e03f7fb6a4535ef30cee78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20B=C3=B6ck?= Date: Tue, 12 Mar 2024 09:47:00 +0100 Subject: [PATCH] net-analyzer/snallygaster: support python 3.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hanno Böck --- .../snallygaster-0.0.12-r2.ebuild | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 net-analyzer/snallygaster/snallygaster-0.0.12-r2.ebuild diff --git a/net-analyzer/snallygaster/snallygaster-0.0.12-r2.ebuild b/net-analyzer/snallygaster/snallygaster-0.0.12-r2.ebuild new file mode 100644 index 0000000000000..d9c89cabbb3be --- /dev/null +++ b/net-analyzer/snallygaster/snallygaster-0.0.12-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9,10,11,12} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Finds file leaks and other security problems on HTTP servers" +HOMEPAGE="https://github.com/hannob/snallygaster" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-python/dnspython + dev-python/urllib3 + dev-python/beautifulsoup4" +RDEPEND="${DEPEND}" +DOCS=( README.md TESTS.md ) + +# Only codingstyle and similar tests, require dependencies +# not packaged in Gentoo +RESTRICT="test"