Gentoo Archives: gentoo-dev

From: justin <jlec@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ebuild for python-dev package - need some help
Date: Wed, 22 Dec 2010 10:41:16
Message-Id: 4D11D5A4.5070201@gentoo.org
In Reply to: [gentoo-dev] ebuild for python-dev package - need some help by Helmut Jarausch
1 On 22/12/10 11:33, Helmut Jarausch wrote:
2 Hello Helmut,
3
4 we have a seperate list for helping on development of ebuild,
5 gentoo-devhelp. Please send questions like this to this list.
6
7 >
8 > Here my attempt:
9 >
10 > EAPI="3"
11 PYTHON_DEPEND="2"
12 > SUPPORT_PYTHON_ABIS="1"
13 > inherit distutils eutils subversion
14 >
15 > DESCRIPTION="pyparsing is an easy-to-use Python module for text
16 > parsing"
17 > HOMEPAGE="http://pyparsing.wikispaces.com/"
18 >
19 > ESVN_REPO_URI="https://pyparsing.svn.sourceforge.net/svnroot/
20 > pyparsing/"
21 > ESVN_PROJECT="${PN}"
22 >
23 >
24 > LICENSE="MIT"
25 > SLOT="0"
26 > KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
27 > IUSE="doc examples"
28 >
29 > S="${WORKDIR}/pyparsing-9999"
30 S="${WORKDIR}/${P}/src"
31 >
32 >
33 > src-compile() {
34 > cd "${WORKDIR}/pyparsing-9999/src"
35 > distutils_src_compile
36 > }
37 Not needed if ${S} is defined correctly
38 >
39 > src_install() {
40 > cd "${WORKDIR}/pyparsing-9999/src"
41 Not needed either.
42 > distutils_src_install
43 >
44 cd ${S}/..
45 > dohtml HowToUsePyparsing.html
46 > dodoc CHANGES
47 >
48 > if use doc; then
49 > dohtml -r htmldoc/*
50 > insinto /usr/share/doc/${PF}
51 > doins docs/*.pdf
52 > fi
53 >
54 > if use examples; then
55 > insinto /usr/share/doc/${PF}
56 > doins -r examples
57 > fi
58 > }
59 >
60 >
61 >
62
63 justin

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] ebuild for python-dev package - need some help Dirkjan Ochtman <djc@g.o>