Bug 197086

Summary: [NEW PORT] devel/py-sh: a library that lets you run shell commands from python
Product: Ports & Packages Reporter: Maxim Filimonov <che>
Component: Individual Port(s)Assignee: Kubilay Kocak <koobs>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: needs-qa, patch
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
svn diff for the port
none
make stage && make check-plist && make stage-qa && make package
none
New svn diff, some things fixed
none
the newer svn diff, the license is now fixed
none
another new svn diff, now the comment is fixed none

Description Maxim Filimonov 2015-01-26 09:06:18 UTC
I made a new port, the svn diff is in the attachment; the long make output is also there, and here's what portlint says:
% portlint -AC
WARN: Makefile: [2]: possible direct use of command "sh" found. use ${SH} instead.
0 fatal errors and 1 warning found.
Comment 1 Maxim Filimonov 2015-01-26 09:07:01 UTC
Created attachment 152164 [details]
svn diff for the port
Comment 2 Maxim Filimonov 2015-01-26 09:07:33 UTC
Created attachment 152165 [details]
make stage && make check-plist && make stage-qa && make package
Comment 3 Maxim Filimonov 2015-01-26 09:13:51 UTC
Created attachment 152166 [details]
New svn diff, some things fixed
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2015-01-26 09:15:23 UTC
Review pending
Comment 5 Maxim Filimonov 2015-01-26 09:16:56 UTC
Created attachment 152167 [details]
the newer svn diff, the license is now fixed
Comment 6 Maxim Filimonov 2015-01-26 09:23:44 UTC
Created attachment 152168 [details]
another new svn diff, now the comment is fixed
Comment 7 commit-hook freebsd_committer freebsd_triage 2015-01-27 06:14:02 UTC
A commit references this bug:

Author: koobs
Date: Tue Jan 27 06:13:32 UTC 2015
New revision: 377984
URL: https://svnweb.freebsd.org/changeset/ports/377984

Log:
  [NEW] devel/py-sh: Python subprocess interface

  sh (previously pbs) is a full-fledged subprocess replacement for Python
  2.6 - 3.4 that allows you to call any program as if it were a function.

  WWW: https://github.com/amoffat/sh

  PR:		197086
  Submitted by:	Maxim Filimonov <che bein.link>

Changes:
  head/devel/Makefile
  head/devel/py-sh/
  head/devel/py-sh/Makefile
  head/devel/py-sh/distinfo
  head/devel/py-sh/pkg-descr
Comment 8 Kubilay Kocak freebsd_committer freebsd_triage 2015-01-27 06:42:28 UTC
Committed with changes:

- Use CHEESESHOP by default unless certain files (tests, etc) are
  not provided in the PyPi source distribution (sdist). Also, portscout
  currently doesnt notify for new versions when USE_GITHUB=yes. 
- Fix whitespace (tab) alignment in Makefile
- Match COMMENT to description field in setup.py
- Fill out pkg-descr with a more substantial long description
- devel/Makefile change was incorrectly sorted (Capital letters sort
  earlier than lowercase letters)

Thanks Maxim!