updated py-isso to version 0.13.0

This commit is contained in:
Renè Thümmler 2022-09-18 15:21:54 +02:00
parent e2469b6082
commit 16ff25d9a9
4 changed files with 13 additions and 9 deletions

View File

@ -1,7 +1,7 @@
# created by Rene Thuemmler <rt@scientifics.de> # created by Rene Thuemmler <rt@scientifics.de>
PORTNAME= isso PORTNAME= isso
PORTVERSION= 0.12.6.2 PORTVERSION= 0.13.0
CATEGORIES= www python CATEGORIES= www python
MASTER_SITES= CHEESESHOP MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,7 +15,6 @@ LICENSE_FILE= $(WRKSRC)/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}werkzeug>=1.0.0:www/py-werkzeug@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}werkzeug>=1.0.0:www/py-werkzeug@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flask-caching>=1.10.0:www/py-flask-caching@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}misaka>=2.0<3.0:textproc/py-misaka@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}misaka>=2.0<3.0:textproc/py-misaka@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \
@ -32,13 +31,13 @@ GROUPS= www
USE_RC_SUBR= isso USE_RC_SUBR= isso
PLIST_FILES= "@sample etc/isso.conf.sample" PLIST_FILES= "@sample etc/isso.cfg.sample"
post-patch: post-patch:
@${REINPLACE_CMD} -e 's|/etc/isso.conf|${PREFIX}/etc/isso.conf|g' ${WRKSRC}/isso/__init__.py @${REINPLACE_CMD} -e 's|/etc/isso.cfg|${PREFIX}/etc/isso.cfg|g' ${WRKSRC}/isso/__init__.py
post-install: post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc @${MKDIR} ${STAGEDIR}${PREFIX}/etc
${CP} ${WRKSRC}/share/isso.conf ${STAGEDIR}${PREFIX}/etc/isso.conf.sample ${CP} ${WRKSRC}/isso/isso.cfg ${STAGEDIR}${PREFIX}/etc/isso.cfg.sample
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,2 +1,4 @@
SHA256 (isso-0.13.0.tar.gz) = 032f2155c642c8c1c903a8f7cd6fd94b7bdf0f499fc7e19dee6024d38e076ea3
SIZE (isso-0.13.0.tar.gz) = 185824
SHA256 (isso-0.12.6.2.tar.gz) = 9eaadbb54a070326ebb5afd5055a1a8cdd268e38478f6f00bd80feca50ac6343 SHA256 (isso-0.12.6.2.tar.gz) = 9eaadbb54a070326ebb5afd5055a1a8cdd268e38478f6f00bd80feca50ac6343
SIZE (isso-0.12.6.2.tar.gz) = 150023 SIZE (isso-0.12.6.2.tar.gz) = 150023

View File

@ -22,7 +22,7 @@ load_rc_config ${name}
: ${isso_enable:=NO} : ${isso_enable:=NO}
: ${isso_bin=/usr/local/bin/isso} : ${isso_bin=/usr/local/bin/isso}
: ${isso_config=/usr/local/etc/isso.conf} : ${isso_config=/usr/local/etc/isso.cfg}
: ${isso_user=www} : ${isso_user=www}
logfile=/var/log/isso.log logfile=/var/log/isso.log

View File

@ -1,18 +1,21 @@
[ [
{ {
message: <<EOM message: <<EOM
please inspect and customize isso.conf. To run as a service you should add please inspect and customize isso.cfg. To run as a service you should add
isso_enable="YES" to your rc.conf. You can also change if needed: isso_enable="YES" to your rc.conf. You can also change if needed:
isso_bin="/usr/local/bin/isso" isso_bin="/usr/local/bin/isso"
isso_config="/usr/local/etc/isso.conf" isso_config="/usr/local/etc/isso.cfg"
isso_user="www" isso_user="www"
with the update to version 1.13.0 config file extension was renamed to cfg
you might want to rename your config file the same possibly.
EOM EOM
} }
{ {
type: remove type: remove
message: <<EOM message: <<EOM
you might want to remove isso.conf if present. you might want to remove isso.cfg if present.
EOM EOM
} }
] ]