Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45975 - dev-python/pyparsing-1.1.2.ebuild; new package
Summary: dev-python/pyparsing-1.1.2.ebuild; new package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-28 04:26 UTC by Bardur Arantsson
Modified: 2004-03-28 17:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pyparsing-1.1.2.ebuild (pyparsing-1.1.2-r1.ebuild,695 bytes, text/plain)
2004-03-28 04:27 UTC, Bardur Arantsson
Details
pyparsing-1.1.2-r1.ebuild (pyparsing-1.1.2-r1.ebuild,667 bytes, text/plain)
2004-03-28 14:54 UTC, Bardur Arantsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bardur Arantsson 2004-03-28 04:26:27 UTC
I've attached an ebuild for pyparsing-1.1.2, a very easy-to-use text parsing module; see http://pyparsing.sourceforge.net/ for details.

The ebuild is straightforward, it simply inherits the 'distutils' eclass and installs a few extra documentation files. The module is implemented in pure Python, so all the architectures that Python supports have been added to KEYWORDS. The ebuild passes lintool 0.2.4 without any errors/warnings.

Cheers,
Comment 1 Bardur Arantsson 2004-03-28 04:27:24 UTC
Created attachment 28209 [details]
pyparsing-1.1.2.ebuild
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2004-03-28 14:10:09 UTC
Hi Bardur.

There's a few things in this ebuild I'd like you to fix before adding this to portage.

S=${WORKDIR}/${P} and RDEPEND="${DEPEND}" is implied and shouldn't be included.
KEYWORDS should only be set to architechtures you have tested and should always be marked ~arch for new ebuilds.
Comment 3 Bardur Arantsson 2004-03-28 14:54:06 UTC
Created attachment 28239 [details]
pyparsing-1.1.2-r1.ebuild

Removed redundant variables and added ~ in front of all the architectures.

I have *not* removed all non-x86 architectures because, frankly, I don't
understand why that should be necessary. We're talking about 100% pure Python
code that only imports standard Python modules (string,copy,sys and the
pseudo-module __future__). Since Python is listed as stable for all the
architectures and these modules are all standard modules I think it is quite
safe to assume that pyparsing works equally well on all the architectures.
That's why I listed all the architectures. If you think I'm wrong, feel free to
delete the other architectures; I don't really care all that much since I only
use Gentoo on x86 anyway.

Cheers,
Comment 4 Bryan Østergaard (RETIRED) gentoo-dev 2004-03-28 17:23:47 UTC
Added to portage, thanks for the ebuild.