/[gentoo-x86]/app-portage/metagen/metagen-9999.ebuild
Gentoo

Contents of /app-portage/metagen/metagen-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Sep 25 14:31:01 2011 UTC (2 years, 9 months ago) by neurogeek
Branch: MAIN
Changes since 1.3: +1 -6 lines
Removed src_prepare func wrt bug #384271

(Portage version: 2.2.0_alpha59/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-portage/metagen/metagen-9999.ebuild,v 1.3 2011/08/13 22:22:06 neurogeek Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.*"
9
10 inherit distutils git-2
11
12 DESCRIPTION="metadata.xml generator for ebuilds"
13 HOMEPAGE="http://git.overlays.gentoo.org/gitweb/?p=proj/metagen.git;a=summary"
14 SRC_URI=""
15 EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/metagen.git"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS=""
20
21 IUSE=""
22 DEPEND=">=dev-python/jaxml-3.01
23 >=sys-apps/portage-2.1.9.42"
24 RDEPEND="${DEPEND}"
25
26 src_install() {
27 distutils_src_install
28
29 metagen_install() {
30 local METAGEN_MOD="$(python_get_sitedir)/${PN}/main.py"
31 fperms 755 ${METAGEN_MOD}
32 dosym "${D}"${METAGEN_MOD} "/usr/bin/${PN}-${PYTHON_ABI}"
33 }
34 python_execute_function metagen_install
35
36 python_generate_wrapper_scripts "${ED}usr/bin/${PN}"
37
38 doman "docs/metagen.1"
39 }
40
41 src_test() {
42 einfo "Starting tests..."
43 testing() {
44 $(PYTHON) -c "from metagen import metagenerator; metagenerator.do_tests()"
45 }
46 python_execute_function testing
47 einfo "Tests completed."
48 }

  ViewVC Help
Powered by ViewVC 1.1.20