From: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
To: gentoo-devhelp@lists.gentoo.org
Subject: [gentoo-devhelp] ebuild for python-dev package - I need some help
Date: Wed, 22 Dec 2010 13:02:24 +0100 [thread overview]
Message-ID: <1293019344.5677.4@numa-i> (raw)
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
reply other threads:[~2010-12-22 12:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1293019344.5677.4@numa-i \
--to=jarausch@igpm.rwth-aachen.de \
--cc=gentoo-devhelp@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox