summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-15 09:30:13 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-15 09:30:53 +0200
commit953503763f0616d9827319e39fce0af7fb66ba3d (patch)
tree87fab1636687fb4424bc71105a1b5d69e8ae8c7e /dev-util/redo
parentnet-analyzer/tcpreplay: Version 4.3.3 (diff)
downloadgentoo-953503763f0616d9827319e39fce0af7fb66ba3d.tar.gz
gentoo-953503763f0616d9827319e39fce0af7fb66ba3d.tar.bz2
gentoo-953503763f0616d9827319e39fce0af7fb66ba3d.zip
dev-util/redo: Version 0.42c
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-util/redo')
-rw-r--r--dev-util/redo/Manifest1
-rw-r--r--dev-util/redo/redo-0.42c.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/redo/Manifest b/dev-util/redo/Manifest
index 792f0935e826..87db2b28ed6d 100644
--- a/dev-util/redo/Manifest
+++ b/dev-util/redo/Manifest
@@ -1,2 +1,3 @@
DIST redo-0.42.tar.gz 194344 BLAKE2B ce17ba2bc8b6a074bfc5cae58cc99c1c41b2e8bab93a10f29d1178cb2071bd68ef5528529c320ee55063a4e3bce83705b486bc92992a9c0c18b65e7fec76fde5 SHA512 41b8417136f98d12edf3c62f027f2459ae3fb92f6c5464553d79c3a52344de57220a5c64b565118da0a99c1544eaa153a468ffcdcfbf7193c76c896bcd40e900
DIST redo-0.42a.tar.gz 195053 BLAKE2B 3e84e961eeb66396d5d5aa8a3f05f10d4000089d12c36bd8e061c163e050b9bc125cd8dcc5987c9f3b25e2b8803ff7c34d48a173ab91fc4a3e9fd63c114adc8a SHA512 8473bd8168c8e70b59a573560f8f725c8538061ee15eabeb63e467a363fa6869aa8088e8ce324726da4e2f7115e2ddf72cbb657703e9090f4f93c05f42bb67cb
+DIST redo-0.42c.tar.gz 195232 BLAKE2B b24969d71b247d02642340cebbf325e2ae68d4893d02e489930120e6aac76bd3099fd42e7dc36dae1fdea5c7825657957291876b906c2671a6319f8eb45a9d91 SHA512 3196ff5941d9e62084c7332a6771edd0db0082a499ba16fb6de273295c65b734e7dadb29a9fca3e6266421bc964369a8e725ef55f59ade2ecfb5e8bcc446ced0
diff --git a/dev-util/redo/redo-0.42c.ebuild b/dev-util/redo/redo-0.42c.ebuild
new file mode 100644
index 000000000000..47a81ecf2022
--- /dev/null
+++ b/dev-util/redo/redo-0.42c.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2018-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_REQ_USE="sqlite"
+inherit multilib multiprocessing python-utils-r1 python-single-r1
+
+DESCRIPTION="Smaller, easier, more powerful, and more reliable than make"
+HOMEPAGE="https://github.com/apenwarr/redo"
+SRC_URI="https://github.com/apenwarr/redo/archive/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/beautifulsoup[${PYTHON_MULTI_USEDEP}]
+ dev-python/markdown[${PYTHON_MULTI_USEDEP}]
+ ')
+ ${PYTHON_DEPS}
+"
+RDEPEND="
+ ${BDEPEND}
+"
+S=${WORKDIR}/${PN}-${P}
+
+src_configure() {
+ echo ${PYTHON} > redo/whichpython || die
+}
+
+src_compile() {
+ ./do -j$(makeopts_jobs) build || die
+}
+
+src_test() {
+ local ARCH= CFLAGS= CXXFLAGS= LDFLAGS=
+ ./do -j$(makeopts_jobs) test || die
+}
+
+src_install() {
+ DESTDIR="${D}" \
+ DOCDIR="${D}/usr/share/doc/${PF}" \
+ LIBDIR="${D}/$(python_get_sitedir)/${PN}" \
+ ./do -j$(makeopts_jobs) \
+ install || die
+
+ python_fix_shebang "${D}"
+
+ sed -i \
+ -e 's|/lib/|/'"$(get_libdir)"'/|g' \
+ "${D}"/usr/bin/* || die
+
+ python_optimize
+}