From 0c0dd585860de0813af3a4e67eafd37e26f3cfeb Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Tue, 13 Jun 2023 00:08:46 +0200 Subject: [PATCH] Added py3nvml --- dev-python/py3nvml/Manifest | 1 + dev-python/py3nvml/metadata.xml | 15 +++++++++++ dev-python/py3nvml/py3nvml-0.2.7.ebuild | 36 +++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 dev-python/py3nvml/Manifest create mode 100644 dev-python/py3nvml/metadata.xml create mode 100644 dev-python/py3nvml/py3nvml-0.2.7.ebuild diff --git a/dev-python/py3nvml/Manifest b/dev-python/py3nvml/Manifest new file mode 100644 index 0000000..b577977 --- /dev/null +++ b/dev-python/py3nvml/Manifest @@ -0,0 +1 @@ +DIST py3nvml-0.2.7.tar.gz 58224 BLAKE2B 11f9689554092350a932f531d9a2aa09c7fdbb89e93102f48a2eb29ad8dddf34f772e0b08821b4d36ed01313486b5b2f1fb00761429b923608bff1c6c0ad3a21 SHA512 c2fbe8b44f5a4db187df2f1023c30ea0eff1a4320abd02f39df70ca428caa141b0040750c73bb21961bcab87262220e65c477d6507e9b86bf7bec59fbfdfcb75 diff --git a/dev-python/py3nvml/metadata.xml b/dev-python/py3nvml/metadata.xml new file mode 100644 index 0000000..e849cd2 --- /dev/null +++ b/dev-python/py3nvml/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + Rx + + dag@brattli.net + Dag Brattli + + + diff --git a/dev-python/py3nvml/py3nvml-0.2.7.ebuild b/dev-python/py3nvml/py3nvml-0.2.7.ebuild new file mode 100644 index 0000000..abcd33b --- /dev/null +++ b/dev-python/py3nvml/py3nvml-0.2.7.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Injector - Python dependency injection framework, inspired by Guice" +HOMEPAGE="http://reactivex.io https://pypi.org/project/py3nvml/" +SRC_URI="https://files.pythonhosted.org/packages/10/7e/fa282e456b87570d663ce97946b4dcb16850d4495ce4bd625a1a10c8ed56/py3nvml-0.2.7.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +}