public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-text/stdman/files/, app-text/stdman/
Date: Sun,  8 Nov 2020 16:12:51 +0000 (UTC)	[thread overview]
Message-ID: <1604848438.499a43881828e1cfe40b5b6be0f3d4f16b922455.andrewammerlaan@gentoo> (raw)

commit:     499a43881828e1cfe40b5b6be0f3d4f16b922455
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Sun Nov  8 15:13:58 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Nov  8 15:13:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=499a4388

app-text/stdman: add new package

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 .../stdman/files/stdman-dont-compress-files.patch  | 11 +++++++++
 app-text/stdman/metadata.xml                       |  8 +++++++
 app-text/stdman/stdman-9999.ebuild                 | 27 ++++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/app-text/stdman/files/stdman-dont-compress-files.patch b/app-text/stdman/files/stdman-dont-compress-files.patch
new file mode 100644
index 00000000..fdc609ed
--- /dev/null
+++ b/app-text/stdman/files/stdman-dont-compress-files.patch
@@ -0,0 +1,11 @@
+diff --git a/do_install b/do_install
+index acce4650..121c1b82 100755
+--- a/do_install
++++ b/do_install
+@@ -16,6 +16,5 @@ mkdir -p $mandir/man3
+ for file in "$tmp_man"/*.3 ; do
+   out=$mandir/man3/$(basename "$file");
+   install -m 0644 "$file" "$out";
+-  gzip -f "$out";
+ done
+ echo "Done; it's advised to run 'sudo mandb' (GNU) or 'sudo makewhatis' (BSD) now."

diff --git a/app-text/stdman/metadata.xml b/app-text/stdman/metadata.xml
new file mode 100644
index 00000000..01c1fc84
--- /dev/null
+++ b/app-text/stdman/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>davidroman96@gmail.com</email>
+		<name>David Roman</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/app-text/stdman/stdman-9999.ebuild b/app-text/stdman/stdman-9999.ebuild
new file mode 100644
index 00000000..70d17373
--- /dev/null
+++ b/app-text/stdman/stdman-9999.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+DESCRIPTION="Formatted C++ stdlib man pages (cppreference)"
+HOMEPAGE="https://github.com/jeaye/stdman"
+LICENSE="MIT"
+
+SLOT="0"
+IUSE=""
+
+RDEPEND=""
+
+PATCHES=( "${FILESDIR}/${PN}-dont-compress-files.patch" )
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/jeaye/stdman"
+fi
+
+src_compile() {
+	# don't need to compile anything
+	true
+}


                 reply	other threads:[~2020-11-08 16:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1604848438.499a43881828e1cfe40b5b6be0f3d4f16b922455.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox