Created attachment 168301 [details] py-scriptine.shar The primary goal of scriptine is to make it easy to write shell scripts with python. Add new port sysutils/py-scriptine: - portlint compliant - poudriere tests ok Poudriere tests: FreeBSD 10.2 amd64 http://dbaio.bs2cloud.com.br/poudriere/data/102amd64-ports_dbaio/2016-03-16_09h02m19s/logs/py27-scriptine-0.2.1.log FreeBSD 10.2 i386 http://dbaio.bs2cloud.com.br/poudriere/data/102i386-ports_dbaio/2016-03-16_09h02m49s/logs/py27-scriptine-0.2.1.log FreeBSD 11 amd64 http://dbaio.bs2cloud.com.br/poudriere/data/11amd64-ports_dbaio/2016-03-16_09h13m20s/logs/py27-scriptine-0.2.1.log FreeBSD 11 i386 http://dbaio.bs2cloud.com.br/poudriere/data/11i386-ports_dbaio/2016-03-16_11h24m24s/logs/py27-scriptine-0.2.1.log
Created attachment 174120 [details] py-scriptine.shar python2 Now with USES=python:2 portlint: OK (looks fine.) testport: poudriere: i386, 10.3 (OK) poudriere: amd64, 10.3 (OK) poudriere: i386, 9.3 (OK) poudriere: amd64, 9.3 (OK) poudriere: i386, 12 (OK) poudriere: amd64, 12 (OK)
(In reply to Danilo G. Baio (dbaio) from comment #1) python:2 should only be used if the software explicitly depends on the lang/python2 port (and python2 symlink) and can't be fixed with shebangfix (unlikely) Looking upstream [1], it doesn't yet support Python 3, so USES=python should be set to -2.7. https://github.com/olt/scriptine/issues/2
Created attachment 174126 [details] py-scriptine-v02.shar Thanks @koobs, my mistake. - Use any Python up to 2.7
Comment on attachment 174126 [details] py-scriptine-v02.shar You may want to consider adding the following (from upstream) to pkg-descr to flesh it out: The primary goal of scriptine is to make it easy to write shell scripts with python. Features: * Easy command creation. Each command is just a function. * Automatic option parsing * Automatic help text (--help) * Log handling (with -v, --verbose and -q, --quiet handling) * Testing scripts in dry-mode. * Easy execution of other shell scripts. * Convenient working with files and directories.
Created attachment 174127 [details] py-scriptine-v03.shar Much better now, thanks again.
A commit references this bug: Author: miwi Date: Sat May 6 15:09:23 UTC 2017 New revision: 440268 URL: https://svnweb.freebsd.org/changeset/ports/440268 Log: The primary goal of scriptine is to make it easy to write shell scripts with python. Features: * Easy command creation. Each command is just a function. * Automatic option parsing * Automatic help text (--help) * Log handling (with -v, --verbose and -q, --quiet handling) * Testing scripts in dry-mode. * Easy execution of other shell scripts. * Convenient working with files and directories. WWW: https://pypi.python.org/pypi/scriptine PR: 208066 Submitted by: dbaio@bsd.com.br Changes: head/sysutils/Makefile head/sysutils/py-scriptine/ head/sysutils/py-scriptine/Makefile head/sysutils/py-scriptine/distinfo head/sysutils/py-scriptine/pkg-descr