diff options
author | Sam Jorna <wraeth@gentoo.org> | 2020-07-13 17:44:59 +1000 |
---|---|---|
committer | Sam Jorna <wraeth@gentoo.org> | 2020-07-13 17:47:29 +1000 |
commit | f76abfdab0445e9c0f492dc0650cb899733b5eec (patch) | |
tree | 7cd027693a9ad995a112c161d3022032304df6cd /sys-apps/kcheck | |
parent | media-video/libva-utils: Bump to version 2.8.0 (diff) | |
download | gentoo-f76abfdab0445e9c0f492dc0650cb899733b5eec.tar.gz gentoo-f76abfdab0445e9c0f492dc0650cb899733b5eec.tar.bz2 gentoo-f76abfdab0445e9c0f492dc0650cb899733b5eec.zip |
sys-apps/kcheck: add py3.7 py3.8, fix deps, EAPI7
Add support for Python 3.7 and 3.8. Bump EAPI to 7. Add python-usedep
for portage. Also fixes empty dir being installed.
Closes: https://bugs.gentoo.org/718518
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam Jorna <wraeth@gentoo.org>
Diffstat (limited to 'sys-apps/kcheck')
-rw-r--r-- | sys-apps/kcheck/kcheck-0.0.2-r1.ebuild (renamed from sys-apps/kcheck/kcheck-0.0.2.ebuild) | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sys-apps/kcheck/kcheck-0.0.2.ebuild b/sys-apps/kcheck/kcheck-0.0.2-r1.ebuild index 2d83fb1a653b..d28b7022b350 100644 --- a/sys-apps/kcheck/kcheck-0.0.2.ebuild +++ b/sys-apps/kcheck/kcheck-0.0.2-r1.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python3_6 ) +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 @@ -20,11 +21,13 @@ HOMEPAGE="https://github.com/wraeth/kcheck" LICENSE="MIT" SLOT="0" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="dev-python/configargparse[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/configargparse[${PYTHON_USEDEP}] + sys-apps/portage[${PYTHON_USEDEP}]" src_install() { distutils-r1_src_install - mkdir "${D}"etc || die - mv -v "${D}"{usr/,}etc/kcheck.conf || die + mkdir "${D}"/etc || die + mv -v "${D}"/{usr/,}etc/kcheck.conf || die + rmdir -v "${D}"/usr/etc || die } |