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

Closes: https://bugs.gentoo.org/746323
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17859
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Tomáš Mózes
2020-10-09 11:22:47 +00:00
committed by Joonas Niilola
parent dd8e0c1ed0
commit 386cdf0c89

View File

@@ -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
}