1 |
commit: 386cdf0c89d99bbc6b0fc75bc9e125210a6fdd16 |
2 |
Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Oct 9 11:22:47 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 13 12:06:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=386cdf0c |
7 |
|
8 |
app-misc/chkcrontab: add python3.9, adjust DISTUTILS_USE_SETUPTOOLS |
9 |
|
10 |
Closes: https://bugs.gentoo.org/746323 |
11 |
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/17859 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild | 26 ++++++++++++++++++++++++++ |
16 |
1 file changed, 26 insertions(+) |
17 |
|
18 |
diff --git a/app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild b/app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..7be8fc3caca |
21 |
--- /dev/null |
22 |
+++ b/app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild |
23 |
@@ -0,0 +1,26 @@ |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python3_{6..9} ) |
30 |
+DISTUTILS_USE_SETUPTOOLS=no |
31 |
+ |
32 |
+inherit distutils-r1 |
33 |
+ |
34 |
+DESCRIPTION="A tool to detect crontab errors" |
35 |
+HOMEPAGE="https://github.com/lyda/chkcrontab" |
36 |
+SRC_URI="https://github.com/lyda/chkcrontab/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="Apache-2.0" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86" |
41 |
+IUSE="test" |
42 |
+RESTRICT="!test? ( test )" |
43 |
+ |
44 |
+distutils_enable_tests setup.py |
45 |
+ |
46 |
+python_install_all() { |
47 |
+ doman doc/${PN}.1 |
48 |
+ distutils-r1_python_install_all |
49 |
+} |