Created attachment 148033 [details] shar file of the py-bottle-cork Here is a new port: It's an authentication plugin for www/py-bottle. Tested with poudriere testport and portlint.
Created attachment 148034 [details] poudriere log file
this looks good except for: X.if ${PORT_OPTIONS:MSQLITE} XRUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 X.endif X X.if ${PORT_OPTIONS:MMONGODB} XRUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pymongo>0:${PORTSDIR}/databases/pymongo X.endif X X.if ${PORT_OPTIONS:MSQLALCHEMY} XRUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:${PORTSDIR}/databases/py-sqlalchemy X.endif should be: SQLITE_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 MONGODB_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}pymongo>0:${PORTSDIR}/databases/pymongo etc. See the porters handbook on options -- use the new style
Created attachment 149070 [details] new port version following marino@ advices
I only see two very minor issues: 1) X%%PORTEXAMPLES%%@dir %%EXAMPLESDIR%%/example_conf X%%PORTEXAMPLES%%@dir %%EXAMPLESDIR%%/views X%%PORTEXAMPLES%%@dir %%EXAMPLESDIR%% Those lines must be deleted 2) USES line is only tabbed once, it needs to line up with second tab. I'll promote because next committer can fix this easily, but bonus points for fixing it before his has to.
Does only USES line needs to line up with second tab and not the other *_RUN_DEPENDS lines ?
(In reply to olivier from comment #5) > Does only USES line needs to line up with second tab and not the other > *_RUN_DEPENDS lines ? second tab. Basically the guideline is 2nd tab for everything unless 3rd tab for a block makes sense (e.g. OPTION_* lines are often better using 3 tabs for the whole block) 1 tab is hardly ever used.
I'm just going to use PORTEXAMPLES=* and get rid of the pkg-plist completely. It doesn't make sense to have a mixture of autogen and fixed plist, just autogen everything.
A commit references this bug: Author: marino Date: Sun Nov 9 11:51:57 UTC 2014 New revision: 372359 URL: https://svnweb.freebsd.org/changeset/ports/372359 Log: Add new port www/py-bottle-cork PR: 194192 Submitted by: Olivier (cochard.me) bottle-cork provides a simple set of methods to implement Authentication and Authorization in web applications based on Bottle. Changes: head/www/Makefile head/www/py-bottle-cork/ head/www/py-bottle-cork/Makefile head/www/py-bottle-cork/distinfo head/www/py-bottle-cork/pkg-descr
Thanks, enjoy your port!