summaryrefslogtreecommitdiff
path: root/dev-python/python-pidfile/python-pidfile-3.0.0-r1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-08-25 00:47:31 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-08-25 00:47:31 +0000
commit903766d98a7aafcba137379563aacf3eda77cc11 (patch)
tree69a1aaaab89f01c0e5a7f16052a4a2530f04f1ea /dev-python/python-pidfile/python-pidfile-3.0.0-r1.ebuild
parent659376910620996512245804d612382bbf6b8596 (diff)
downloadbaldeagleos-repo-903766d98a7aafcba137379563aacf3eda77cc11.tar.gz
baldeagleos-repo-903766d98a7aafcba137379563aacf3eda77cc11.tar.xz
baldeagleos-repo-903766d98a7aafcba137379563aacf3eda77cc11.zip
Adding metadata
Diffstat (limited to 'dev-python/python-pidfile/python-pidfile-3.0.0-r1.ebuild')
-rw-r--r--dev-python/python-pidfile/python-pidfile-3.0.0-r1.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/python-pidfile/python-pidfile-3.0.0-r1.ebuild b/dev-python/python-pidfile/python-pidfile-3.0.0-r1.ebuild
new file mode 100644
index 000000000000..2c3b5fd33135
--- /dev/null
+++ b/dev-python/python-pidfile/python-pidfile-3.0.0-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="PIDFile context processor. Supported py2 and py3"
+HOMEPAGE="https://github.com/mosquito/python-pidfile"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+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/
+}