diff options
Diffstat (limited to 'app-portage/metagen/metagen-0.6.2.ebuild')
-rw-r--r-- | app-portage/metagen/metagen-0.6.2.ebuild | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/app-portage/metagen/metagen-0.6.2.ebuild b/app-portage/metagen/metagen-0.6.2.ebuild deleted file mode 100644 index 85505a1..0000000 --- a/app-portage/metagen/metagen-0.6.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/metagen-0.6.2.ebuild,v 1.5 2012/02/07 16:19:50 jer Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" - -inherit distutils - -DESCRIPTION="metadata.xml generator for ebuilds" -HOMEPAGE="http://git.overlays.gentoo.org/gitweb/?p=proj/metagen.git;a=summary" -SRC_URI="http://dev.gentoo.org/~neurogeek/metagen_releases/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 hppa ppc x86 ~amd64-linux" - -IUSE="" -DEPEND=">=dev-python/jaxml-3.01 - >=sys-apps/portage-2.1.9.42" -RDEPEND="${DEPEND}" - -src_install() { - distutils_src_install - - metagen_install() { - local METAGEN_MOD="$(python_get_sitedir)/${PN}/main.py" - fperms 755 ${METAGEN_MOD} - dosym "${D}"${METAGEN_MOD} "/usr/bin/${PN}-${PYTHON_ABI}" - } - - python_execute_function metagen_install - python_generate_wrapper_scripts "${ED}usr/bin/${PN}" - - doman "docs/metagen.1" -} - -src_test() { - einfo "Starting tests..." - testing() { - $(PYTHON) -c "from metagen import metagenerator; metagenerator.do_tests()" - } - python_execute_function testing - einfo "Tests completed." -} |