[gentoo-commits] repo/proj/guru:master commit in: dev-util/mh/

2021-08-07 Thread Florian Schmaus
commit: 5abb1aaf94b6b99d854cb45a6a50c8c79c2bfbf2
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Fri Aug  6 00:43:39 2021 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Fri Aug  6 00:43:39 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5abb1aaf

dev-util/mh: update maintainers

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-util/mh/metadata.xml | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-util/mh/metadata.xml b/dev-util/mh/metadata.xml
index 06eced278..f7c437466 100644
--- a/dev-util/mh/metadata.xml
+++ b/dev-util/mh/metadata.xml
@@ -1,14 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
Oz Tiram
oz.ti...@gmail.com

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

A small program you put in your Makefile to produce fancy help.
mh parses the comments you put after targets and variables, and



[gentoo-commits] repo/proj/guru:master commit in: dev-util/mh/

2021-08-03 Thread Andrew Ammerlaan
commit: 394e9d42bf55730ed4a260b17497053e27c7d2b8
Author: Oz N Tiram  gmail  com>
AuthorDate: Mon Aug  2 07:58:10 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Aug  2 08:03:13 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=394e9d42

dev-util/mh: initial import

Signed-off-by: Oz N Tiram  gmail.com>

 dev-util/mh/Manifest|  1 +
 dev-util/mh/metadata.xml| 23 +++
 dev-util/mh/mh-1.0.3.ebuild | 33 +
 3 files changed, 57 insertions(+)

diff --git a/dev-util/mh/Manifest b/dev-util/mh/Manifest
new file mode 100644
index 0..17cb68dc9
--- /dev/null
+++ b/dev-util/mh/Manifest
@@ -0,0 +1 @@
+DIST mh-1.0.3.tar.gz 929281 BLAKE2B 
4a565dc317c9d0d6d3678bc9c4de56b186175414a84437c59deb0c10b8c3d6432e974deb995c9ed954e144bc8e7bac0145215409de88956d71c570eb8590ed63
 SHA512 
7f3e64bcac4743b746e5c0fbbc7579066ec563ac3a5f5fbbc1eb540111843ed72000c7b0fbb3787b1f9015d9c434fa99af5179f7c47cf7f217bf27a3f7ae6b05

diff --git a/dev-util/mh/metadata.xml b/dev-util/mh/metadata.xml
new file mode 100644
index 0..06eced278
--- /dev/null
+++ b/dev-util/mh/metadata.xml
@@ -0,0 +1,23 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   Oz Tiram
+   oz.ti...@gmail.com
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   A small program you put in your Makefile to produce fancy help.
+   mh parses the comments you put after targets and variables, and
+   produces a help menu, which helps understanding what each target
+   does. This is useful, if Makefile is used as a task launcher for
+   different tools (e.g. wrapper around docker, yarn, npm and 
setup.py
+   etc.)
+   
+   
+   oz123/mh
+   
+

diff --git a/dev-util/mh/mh-1.0.3.ebuild b/dev-util/mh/mh-1.0.3.ebuild
new file mode 100644
index 0..d2c0f855c
--- /dev/null
+++ b/dev-util/mh/mh-1.0.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Generate help for Makefile"
+HOMEPAGE="https://github.com/oz123/mh;
+SRC_URI="https://github.com/oz123/mh/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="BSD"
+SLOT=0
+
+IUSE="test"
+KEYWORDS="~amd64"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="virtual/pkgconfig"
+
+RDEPEND="dev-libs/libpcre2"
+
+DEPEND="
+   ${RDEPEND}
+   test? ( dev-util/cmocka )
+   "
+
+src_compile() {
+   emake mh VERSION="${PV}"
+}
+
+src_install() {
+   emake install DESTDIR="${D}" PREFIX="/usr"
+   dodoc Makefile.example
+}