summaryrefslogtreecommitdiff
path: root/dev-util/redo
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/redo')
-rw-r--r--dev-util/redo/Manifest3
-rw-r--r--dev-util/redo/metadata.xml11
-rw-r--r--dev-util/redo/redo-0.21.ebuild34
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/redo/Manifest b/dev-util/redo/Manifest
new file mode 100644
index 000000000000..44636fff33ba
--- /dev/null
+++ b/dev-util/redo/Manifest
@@ -0,0 +1,3 @@
+DIST redo-0.21.tar.gz 87347 BLAKE2B 1d97f6b4f862e61f9074d0dd57293b3ab61a4f3f26781b242450bd1e194b941a8a169767739ddfffd0a8d721a95229637e8c6d9083d2c67d664b19551db0bc6d SHA512 8fe9ba0a5b0b4bf9073456a4b4fa7bebcb51ceb4fb06a16dd671fc48ba480f2ee4ba1eae48cebc3c15687de43833324eb6f98642843be71ab7aa2fe471ab7958
+EBUILD redo-0.21.ebuild 769 BLAKE2B ca81f6cbe3599bcc65b5c61b4944e08f2738a0a482ac4229e494990d18d45a470ee430cc3ccb515108dc1159299f53fa38ed026635cbdfad44547cc9267fc775 SHA512 d7268b81bfa3af2061650000aac9796dc3df0c85558864a2d07f2f232ec6ab09d5a8b27e58ee933a765197bf1d01acc9b204c41a7d6c883d892dbdefc19e099e
+MISC metadata.xml 351 BLAKE2B 4093a6abf023ec3d67b11cc94ed6ae14d735ae51748f05ed328f64c44885ba68b72927b4601503ce4d20747f34bdeff17adfa9514c6259c9590609cdcee85128 SHA512 38a2902d3f8370fe111c11b4622250c5c76b2f3d03eca795b0d2ceaec0679fec274b98cf2df726559469844c18de00ac84eed6b391992d1b5aec88ff51ec96b9
diff --git a/dev-util/redo/metadata.xml b/dev-util/redo/metadata.xml
new file mode 100644
index 000000000000..cb9c806b559d
--- /dev/null
+++ b/dev-util/redo/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+Smaller, easier, more powerful, and more reliable than make. An implementation
+of djb's redo.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-util/redo/redo-0.21.ebuild b/dev-util/redo/redo-0.21.ebuild
new file mode 100644
index 000000000000..a109d053e056
--- /dev/null
+++ b/dev-util/redo/redo-0.21.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2018 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 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"
+DEPEND="
+ dev-python/beautifulsoup[${PYTHON_USEDEP}]
+ dev-python/markdown[${PYTHON_USEDEP}]
+"
+S=${WORKDIR}/${PN}-${P}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ DOCDIR="${D}/usr/share/doc/${PF}" \
+ LIBDIR="${D}/usr/$(get_libdir)/${PN}" \
+ install
+
+ python_fix_shebang "${D}"
+
+ sed -i \
+ -e 's|/lib/|/'"$(get_libdir)"'/|g' \
+ "${D}"/usr/bin/* || die
+}