Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56069

Summary: Ebuild for PyMETAR
Product: Gentoo Linux Reporter: Tobias Klausmann (RETIRED) <klausman>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: 1.4_rc1   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Pymetar-Ebuild
Fixed Ebuild

Description Tobias Klausmann (RETIRED) gentoo-dev 2004-07-04 10:00:44 UTC
Attached is an ebuild for Pymetar. From the Webpage:

PyMETAR downloads the weather report for a given station ID, decodes it and provides easy access to all the data found in the report. Documentation and a small example app are inside the tarball.

(http://www.schwarzvogel.de/software-pymetar.shtml)

tar.gz digest should be:
228eedaddc7821f2ed086d91f9d56b68  /usr/portage/distfiles/pymetar-0.8.tar.gz

I'm the author of Pymetar, so if there are any question regarding the package, drop me a line.
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2004-07-04 10:01:26 UTC
Created attachment 34786 [details]
Pymetar-Ebuild
Comment 2 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-07-08 11:18:07 UTC
Thanks for ebuild, but before we add it to portage, it should be fixed, because it doesn't contain important variables, including IUSE and SLOT, has incorrect license and header. Also, src_install function isn't needed, because distutils_src_install will be called automatically when distutils is inherited.
Please follow rules in http://www.gentoo.org/doc/en/gentoo-howto.xml, http://www.gentoo.org/doc/en/ebuild-submit.xml and http://www.gentoo.org/doc/en/ebuild-mistakes.xml.
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2004-07-09 01:39:53 UTC
Created attachment 35057 [details]
Fixed Ebuild

Fixed:
- Header
- Missing SLOT, DEPEND and IUSE
- LICENSE
- Added dodoc for librarydoc.txt

While the latter can be generated using pydoc on the sources, I include it for
those who might have an impaired Python installation without pydoc (and those
who don't know about pydoc).
Comment 4 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-07-09 03:50:48 UTC
Cool. In portage now.