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 <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2023-02-25 12:46:56 +01:00
parent 0a8718f32b
commit 65f2283471
3 changed files with 25 additions and 0 deletions

View File

@@ -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