mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
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>
24 lines
598 B
Bash
24 lines
598 B
Bash
# 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
|