public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Dolbec" <dolsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/repoman/
Date: Sun, 22 May 2016 20:23:29 +0000 (UTC)	[thread overview]
Message-ID: <1463948554.0464e778f553069f2389eb4976bf6adb29cef93e.dolsen@gentoo> (raw)

commit:     0464e778f553069f2389eb4976bf6adb29cef93e
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 20:21:17 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sun May 22 20:22:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0464e778

app-portage/repoman: Add 9999 live ebuild

Package-Manager: portage-2.3.0_rc1

 app-portage/repoman/repoman-9999.ebuild | 108 ++++++++++++++++++++++++++++++++
 1 file changed, 108 insertions(+)

diff --git a/app-portage/repoman/repoman-9999.ebuild b/app-portage/repoman/repoman-9999.ebuild
new file mode 100644
index 0000000..dc0b12c
--- /dev/null
+++ b/app-portage/repoman/repoman-9999.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=(
+	pypy
+	python3_3 python3_4 python3_5
+	python2_7
+)
+PYTHON_REQ_USE='bzip2(+)'
+
+inherit distutils-r1 git-r3 multilib
+
+DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
+
+LICENSE="GPL-2"
+KEYWORDS=""
+SLOT="0"
+IUSE=""
+
+DEPEND="
+	dev-lang/python-exec:2
+	=sys-apps/portage-9999
+	"
+
+RDEPEND="
+	dev-lang/python-exec:2
+	=sys-apps/portage-9999
+	"
+
+SRC_ARCHIVES="https://dev.gentoo.org/~dolsen/releases/repoman"
+EGIT_REPO_URI="git://anongit.gentoo.org/proj/portage.git
+	https://github.com/gentoo/portage.git"
+
+prefix_src_archives() {
+	local x y
+	for x in ${@}; do
+		for y in ${SRC_ARCHIVES}; do
+			echo ${y}/${x}
+		done
+	done
+}
+
+TARBALL_PV=${PV}
+SRC_URI=""
+
+S="${WORKDIR}/${P}/repoman"
+
+python_prepare_all() {
+	distutils-r1_python_prepare_all
+
+	if [[ -n ${EPREFIX} ]] ; then
+		einfo "Setting portage.const.EPREFIX ..."
+		sed -e "s|^\(SANDBOX_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/sandbox\"\)|\\1${EPREFIX}\\2|" \
+			-e "s|^\(FAKEROOT_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/fakeroot\"\)|\\1${EPREFIX}\\2|" \
+			-e "s|^\(BASH_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/bash\"\)|\\1${EPREFIX}\\2|" \
+			-e "s|^\(MOVE_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/mv\"\)|\\1${EPREFIX}\\2|" \
+			-e "s|^\(PRELINK_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/sbin/prelink\"\)|\\1${EPREFIX}\\2|" \
+			-e "s|^\(EPREFIX[[:space:]]*=[[:space:]]*\"\).*|\\1${EPREFIX}\"|" \
+			-i pym/portage/const.py || \
+			die "Failed to patch portage.const.EPREFIX"
+
+		einfo "Prefixing shebangs ..."
+		while read -r -d $'\0' ; do
+			local shebang=$(head -n1 "$REPLY")
+			if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
+				sed -i -e "1s:.*:#!${EPREFIX}${shebang:2}:" "$REPLY" || \
+					die "sed failed"
+			fi
+		done < <(find . -type f -print0)
+	fi
+}
+
+python_test() {
+	esetup.py test
+}
+
+python_install() {
+	# Install sbin scripts to bindir for python-exec linking
+	# they will be relocated in pkg_preinst()
+	distutils-r1_python_install \
+		--system-prefix="${EPREFIX}/usr" \
+		--bindir="$(python_get_scriptdir)" \
+		--docdir="${EPREFIX}/usr/share/doc/${PF}" \
+		--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
+		--sbindir="$(python_get_scriptdir)" \
+		--sysconfdir="${EPREFIX}/etc" \
+		"${@}"
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+	einfo ""
+	einfo "This release of repoman is from the new portage/repoman split"
+	einfo "release code base."
+	einfo "This new repoman code base is still being developed.  So its API's"
+	einfo "are not to be considered stable and are subject to change."
+	einfo "The code released has been tested and considered ready for use."
+	einfo "This however does not guarantee it to be completely bug free."
+	einfo "Please report any bugs you may encounter."
+	einfo ""
+}


             reply	other threads:[~2016-05-22 20:23 UTC|newest]

Thread overview: 182+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-22 20:23 Brian Dolbec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-09  6:03 [gentoo-commits] repo/gentoo:master commit in: app-portage/repoman/ Sam James
2022-03-09 21:15 Matt Turner
2021-08-15 19:46 Sam James
2021-08-13 21:54 Sam James
2021-08-11 23:10 Sam James
2021-08-11 23:10 Sam James
2021-08-11 23:10 Sam James
2021-08-11 23:10 Sam James
2021-08-11 23:10 Sam James
2021-06-06  6:11 Zac Medico
2021-06-04  8:52 Michał Górny
2021-04-11 18:26 Zac Medico
2021-03-31  8:19 Zac Medico
2021-03-29  7:59 Zac Medico
2021-02-23 23:09 Zac Medico
2021-01-06 13:23 Fabian Groffen
2020-12-27 14:01 Fabian Groffen
2020-11-04 12:29 Mike Frysinger
2020-10-18  8:31 Zac Medico
2020-10-07 17:06 Zac Medico
2020-10-07 10:17 Georgy Yakovlev
2020-09-18 10:14 Agostino Sarubbo
2020-09-06 18:00 Sam James
2020-09-06 17:10 Georgy Yakovlev
2020-09-05 16:17 Thomas Deutschmann
2020-09-04 10:31 Sergei Trofimovich
2020-09-04  5:03 Sam James
2020-09-04  4:29 Sam James
2020-09-04  4:28 Sam James
2020-08-19  7:30 Zac Medico
2020-08-19  5:43 Zac Medico
2020-08-17  7:22 Zac Medico
2020-08-17  6:13 Zac Medico
2020-06-23  4:57 Zac Medico
2020-06-23  4:57 Zac Medico
2020-05-08  9:36 Sergei Trofimovich
2020-05-04 15:29 Agostino Sarubbo
2020-05-04 15:15 Agostino Sarubbo
2020-05-04 13:33 Agostino Sarubbo
2020-05-04 13:32 Agostino Sarubbo
2020-05-04 13:31 Agostino Sarubbo
2020-05-04 13:30 Agostino Sarubbo
2020-05-04 13:29 Agostino Sarubbo
2020-05-04  6:16 Mart Raudsepp
2020-04-03  7:37 Mart Raudsepp
2020-03-25 20:58 Zac Medico
2020-03-19  9:41 Michał Górny
2020-03-15 13:06 Mikle Kolyada
2020-03-15  2:08 Zac Medico
2020-02-13  9:17 Agostino Sarubbo
2020-01-27 11:52 Mikle Kolyada
2020-01-26 11:32 Sergei Trofimovich
2020-01-23 10:36 Agostino Sarubbo
2020-01-21 10:42 Agostino Sarubbo
2020-01-21 10:35 Agostino Sarubbo
2020-01-21  9:03 Agostino Sarubbo
2020-01-21  8:44 Agostino Sarubbo
2020-01-21  3:46 Georgy Yakovlev
2020-01-21  0:37 Zac Medico
2020-01-13  9:39 Michał Górny
2020-01-03 23:42 Zac Medico
2020-01-03 22:22 Zac Medico
2019-12-06  7:52 Zac Medico
2019-11-27  4:21 Zac Medico
2019-11-09  6:00 Zac Medico
2019-09-13 15:39 Mikle Kolyada
2019-09-13 15:39 Mikle Kolyada
2019-09-13 15:39 Mikle Kolyada
2019-08-05  6:20 Zac Medico
2019-07-26  8:47 Agostino Sarubbo
2019-07-26  8:39 Agostino Sarubbo
2019-07-26  8:39 Agostino Sarubbo
2019-07-24 21:52 Sergei Trofimovich
2019-07-24 21:51 Sergei Trofimovich
2019-07-24 21:49 Sergei Trofimovich
2019-07-24 21:47 Sergei Trofimovich
2019-07-24 20:49 Thomas Deutschmann
2019-07-24 12:27 Aaron Bauman
2019-07-24  7:04 Mikle Kolyada
2019-07-24  2:59 Zac Medico
2019-06-23 18:20 Zac Medico
2019-06-23 17:49 Zac Medico
2019-06-20  1:21 Zac Medico
2019-06-20  1:10 Zac Medico
2019-06-03 22:24 Zac Medico
2019-05-26  7:55 Zac Medico
2019-05-04 14:28 Andreas K. Hüttel
2018-11-04  3:28 Zac Medico
2018-11-04  0:13 Zac Medico
2018-10-13  6:56 Tobias Klausmann
2018-10-12 16:23 Mikle Kolyada
2018-10-11 16:50 Tobias Klausmann
2018-10-09  9:38 Mikle Kolyada
2018-10-06 23:05 Thomas Deutschmann
2018-10-06 22:37 Mart Raudsepp
2018-10-06 18:23 Sergei Trofimovich
2018-10-06 17:13 Sergei Trofimovich
2018-10-06 16:48 Matt Turner
2018-10-05 17:08 Mikle Kolyada
2018-09-26 20:49 Sergei Trofimovich
2018-09-22  9:41 Zac Medico
2018-09-19  0:49 Thomas Deutschmann
2018-09-18 22:11 Sergei Trofimovich
2018-09-18 18:59 Sergei Trofimovich
2018-09-18  1:53 Matt Turner
2018-09-18  1:53 Matt Turner
2018-09-17 21:06 Mart Raudsepp
2018-09-17  6:07 Mikle Kolyada
2018-09-16  8:10 Mikle Kolyada
2018-08-05 19:45 Zac Medico
2018-08-05 19:45 Zac Medico
2018-07-17 19:52 Zac Medico
2018-07-16  7:13 Zac Medico
2018-07-02 18:27 Markus Meier
2018-06-27 22:15 Sergei Trofimovich
2018-06-27 21:54 Sergei Trofimovich
2018-06-19 17:29 Tobias Klausmann
2018-06-18 18:31 Sergei Trofimovich
2018-06-03 18:52 Zac Medico
2018-06-03 10:34 Mikle Kolyada
2018-06-02 19:11 Mart Raudsepp
2018-06-02 17:51 Sergei Trofimovich
2018-06-02  9:04 Mikle Kolyada
2018-05-13 15:36 Zac Medico
2018-04-04 21:00 Zac Medico
2018-03-30 23:46 Zac Medico
2018-03-30  7:03 Zac Medico
2018-03-30  5:25 Zac Medico
2018-03-30  4:30 Zac Medico
2018-03-28  7:57 Zac Medico
2018-03-15 14:29 Mikle Kolyada
2018-03-06 13:32 Tobias Klausmann
2018-03-01 22:11 Mart Raudsepp
2018-01-21 22:32 Sergei Trofimovich
2018-01-21 22:25 Sergei Trofimovich
2018-01-21 20:30 Thomas Deutschmann
2018-01-18 21:58 Sergei Trofimovich
2018-01-17 19:49 Mikle Kolyada
2017-12-22  5:20 Markus Meier
2017-12-12 12:27 Fabian Groffen
2017-11-27 22:19 James Le Cuirot
2017-11-15 19:21 Matt Turner
2017-11-15  7:34 Sergei Trofimovich
2017-11-14 22:03 Zac Medico
2017-11-14  5:24 Zac Medico
2017-11-14  5:15 Zac Medico
2017-10-27 11:42 Manuel Rüger
2017-10-25 16:42 Brian Dolbec
2017-10-18 15:32 Sergei Trofimovich
2017-10-13  0:13 Sergei Trofimovich
2017-10-02 23:45 Thomas Deutschmann
2017-10-02 12:16 Manuel Rüger
2017-09-24 17:17 Sergei Trofimovich
2017-09-19 19:46 Markus Meier
2017-09-19 19:29 Sergei Trofimovich
2017-07-18 22:51 Brian Dolbec
2017-05-27 15:46 David Seifert
2017-05-09 16:31 Markus Meier
2017-04-30  9:36 Jeroen Roovers
2017-03-09 15:54 Michael Haubenwallner
2017-03-02  2:27 Brian Dolbec
2017-02-28 11:22 Tobias Klausmann
2017-02-23 16:30 Agostino Sarubbo
2017-02-23 15:55 Agostino Sarubbo
2017-02-12 22:56 Zac Medico
2017-01-27 15:38 Fabian Groffen
2016-12-12 17:11 Mike Gilbert
2016-12-12 16:27 Michał Górny
2016-12-12  1:32 Brian Dolbec
2016-11-12  4:29 Mike Frysinger
2016-10-15  9:52 Pacho Ramos
2016-10-14 10:34 Agostino Sarubbo
2016-09-23 17:40 Tobias Klausmann
2016-08-18 19:30 Markus Meier
2016-08-13 11:33 Jeroen Roovers
2016-07-27 22:47 Zac Medico
2016-06-27 10:22 Zac Medico
2016-06-23 17:44 Brian Dolbec
2016-05-22 21:21 Brian Dolbec
2016-05-16 16:20 Brian Dolbec
2016-05-16  0:41 Brian Dolbec

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=1463948554.0464e778f553069f2389eb4976bf6adb29cef93e.dolsen@gentoo \
    --to=dolsen@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