summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2016-08-22 15:18:20 +0200
committerSebastian Pipping <sping@gentoo.org>2016-08-22 15:18:20 +0200
commitb86dd7e8112082011116eb4f1f047d65f213e359 (patch)
treee870b106743e6a5acbe6e5f2af4c6530bca65f80 /app-portage
parentnet-misc/fatrat: Bump to git snapshot for bug #590700. (diff)
downloadgentoo-b86dd7e8112082011116eb4f1f047d65f213e359.tar.gz
gentoo-b86dd7e8112082011116eb4f1f047d65f213e359.tar.bz2
gentoo-b86dd7e8112082011116eb4f1f047d65f213e359.zip
app-portage/metagen: Needs app-portage/repoman
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/metagen/metagen-0.6.5-r1.ebuild38
-rw-r--r--app-portage/metagen/metagen-9999.ebuild7
2 files changed, 43 insertions, 2 deletions
diff --git a/app-portage/metagen/metagen-0.6.5-r1.ebuild b/app-portage/metagen/metagen-0.6.5-r1.ebuild
new file mode 100644
index 000000000000..cb82b1962b35
--- /dev/null
+++ b/app-portage/metagen/metagen-0.6.5-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="metadata.xml generator for ebuilds"
+HOMEPAGE="https://cgit.gentoo.org/proj/metagen.git"
+SRC_URI="https://cgit.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
+
+IUSE=""
+DEPEND=">=dev-python/jaxml-3.01[${PYTHON_USEDEP}]
+ || (
+ ( >=sys-apps/portage-2.3.0_rc1[${PYTHON_USEDEP}] app-portage/repoman )
+ <sys-apps/portage-2.3.0_rc1[${PYTHON_USEDEP}]
+ )"
+RDEPEND="${DEPEND}"
+
+python_install() {
+ distutils-r1_python_install
+ python_newscript metagen/main.py metagen
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ doman docs/metagen.1
+}
+
+python_test() {
+ "${PYTHON}" -c "from metagen import metagenerator; metagenerator.do_tests()" || die
+}
diff --git a/app-portage/metagen/metagen-9999.ebuild b/app-portage/metagen/metagen-9999.ebuild
index 8736dd8b316b..dc2ab7147562 100644
--- a/app-portage/metagen/metagen-9999.ebuild
+++ b/app-portage/metagen/metagen-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -18,7 +18,10 @@ KEYWORDS=""
IUSE=""
DEPEND=">=dev-python/jaxml-3.01[${PYTHON_USEDEP}]
- >=sys-apps/portage-2.1.9.42[${PYTHON_USEDEP}]"
+ || (
+ ( >=sys-apps/portage-2.3.0_rc1[${PYTHON_USEDEP}] app-portage/repoman )
+ <sys-apps/portage-2.3.0_rc1[${PYTHON_USEDEP}]
+ )"
RDEPEND="${DEPEND}"
python_install() {