* [gentoo-devhelp] ebuild for python-dev package - I need some help
@ 2010-12-22 12:02 Helmut Jarausch
0 siblings, 0 replies; only message in thread
From: Helmut Jarausch @ 2010-12-22 12:02 UTC (permalink / raw
To: gentoo-devhelp
Hi,
I'd like to build a package dev-python/pyparsing-9999
This has worked early, but anyhow it stopped working after
upgrading to Python-2.7.1 previously.
The package is unpacked into
/var/tmp/portage/dev-python/pyparsing-9999/work/pyparsing-9999
which contains the folders
doc examples and src.
And setup.py is contained in src.
My attempt (see below) fails with
python2.7 setup.py build -b build-2.7
python2.7: can't open file 'setup.py': [Errno 2] No such file or
directory
Any help is very much appreciated,
Helmut.
Here my attempt:
EAPI="3"
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"
src-compile() {
cd "${WORKDIR}/pyparsing-9999/src"
distutils_src_compile
}
src_install() {
cd "${WORKDIR}/pyparsing-9999/src"
distutils_src_install
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
}
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-22 12:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-22 12:02 [gentoo-devhelp] ebuild for python-dev package - I need some help Helmut Jarausch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox