commit:     386cdf0c89d99bbc6b0fc75bc9e125210a6fdd16
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Oct  9 11:22:47 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 12:06:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=386cdf0c

app-misc/chkcrontab: add python3.9, adjust DISTUTILS_USE_SETUPTOOLS

Closes: https://bugs.gentoo.org/746323
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17859
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild 
b/app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild
new file mode 100644
index 00000000000..7be8fc3caca
--- /dev/null
+++ b/app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+DISTUTILS_USE_SETUPTOOLS=no
+
+inherit distutils-r1
+
+DESCRIPTION="A tool to detect crontab errors"
+HOMEPAGE="https://github.com/lyda/chkcrontab";
+SRC_URI="https://github.com/lyda/chkcrontab/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests setup.py
+
+python_install_all() {
+       doman doc/${PN}.1
+       distutils-r1_python_install_all
+}

Reply via email to