Bug 805332 - Review Request: pyp - Python-centric command line text manipulation tool similar to awk and sed
Summary: Review Request: pyp - Python-centric command line text manipulation tool simi...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-20 22:16 UTC by Mark McKinstry
Modified: 2015-03-15 14:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-15 14:29:13 UTC
Type: ---


Attachments (Terms of Use)

Description Mark McKinstry 2012-03-20 22:16:55 UTC
Spec URL: http://mmckinst.fedorapeople.org/packages/pyp/pyp.spec
SRPM URL: http://mmckinst.fedorapeople.org/packages/pyp/pyp-2.11-1.fc16.src.rpm
Description:
Pyp is a Linux command line text manipulation tool similar to awk or
sed, but which uses standard python string and list methods as well as
custom functions evolved to generate fast results in an intense
production environment.

Comment 1 Michael S. 2012-03-22 16:06:30 UTC
Hi,

a few comment :
- why %doc without any doc ?

- you requires python, but I think you need to tell the version ( 2 or 3 )

- BuildRoot is uneeded, unless you plan to support epel 5
( if you need to do so, there is then others stuff, like %clean section, etc )


and there is no license at all in the source code ( nor shipped as part of a tarball, since there is no tarball ), which is a blocking point :
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#License_Text

Comment 2 Mark McKinstry 2012-03-28 00:14:41 UTC
I've got a bug report with them about the licensing issue: https://code.google.com/p/pyp/issues/detail?id=9 . 

Once that is resolved, I'll fix the other issues you mentioned.

Comment 3 Mark McKinstry 2012-04-04 23:15:50 UTC
The license is now included in the source code. 

I've updated the spec to include a clean section and explicitly state it requires python2. I do intend to have it in EPEL 5 so I've specified the buildroot. I also removed the un-needed doc section.

spec: http://mmckinst.fedorapeople.org/packages/pyp/pyp.spec
srpm: http://mmckinst.fedorapeople.org/packages/pyp/pyp-2.12-1.fc16.src.rpm

Comment 4 Fabian Affolter 2012-06-19 19:52:03 UTC
Source0 and URL should be changed.

Comment 5 Mark McKinstry 2012-07-04 00:32:03 UTC
I've fixed the URL and Source0. Although its just one file, I now check it out from svn so its clear which version is being used.

spec: http://mmckinst.fedorapeople.org/packages/pyp/pyp.spec
srpm: http://mmckinst.fedorapeople.org/packages/pyp/pyp-2.12-20120402.1.fc16.src.rpm

Comment 6 Fabian Affolter 2012-07-15 10:47:42 UTC
- The 'Release' tag order should more look the example for kismet for a post-release [1][2].
- 'BuildRoot', the %clean section and the condition for el5 is only needed if you want to support EPEL5. In this case the %install section must be cleaned.

[1] http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Post-Release_packages
[2] http://fedoraproject.org/wiki/Packaging:NamingGuidelines#Snapshot_packages

Comment 7 Mark McKinstry 2012-07-27 14:05:22 UTC
I've updated the release tag to follow the packaging guidelines.  I do intend to have it in EPEL 5 so I've specified the buildroot.

spec: http://mmckinst.fedorapeople.org/packages/pyp/pyp.spec
srpm: http://mmckinst.fedorapeople.org/packages/pyp/pyp-2.12-2.20120402.fc17.src.rpm

Comment 8 Mark McKinstry 2015-03-15 14:29:13 UTC
This is just a single file, packaging it as an RPM is overkill. If someone else has interest they can take over the RPM.


Note You need to log in before you can comment on or make changes to this bug.