FreeBSD Bugzilla – Attachment 207256 Details for
Bug 240375
[NEW PORT] www/py-isso: Commenting server similar to Disqus
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
the port directory
py-isso.shar (text/plain), 4.77 KB, created by
René Thümmler
on 2019-09-07 11:25:33 UTC
(
hide
)
Description:
the port directory
Filename:
MIME Type:
Creator:
René Thümmler
Created:
2019-09-07 11:25:33 UTC
Size:
4.77 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># py-isso ># py-isso/Makefile ># py-isso/pkg-descr ># py-isso/files ># py-isso/files/isso.in ># py-isso/pkg-message ># py-isso/distinfo ># >echo c - py-isso >mkdir -p py-isso > /dev/null 2>&1 >echo x - py-isso/Makefile >sed 's/^X//' >py-isso/Makefile << '235e15b54f088b2ef02cf5dae1965047' >X# $FreeBSD$ >X >XPORTNAME= isso >XDISTVERSION= 0.12.2 >XPORTREVISION= 1 >XCATEGORIES= www python >XMASTER_SITES= CHEESESHOP >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= rt@scientifics.de >XCOMMENT= Commenting server similar to Disqus >X >XLICENSE= MIT >XLICENSE_FILE= $(WRKSRC)/LICENSE >X >XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}werkzeug>=0.9:www/py-werkzeug@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}misaka>=2.0:textproc/py-misaka@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} >X >XBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>1.3.0:devel/py-cffi@${PY_FLAVOR} >X >XUSES= python sqlite:3 >XUSE_PYTHON= autoplist concurrent distutils >XUSE_GITHUB= yes >XGH_ACCOUNT= posativ >XGH_PROJECT= ${PORTNAME} >XGH_TAGNAME= ${DISTVERSION} >X >XUSERS= www >XGROUPS= www >X >XNO_ARCH= yes >X >XUSE_RC_SUBR= isso >X >XPLIST_FILES= "@sample etc/isso.conf.sample" >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|/etc/isso.conf|${PREFIX}/etc/isso.conf|g' ${WRKSRC}/isso/__init__.py >X >Xpost-install: >X @${MKDIR} ${STAGEDIR}${PREFIX}/etc >X ${CP} ${WRKSRC}/share/isso.conf ${STAGEDIR}${PREFIX}/etc/isso.conf.sample >X >Xdo-test: >X @cd ${WRKSRC} && ${PYTHON_CMD} setup.py nosetests >X >X.include <bsd.port.pre.mk> >X >X.if ${PYTHON_REL} < 3000 >XRUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddr>2.1:devel/py-ipaddr@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} >X.endif >X >X.include <bsd.port.post.mk> >235e15b54f088b2ef02cf5dae1965047 >echo x - py-isso/pkg-descr >sed 's/^X//' >py-isso/pkg-descr << '365921718856a459036da32c44e2a0ef' >XIsso is a lightweight commenting server similar to Disqus. It allows anonymous >Xcomments, maintains identity and is simple to administrate. It uses JavaScript >Xand cross-origin ressource sharing for easy integration into (static) websites >X >XWWW: https://posativ.org/isso/docs/ >365921718856a459036da32c44e2a0ef >echo c - py-isso/files >mkdir -p py-isso/files > /dev/null 2>&1 >echo x - py-isso/files/isso.in >sed 's/^X//' >py-isso/files/isso.in << 'e052c2acc189bcbac07554719810ff4d' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X# PROVIDE: isso >X# REQUIRE: DAEMON >X# KEYWORD: shutdown >X# >X# isso_enable="YES" >X# >X >X. /etc/rc.subr >X >Xname=isso >Xrcvar=isso_enable >Xdesc="isso commenting service" >X >Xload_rc_config ${name} >X >X: ${isso_enable:=NO} >X: ${isso_config=/usr/local/etc/isso.conf} >X >Xlogfile=/var/log/isso.log >Xpidfile=/var/run/isso.pid >Xcommand=/usr/local/bin/isso >Xstart_cmd=isso_start >Xstop_cmd=isso_stop >Xprocname=/usr/sbin/daemon >X >Xis_process_running="[ -f $pidfile ] && procstat $(cat $pidfile) >/dev/null 2>&1" >X >Xisso_start() >X{ >X if is_process_running; then >X echo "isso is already running (pid=$(cat $pidfile))" >X return 1 >X fi >X export USER=www >X export HOME=$(echo ~www) >X touch $logfile >X chmod 640 $logfile >X /usr/sbin/daemon -P $pidfile -u www /usr/local/bin/isso -c ${isso_config} run >>$logfile 2>&1 >X if is_process_running; then >X echo "started isso (pid=$(cat $pidfile))" >X else >X echo "failed to start isso" >X fi >X} >X >Xisso_stop() >X{ >X if is_process_running; then >X local pid=$(cat $pidfile) >X echo "stopping isso (pid=$pid)" >X kill -- -$pid >X else >X echo "isso isn't running" >X fi >X} >X >Xrun_rc_command "$1" >e052c2acc189bcbac07554719810ff4d >echo x - py-isso/pkg-message >sed 's/^X//' >py-isso/pkg-message << '2303699d6ccd88ac96a21a4808f584b5' >X[ >X{ >X message: <<EOM >Xplease inspect and customize isso.conf in ${ETCDIR} >XEOM >X} >X{ >X type: remove >X message: <<EOM >Xyou might want to remove isso.conf in ${ETCDIR} if present. >XEOM >X} >X] >2303699d6ccd88ac96a21a4808f584b5 >echo x - py-isso/distinfo >sed 's/^X//' >py-isso/distinfo << '43964baf5a425fb8723c4b1fdf11f645' >XTIMESTAMP = 1567785184 >XSHA256 (posativ-isso-0.12.2_GH0.tar.gz) = b1aafbfda42e9862f6492952865ba85499a23e51bb0afc44b6ea3622ea45ed69 >XSIZE (posativ-isso-0.12.2_GH0.tar.gz) = 174049 >43964baf5a425fb8723c4b1fdf11f645 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 240375
:
207247
|
207256
|
207315
|
229443