diff options
Diffstat (limited to 'dev-util/redo')
-rw-r--r-- | dev-util/redo/Manifest | 1 | ||||
-rw-r--r-- | dev-util/redo/redo-0.42.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/redo/Manifest b/dev-util/redo/Manifest index f71b62ec897d..6afc66dfbf3d 100644 --- a/dev-util/redo/Manifest +++ b/dev-util/redo/Manifest @@ -1,2 +1,3 @@ DIST redo-0.31.tar.gz 105335 BLAKE2B 76171a4e7112c7478fcfe8d6f19ffb27660fa8566be3c2dded0026a993224731cdeb43c5cd7226b5537f69dc9de982e0dc9a95ade49809c93c81474879de8590 SHA512 c049a2eac7385813fe7ee8fb15f7b7de1fe1572071de91c8ebaca868d7b4ceec73d6433f1ba37b129ce7eda577c5823a5483ba69bf457cc3295d7fb9c23f42b2 DIST redo-0.41.tar.gz 140177 BLAKE2B 13a73843064fc9fb4607426c1d4d6358b688ba30671d4b5e60428481489ff59060b2bb0b1473f0926702100d311fcaeb846a5898209e07f0d0867766fb951a93 SHA512 c7826e82776a323243dafe5b8011ac619dc0376c2b36524aa1ad23bac54f9d946f395e12a4ea943ee065847db4817afbc5101a703d59e1f90b812a6ef028427b +DIST redo-0.42.tar.gz 194344 BLAKE2B ce17ba2bc8b6a074bfc5cae58cc99c1c41b2e8bab93a10f29d1178cb2071bd68ef5528529c320ee55063a4e3bce83705b486bc92992a9c0c18b65e7fec76fde5 SHA512 41b8417136f98d12edf3c62f027f2459ae3fb92f6c5464553d79c3a52344de57220a5c64b565118da0a99c1544eaa153a468ffcdcfbf7193c76c896bcd40e900 diff --git a/dev-util/redo/redo-0.42.ebuild b/dev-util/redo/redo-0.42.ebuild new file mode 100644 index 000000000000..8cafff06ad92 --- /dev/null +++ b/dev-util/redo/redo-0.42.ebuild @@ -0,0 +1,42 @@ +# 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" +BDEPEND=" + dev-python/beautifulsoup[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] +" +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 +} |