diff options
author | Sebastian Pipping <sping@gentoo.org> | 2010-03-22 23:16:35 +0000 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2010-03-22 23:16:35 +0000 |
commit | 8307263575d9a1afdbd0dd5f4e8d1d4a6a7b0736 (patch) | |
tree | 4bb950a6a148d1c1a378bb4f5e51c6fa4be26faa /app-portage | |
parent | Use TTF version of Fontin as recommended by upstream. (diff) | |
download | gentoo-2-8307263575d9a1afdbd0dd5f4e8d1d4a6a7b0736.tar.gz gentoo-2-8307263575d9a1afdbd0dd5f4e8d1d4a6a7b0736.tar.bz2 gentoo-2-8307263575d9a1afdbd0dd5f4e8d1d4a6a7b0736.zip |
app-portage/metagen: Add live ebuild, add neurogeek and me as maintainers
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/metagen/ChangeLog | 10 | ||||
-rw-r--r-- | app-portage/metagen/metadata.xml | 6 | ||||
-rw-r--r-- | app-portage/metagen/metagen-9999.ebuild | 44 |
3 files changed, 58 insertions, 2 deletions
diff --git a/app-portage/metagen/ChangeLog b/app-portage/metagen/ChangeLog index f63f5857bfbf..677a8dbf82db 100644 --- a/app-portage/metagen/ChangeLog +++ b/app-portage/metagen/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-portage/metagen -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/ChangeLog,v 1.16 2007/10/16 04:48:04 jer Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/ChangeLog,v 1.17 2010/03/22 23:16:35 sping Exp $ + +*metagen-9999 (22 Mar 2010) + + 22 Mar 2010; Sebastian Pipping <sping@gentoo.org> +metagen-9999.ebuild, + metadata.xml: + Add live ebuild, add neurogeek and me as maintainers 16 Oct 2007; Jeroen Roovers <jer@gentoo.org> metagen-0.5.ebuild: Stable for HPPA too. Fixed quoting issues. diff --git a/app-portage/metagen/metadata.xml b/app-portage/metagen/metadata.xml index 5bf3bcbe8455..a5acaea63239 100644 --- a/app-portage/metagen/metadata.xml +++ b/app-portage/metagen/metadata.xml @@ -3,6 +3,12 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> + <email>neurogeek@gentoo.org</email> +</maintainer> +<maintainer> + <email>sping@gentoo.org</email> +</maintainer> +<maintainer> <email>pythonhead@gentoo.org</email> <name>Rob Cakebread</name> <description>I'm the author of metagen</description> diff --git a/app-portage/metagen/metagen-9999.ebuild b/app-portage/metagen/metagen-9999.ebuild new file mode 100644 index 000000000000..9c0d64fb179e --- /dev/null +++ b/app-portage/metagen/metagen-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/metagen-9999.ebuild,v 1.1 2010/03/22 23:16:35 sping Exp $ + +inherit git python + +DESCRIPTION="metadata.xml generator for ebuilds" +HOMEPAGE="http://git.overlays.gentoo.org/gitweb/?p=proj/metagen.git;a=summary" +SRC_URI="" +EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/metagen.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" + +IUSE="" +DEPEND=">=dev-python/jaxml-3.01 + >=dev-lang/python-2.3.3" + +src_install() { + python_version + dodir /usr/lib/python${PYVER}/site-packages/metagen + dodir /usr/bin + cp *py test_cli "${D}"/usr/lib/python${PYVER}/site-packages/metagen/ + dosym "${D}"/usr/lib/python${PYVER}/site-packages/metagen/metagen.py \ + /usr/bin/metagen + doman metagen.1 + dodoc docs/* +} + +src_test() { + einfo "Starting tests..." + python -c "from metagen import metagenerator; metagenerator.do_tests()" \ + || die "metagen tests failed" + einfo "Tests completed." +} + +pkg_postinst() { + python_mod_optimize ${PN} +} + +pkg_postrm() { + python_mod_cleanup ${PN} +} |