From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2FACE138CD3 for ; Sat, 6 Jun 2015 09:46:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22454E0884; Sat, 6 Jun 2015 09:45:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 83240E0884 for ; Sat, 6 Jun 2015 09:45:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA7CE340CBF for ; Sat, 6 Jun 2015 09:45:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 966F0A36 for ; Sat, 6 Jun 2015 09:45:41 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1433582794.5d354aab3ba31f95357270e2d03314cc13aa164a.jlec@gentoo> Subject: [gentoo-commits] proj/betagarden:master commit in: dev-util/yumbootstrap/ X-VCS-Repository: proj/betagarden X-VCS-Files: dev-util/yumbootstrap/ChangeLog dev-util/yumbootstrap/yumbootstrap-0.0.3_p20150509.ebuild X-VCS-Directories: dev-util/yumbootstrap/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 5d354aab3ba31f95357270e2d03314cc13aa164a X-VCS-Branch: master Date: Sat, 6 Jun 2015 09:45:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8db6456a-80ee-48b3-8d48-6f666b913926 X-Archives-Hash: 3243f09ab90bd1e0d244e12087d6f708 commit: 5d354aab3ba31f95357270e2d03314cc13aa164a Author: Justin Lecher gentoo org> AuthorDate: Sat Jun 6 09:26:34 2015 +0000 Commit: Justin Lecher gentoo 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 + yumbootstrap-0.0.3_p20150509.ebuild: + dev-util/yumbootstrap: Fix python eclass usage + 06 Jun 2015; Justin Lecher 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 }