public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: dev-util/yumbootstrap/
Date: Sat,  6 Jun 2015 09:45:41 +0000 (UTC)	[thread overview]
Message-ID: <1433582794.5d354aab3ba31f95357270e2d03314cc13aa164a.jlec@gentoo> (raw)

commit:     5d354aab3ba31f95357270e2d03314cc13aa164a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 09:26:34 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 09:26:34 2015 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=5d354aab

dev-util/yumbootstrap: Fix python eclass usage

Package-Manager: portage-2.2.20

 dev-util/yumbootstrap/ChangeLog                    |  4 ++++
 .../yumbootstrap-0.0.3_p20150509.ebuild            | 24 ++++++++++------------
 2 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/dev-util/yumbootstrap/ChangeLog b/dev-util/yumbootstrap/ChangeLog
index 4ab2ed0..99d0058 100644
--- a/dev-util/yumbootstrap/ChangeLog
+++ b/dev-util/yumbootstrap/ChangeLog
@@ -1,2 +1,6 @@
+  06 Jun 2015; Justin Lecher <jlec@gentoo.org>
+  yumbootstrap-0.0.3_p20150509.ebuild:
+  dev-util/yumbootstrap: Fix python eclass usage
+
   06 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
   dev-util/yumbootstrap: Add github to remote-id in metadata.xml

diff --git a/dev-util/yumbootstrap/yumbootstrap-0.0.3_p20150509.ebuild b/dev-util/yumbootstrap/yumbootstrap-0.0.3_p20150509.ebuild
index 433a249..c8411f9 100644
--- a/dev-util/yumbootstrap/yumbootstrap-0.0.3_p20150509.ebuild
+++ b/dev-util/yumbootstrap/yumbootstrap-0.0.3_p20150509.ebuild
@@ -19,27 +19,25 @@ SLOT="0"
 KEYWORDS=""  # ~amd64 ~x86, lazy mask
 IUSE=""
 
-RDEPEND="app-arch/rpm[python]
+RDEPEND="
+	app-arch/rpm[python]
 	sys-apps/yum
 	dev-python/bsddb3"
 
 S="${WORKDIR}"/${PN}-${MY_PV}
 
-src_prepare() {
+python_prepare_all() {
 	sed 's,^import bsddb$,import bsddb3 as bsddb,' -i lib/yumbootstrap/bdb.py || die
 }
 
-src_install() {
-	distutils-r1_src_install
+python_install_all() {
+	DOCS=( KNOWN_ISSUES.md SUITES.md )
+	EXAMPLES=( examples )
+	distutils-r1_python_install_all
 
 	emake \
-			PREFIX=/usr \
-			SYSCONFDIR=/etc \
-			DESTDIR="${D}" \
-			install-notmodule || die
-
-	dodoc KNOWN_ISSUES.md SUITES.md 
-
-	insinto /usr/share/${PF}/
-	doins -r examples
+		PREFIX=/usr \
+		SYSCONFDIR=/etc \
+		DESTDIR="${D}" \
+		install-notmodule
 }


             reply	other threads:[~2015-06-06  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-06  9:45 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-02-27 17:32 [gentoo-commits] proj/betagarden:master commit in: dev-util/yumbootstrap/ Sebastian Pipping
2015-11-07 23:54 Sebastian Pipping
2015-06-22  1:09 Sebastian Pipping
2015-06-06  9:45 Justin Lecher
2015-05-16  0:50 Sebastian Pipping

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=1433582794.5d354aab3ba31f95357270e2d03314cc13aa164a.jlec@gentoo \
    --to=jlec@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