From 65f2283471e5ad41ae3da1a866bc724451328faf Mon Sep 17 00:00:00 2001 From: "Ronny (tastytea) Gutbrod" Date: Sat, 25 Feb 2023 12:46:56 +0100 Subject: [PATCH] dev-python/proxy_tools: add 0.1.0_p1 switched to GitHub tarballs for tests, but the repo has no tags and i couldn't figure out the exact commit, so i picked the newest (from 2014). - use PEP517 - enable python3_11 - enable tests - add pypi remote-id Closes: https://bugs.gentoo.org/897512 Signed-off-by: Ronny (tastytea) Gutbrod --- dev-python/proxy_tools/Manifest | 1 + dev-python/proxy_tools/metadata.xml | 1 + .../proxy_tools/proxy_tools-0.1.0_p1.ebuild | 23 +++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 dev-python/proxy_tools/proxy_tools-0.1.0_p1.ebuild diff --git a/dev-python/proxy_tools/Manifest b/dev-python/proxy_tools/Manifest index c31ffd692a..c86857982a 100644 --- a/dev-python/proxy_tools/Manifest +++ b/dev-python/proxy_tools/Manifest @@ -1 +1,2 @@ DIST proxy_tools-0.1.0.tar.gz 2978 BLAKE2B 98322f16dde8efa0fb014de2bcf9b5c8b4856fbb6cef15977e524742c20218db1288d7bdc0b21970dba2d42d5950bd242023fde76baaa09186793e6bf8eb2d3a SHA512 047d32e31f6dd78b7666e847108072f6942c8ba9f08f04d7c98ae13cc5b52e0028f724e738e6eef28ef12945bccab22214660e4606643dcd646dbc770a641882 +DIST proxy_tools-0.1.0_p1.gh.tar.gz 9405 BLAKE2B 26a28c3346a687325bb5a0e1fbce034522de67626fb345b8583afbb91fde4b4cc89aaa532bedf113ba17b47a6212fc5899d9069032754faee9f16c0d818d5a58 SHA512 d9cdf2d175e2bce452c8e5132732f90a2cd8f7e86e49cd7041752b710530625c5798d5078ad22ca7ec9980d5d91d3823c0fc64030597763084023df0a79f0a61 diff --git a/dev-python/proxy_tools/metadata.xml b/dev-python/proxy_tools/metadata.xml index 3ecd510261..fadd157c2e 100644 --- a/dev-python/proxy_tools/metadata.xml +++ b/dev-python/proxy_tools/metadata.xml @@ -7,5 +7,6 @@ jtushman/proxy_tools + proxy_tools diff --git a/dev-python/proxy_tools/proxy_tools-0.1.0_p1.ebuild b/dev-python/proxy_tools/proxy_tools-0.1.0_p1.ebuild new file mode 100644 index 0000000000..01bc8a8f30 --- /dev/null +++ b/dev-python/proxy_tools/proxy_tools-0.1.0_p1.ebuild @@ -0,0 +1,23 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="setuptools" +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +MY_COMMIT="db43f1e35d4f90a65c5a4d56d9e9af88212ec6e6" + +DESCRIPTION="Simple proxy (as in the GoF design pattern)" +HOMEPAGE="https://pypi.org/project/proxy_tools/" +# pypi tarballs are missing test data +SRC_URI="https://github.com/jtushman/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${MY_COMMIT} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests nose