diff options
Diffstat (limited to 'dev-python/python-pidfile')
| -rw-r--r-- | dev-python/python-pidfile/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-pidfile/metadata.xml | 16 | ||||
| -rw-r--r-- | dev-python/python-pidfile/python-pidfile-3.1.1.ebuild | 28 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/python-pidfile/Manifest b/dev-python/python-pidfile/Manifest new file mode 100644 index 000000000000..70b9f9c23940 --- /dev/null +++ b/dev-python/python-pidfile/Manifest @@ -0,0 +1 @@ +DIST python-pidfile-3.1.1.tar.gz 4501 BLAKE2B d3587d581d008e4248e6a56169b32f1523da37e30f9a9ba96955a60998d5b095e13d51a673327c09d5c582fb37518c6d4ceb5ba94109d5e93e69d318ef0bb489 SHA512 314a2e670d2a6baae786b8aa7639a1384bd177b8006b221e46caf297140d840b72ff23629aac22648b41072274dd44cbfc454444ffcfe64c7cf6fd24fae15c1d diff --git a/dev-python/python-pidfile/metadata.xml b/dev-python/python-pidfile/metadata.xml new file mode 100644 index 000000000000..8d2ff43efb9b --- /dev/null +++ b/dev-python/python-pidfile/metadata.xml @@ -0,0 +1,16 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>smaniotto.nicola@gmail.com</email> + <name>Nicola Smaniotto</name> + </maintainer> + <upstream> + <remote-id type="github">mosquito/python-pidfile</remote-id> + <remote-id type="pypi">python-pidfile</remote-id> + <maintainer> + <name>Dmitry Orlov</name> + <email>me@mosquito.su</email> + </maintainer> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-pidfile/python-pidfile-3.1.1.ebuild b/dev-python/python-pidfile/python-pidfile-3.1.1.ebuild new file mode 100644 index 000000000000..a767bb700e88 --- /dev/null +++ b/dev-python/python-pidfile/python-pidfile-3.1.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION="PIDFile context processor. Supported py2 and py3" +HOMEPAGE="https://github.com/mosquito/python-pidfile" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="test" # https://github.com/mosquito/python-pidfile/issues/7 + +RDEPEND=" + dev-python/psutil[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + eunittest tests/ +} |
