commit:     de81541114ed6a0b3cc3e4e28159ec9458c4e617
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Wed Jul 28 15:16:56 2021 +0000
Commit:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Wed Jul 28 15:16:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=de815411

dev-python/python-pidfile: add 3.0.0 tests, restricted

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 dev-python/python-pidfile/python-pidfile-3.0.0.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-python/python-pidfile/python-pidfile-3.0.0.ebuild 
b/dev-python/python-pidfile/python-pidfile-3.0.0.ebuild
index 7c2b17450..1eee8940c 100644
--- a/dev-python/python-pidfile/python-pidfile-3.0.0.ebuild
+++ b/dev-python/python-pidfile/python-pidfile-3.0.0.ebuild
@@ -14,3 +14,11 @@ 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
+
+distutils_enable_tests unittest
+
+python_test() {
+       eunittest tests/
+}

Reply via email to