From 9bebd5646e690bd96d7e3c02e0208e4789400e72 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Fri, 30 Oct 2015 16:19:45 +0100 Subject: [PATCH] app-portage/metagen: 0.6.3 (fixes bug #561908) Package-Manager: portage-2.2.23 --- app-portage/metagen/Manifest | 1 + app-portage/metagen/metagen-0.6.3.ebuild | 35 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 app-portage/metagen/metagen-0.6.3.ebuild diff --git a/app-portage/metagen/Manifest b/app-portage/metagen/Manifest index 18b28356ba3c8..59601888da74d 100644 --- a/app-portage/metagen/Manifest +++ b/app-portage/metagen/Manifest @@ -1 +1,2 @@ DIST metagen-0.6.2.tar.gz 6100 SHA256 d1f6c7a24fa9f7f119c9309ed2ec217bc0fd3da48568417a46220a40e2c74201 SHA512 0ab8d7755259b870c995c471f366a976f4acc336dda4c2fa1c4e5b78b5aa701fb75d4dd88ac0ee069a231550b07b89b4a8f724c94ec791efe6c4c64b97ac19ff WHIRLPOOL fa6b85934e58cc5b73237fb619d64bd87df148b8f70fa5df2bbf94ef986f1ea3e693b7e3eb25b56cbe26fe35fff5102ba5787a22ec94800d3d328ccc9606473c +DIST metagen-0.6.3.tar.bz2 6118 SHA256 655253786c3dafe2426a61d8585acfbbd4a560e0a2609331e230c72699b10494 SHA512 1a25e1ebd35ae97e0823aee2f929c09b9041c78496c2425cf5c0bf3d9f1747313dcf30b7e0a5d4e861cbd0caaf48b506f85eb5f25ab0b9e75a62514b0bb64ecd WHIRLPOOL 5e0c594ad728b6646a324d7c8115ad19f15304baad1922fb45e96a771355092e43ba3ae98f0f44e87f2c8e9d74af5ee75c09e86472329e1497dd81959467f927 diff --git a/app-portage/metagen/metagen-0.6.3.ebuild b/app-portage/metagen/metagen-0.6.3.ebuild new file mode 100644 index 0000000000000..966e8e4b332c8 --- /dev/null +++ b/app-portage/metagen/metagen-0.6.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 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.1.9.42[${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 +}