From 79802ff71e24c576f500de4ea9c6e9c94200e623 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sun, 22 Dec 2019 10:30:47 +0100 Subject: dev-util/redo: Update PYTHON_COMPAT Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Jeroen Roovers --- dev-util/redo/redo-0.42-r1.ebuild | 48 +++++++++++++++++++++++++++++++++++++++ dev-util/redo/redo-0.42.ebuild | 48 --------------------------------------- dev-util/redo/redo-99999.ebuild | 4 ++-- 3 files changed, 50 insertions(+), 50 deletions(-) create mode 100644 dev-util/redo/redo-0.42-r1.ebuild delete mode 100644 dev-util/redo/redo-0.42.ebuild (limited to 'dev-util/redo') diff --git a/dev-util/redo/redo-0.42-r1.ebuild b/dev-util/redo/redo-0.42-r1.ebuild new file mode 100644 index 000000000000..e31dd3b2e368 --- /dev/null +++ b/dev-util/redo/redo-0.42-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2018-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +PYTHON_REQ_USE="sqlite" +inherit multilib multiprocessing python-single-r1 + +DESCRIPTION="Smaller, easier, more powerful, and more reliable than make" +HOMEPAGE="https://github.com/apenwarr/redo" +SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +BDEPEND=" + dev-python/beautifulsoup[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + ${PYTHON_DEPS} +" +RDEPEND=" + ${BDEPEND} +" +S=${WORKDIR}/${PN}-${P} + +src_compile() { + ./do -j$(makeopts_jobs) build || die +} + +src_test() { + ./do -j$(makeopts_jobs) test || die +} + +src_install() { + DESTDIR="${D}" \ + DOCDIR="${D}/usr/share/doc/${PF}" \ + LIBDIR="${D}/usr/$(get_libdir)/${PN}" \ + ./do -j$(makeopts_jobs) \ + install || die + + python_fix_shebang --force "${D}" + + sed -i \ + -e 's|/lib/|/'"$(get_libdir)"'/|g' \ + "${D}"/usr/bin/* || die +} diff --git a/dev-util/redo/redo-0.42.ebuild b/dev-util/redo/redo-0.42.ebuild deleted file mode 100644 index a979123b762f..000000000000 --- a/dev-util/redo/redo-0.42.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2018-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" -inherit multilib multiprocessing python-single-r1 - -DESCRIPTION="Smaller, easier, more powerful, and more reliable than make" -HOMEPAGE="https://github.com/apenwarr/redo" -SRC_URI="${HOMEPAGE}/archive/${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~x86" -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -BDEPEND=" - dev-python/beautifulsoup[${PYTHON_USEDEP}] - dev-python/markdown[${PYTHON_USEDEP}] - ${PYTHON_DEPS} -" -RDEPEND=" - ${BDEPEND} -" -S=${WORKDIR}/${PN}-${P} - -src_compile() { - ./do -j$(makeopts_jobs) build || die -} - -src_test() { - ./do -j$(makeopts_jobs) test || die -} - -src_install() { - DESTDIR="${D}" \ - DOCDIR="${D}/usr/share/doc/${PF}" \ - LIBDIR="${D}/usr/$(get_libdir)/${PN}" \ - ./do -j$(makeopts_jobs) \ - install || die - - python_fix_shebang "${D}" - - sed -i \ - -e 's|/lib/|/'"$(get_libdir)"'/|g' \ - "${D}"/usr/bin/* || die -} diff --git a/dev-util/redo/redo-99999.ebuild b/dev-util/redo/redo-99999.ebuild index 30c70257c019..0e2e3fc04077 100644 --- a/dev-util/redo/redo-99999.ebuild +++ b/dev-util/redo/redo-99999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) PYTHON_REQ_USE="sqlite" inherit git-r3 multilib multiprocessing python-single-r1 @@ -40,7 +40,7 @@ src_install() { ./do -j$(makeopts_jobs) \ install || die - python_fix_shebang "${D}" + python_fix_shebang --force "${ED}" sed -i \ -e 's|/lib/|/'"$(get_libdir)"'/|g' \ -- cgit v1.2.3-65-gdbad