public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/no-distcc-env/
Date: Mon, 22 Jul 2019 18:36:06 +0000 (UTC)	[thread overview]
Message-ID: <1563820546.bbf87b340dc007fba1b4229d5569e8b4ae399436.mattst88@gentoo> (raw)

commit:     bbf87b340dc007fba1b4229d5569e8b4ae399436
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 22 18:22:13 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Jul 22 18:35:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf87b34

app-portage/no-distcc-env: New package

Bug: https://bugs.gentoo.org/669978
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 app-portage/no-distcc-env/metadata.xml             |  8 +++++
 .../no-distcc-env/no-distcc-env-9999.ebuild        | 36 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/app-portage/no-distcc-env/metadata.xml b/app-portage/no-distcc-env/metadata.xml
new file mode 100644
index 00000000000..b58e8386fcb
--- /dev/null
+++ b/app-portage/no-distcc-env/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>mattst88@gentoo.org</email>
+		<name>Matt Turner</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/app-portage/no-distcc-env/no-distcc-env-9999.ebuild b/app-portage/no-distcc-env/no-distcc-env-9999.ebuild
new file mode 100644
index 00000000000..3a4ae008947
--- /dev/null
+++ b/app-portage/no-distcc-env/no-distcc-env-9999.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git"
+
+if [[ ${PV} = 9999* ]]; then
+	GIT_ECLASS="git-r3"
+fi
+
+inherit ${GIT_ECLASS}
+
+DESCRIPTION="package.env files to disable distcc on a per-package basis"
+HOMEPAGE="https://gitweb.gentoo.org/proj/no-distcc-env.git/"
+if [[ ${PV} = 9999* ]]; then
+	SRC_URI=""
+else
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+	SRC_URI="https://github.com/anholt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="public-domain"
+SLOT="0"
+IUSE=""
+
+src_unpack() {
+	default
+	[[ $PV = 9999* ]] && git-r3_src_unpack
+}
+
+src_install() {
+	insinto /etc/portage
+	doins -r "${WORKDIR}/${P}"/env
+	doins -r "${WORKDIR}/${P}"/package.env
+}


             reply	other threads:[~2019-07-22 18:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-22 18:36 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-25 18:49 [gentoo-commits] repo/gentoo:master commit in: app-portage/no-distcc-env/ Matt Turner

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=1563820546.bbf87b340dc007fba1b4229d5569e8b4ae399436.mattst88@gentoo \
    --to=mattst88@gentoo.org \
    --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