From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/gentoopm/
Date: Wed, 30 Nov 2016 09:42:22 +0000 (UTC) [thread overview]
Message-ID: <1480498936.e0327084bd6049a0e1bac498eb1f13e544fbb054.mgorny@gentoo> (raw)
commit: e0327084bd6049a0e1bac498eb1f13e544fbb054
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 30 09:40:04 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 09:42:16 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0327084
app-portage/gentoopm: Unifdef and modernize the live ebuild
app-portage/gentoopm/gentoopm-9999.ebuild | 35 ++++++++++++++-----------------
1 file changed, 16 insertions(+), 19 deletions(-)
diff --git a/app-portage/gentoopm/gentoopm-9999.ebuild b/app-portage/gentoopm/gentoopm-9999.ebuild
index b477ec6..a1bcef5 100644
--- a/app-portage/gentoopm/gentoopm-9999.ebuild
+++ b/app-portage/gentoopm/gentoopm-9999.ebuild
@@ -2,41 +2,38 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
-inherit distutils-r1
-
-#if LIVE
EGIT_REPO_URI="https://github.com/mgorny/gentoopm.git"
-inherit git-r3
-#endif
+inherit distutils-r1 git-r3
DESCRIPTION="A common interface to Gentoo package managers"
HOMEPAGE="https://github.com/mgorny/gentoopm/"
-SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
+SRC_URI=""
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
+KEYWORDS=""
IUSE="doc"
-RDEPEND="|| (
- sys-apps/pkgcore
+RDEPEND="
+ || (
+ sys-apps/pkgcore[${PYTHON_USEDEP}]
>=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}]
- >=sys-apps/paludis-0.64.2[python-bindings] )"
-DEPEND="doc? ( dev-python/epydoc )"
+ >=sys-apps/paludis-2.6.0[python,${PYTHON_USEDEP}] )"
+DEPEND="doc? ( dev-python/epydoc[$(python_gen_usedep python2_7)] )"
PDEPEND="app-eselect/eselect-package-manager"
-#if LIVE
-KEYWORDS=
-SRC_URI=
-#endif
+REQUIRED_USE="doc? ( $(python_gen_useflags python2_7) )"
+
+src_configure() {
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2_7 )
+ distutils-r1_src_configure
+}
python_compile_all() {
- if use doc; then
- esetup.py doc
- fi
+ use doc && esetup.py doc
}
python_test() {
next reply other threads:[~2016-11-30 9:42 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 9:42 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-09 14:50 [gentoo-commits] repo/gentoo:master commit in: app-portage/gentoopm/ Michał Górny
2024-01-29 6:38 WANG Xuerui
2023-08-08 16:31 Sam James
2023-08-08 16:31 Sam James
2023-05-30 0:20 Sam James
2023-04-25 22:52 Sam James
2023-04-08 18:45 Michał Górny
2023-04-08 16:59 Arthur Zamarin
2023-01-31 12:18 Jakov Smolić
2023-01-20 4:50 Michał Górny
2023-01-18 16:21 Michał Górny
2022-12-06 0:33 Georgy Yakovlev
2022-08-10 14:20 Michał Górny
2022-07-28 12:06 Sam James
2022-06-05 7:15 Sam James
2022-06-05 6:56 Sam James
2022-03-24 21:27 Michał Górny
2022-03-24 19:03 Jakov Smolić
2022-02-07 20:30 Michał Górny
2022-02-06 23:23 Michał Górny
2022-02-06 23:23 Michał Górny
2022-02-02 7:25 Sam James
2022-01-24 19:19 Sam James
2021-06-04 9:55 Michał Górny
2021-04-28 8:16 Michał Górny
2021-04-27 23:07 Sam James
2021-03-28 13:00 Sam James
2021-03-28 12:59 Sam James
2021-03-28 12:59 Sam James
2021-03-27 9:35 Michał Górny
2021-03-27 8:19 Michał Górny
2021-03-05 7:16 Michał Górny
2021-03-05 7:16 Michał Górny
2021-01-07 23:19 Michał Górny
2021-01-07 23:19 Michał Górny
2020-10-25 21:48 Sam James
2020-10-25 21:34 Thomas Deutschmann
2020-09-27 16:19 Sam James
2020-09-16 13:17 Michał Górny
2020-05-30 7:12 Michał Górny
2020-03-19 17:20 Michał Górny
2020-03-15 18:27 Agostino Sarubbo
2020-03-13 19:15 Agostino Sarubbo
2020-02-11 11:38 Michał Górny
2019-12-16 14:38 Michał Górny
2019-12-05 20:58 Craig Andrews
2019-11-13 17:15 Michał Górny
2019-05-18 10:02 Michał Górny
2018-09-19 11:31 Mikle Kolyada
2018-07-17 11:34 Michał Górny
2018-05-27 10:26 Mikle Kolyada
2018-05-27 8:41 Michał Górny
2018-05-08 16:04 Michał Górny
2018-05-08 16:04 Michał Górny
2017-05-19 22:33 Michał Górny
2017-04-22 9:56 Pacho Ramos
2017-02-25 22:11 Michał Górny
2016-11-30 9:42 Michał Górny
2016-11-27 22:15 Michał Górny
2016-03-20 2:40 Mike Gilbert
2015-10-22 17:50 Mike Gilbert
2015-08-10 14:04 Michał Górny
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=1480498936.e0327084bd6049a0e1bac498eb1f13e544fbb054.mgorny@gentoo \
--to=mgorny@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