On 22/12/10 11:33, Helmut Jarausch wrote:
Hello Helmut,

we have a seperate list for helping on development of ebuild,
gentoo-devhelp. Please send questions like this to this list.

> 
> Here my attempt:
> 
> EAPI="3"
PYTHON_DEPEND="2"
> SUPPORT_PYTHON_ABIS="1"
> inherit distutils eutils subversion
> 
> DESCRIPTION="pyparsing is an easy-to-use Python module for text 
> parsing"
> HOMEPAGE="http://pyparsing.wikispaces.com/";
> 
> ESVN_REPO_URI="https://pyparsing.svn.sourceforge.net/svnroot/
> pyparsing/"
> ESVN_PROJECT="${PN}"
> 
> 
> LICENSE="MIT"
> SLOT="0"
> KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
> IUSE="doc examples"
> 
> S="${WORKDIR}/pyparsing-9999"
S="${WORKDIR}/${P}/src"
> 
> 
> src-compile() {
>       cd "${WORKDIR}/pyparsing-9999/src"
>       distutils_src_compile
> }
Not needed if ${S} is defined correctly
> 
> src_install() {
>         cd "${WORKDIR}/pyparsing-9999/src"
Not needed either.
>       distutils_src_install
> 
cd ${S}/..
>       dohtml HowToUsePyparsing.html
>       dodoc CHANGES
> 
>       if use doc; then
>               dohtml -r htmldoc/*
>               insinto /usr/share/doc/${PF}
>               doins docs/*.pdf
>       fi
> 
>       if use examples; then
>               insinto /usr/share/doc/${PF}
>               doins -r examples
>       fi
> }
> 
> 
> 

justin

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to