Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 16ff25d9a9 | |||
| e2469b6082 | |||
| 513d1fb8d9 | |||
| a71eec74cd | |||
| fc850f57b7 | |||
| e4708ed989 |
@ -1,10 +1,11 @@
|
||||
# created by Rene Thuemmler <rt@scientifics.de>
|
||||
|
||||
PORTNAME= Flask-Caching
|
||||
PORTVERSION= 1.9.0
|
||||
PORTNAME= flask-caching
|
||||
PORTVERSION= 2.0.1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= Flask-Caching-${PORTVERSION}
|
||||
|
||||
MAINTAINER= rt@scientifics.de
|
||||
COMMENT= Flask-Caching is an extension to Flask
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# created by Rene Thuemmler <rt@scientifics.de>
|
||||
|
||||
PORTNAME= isso
|
||||
DISTVERSION= 0.12.6
|
||||
PORTVERSION= 0.13.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -15,7 +15,6 @@ LICENSE_FILE= $(WRKSRC)/LICENSE
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}bleach>0:www/py-bleach@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}werkzeug>=1.0.0:www/py-werkzeug@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}Flask-Caching>=1.9.0:www/py-flask-caching@${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}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \
|
||||
@ -24,40 +23,21 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>1.3.0:devel/py-cffi@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
|
||||
git>2:devel/git \
|
||||
npm>0:www/npm \
|
||||
sassc>0:textproc/sassc
|
||||
|
||||
USES= gmake python:3.4+
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= posativ
|
||||
GH_TAGNAME= 9e021cb6
|
||||
|
||||
ALL_TARGET= init man js
|
||||
|
||||
MAKE_JOBS_UNSAFE= no
|
||||
|
||||
USERS= www
|
||||
GROUPS= www
|
||||
|
||||
USE_RC_SUBR= isso
|
||||
|
||||
PLIST_FILES= "@sample etc/isso.conf.sample"
|
||||
PLIST_FILES= "@sample etc/isso.cfg.sample"
|
||||
|
||||
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:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
|
||||
${CP} ${WRKSRC}/share/isso.conf ${STAGEDIR}${PREFIX}/etc/isso.conf.sample
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${MAKE_CMD} -f ${MAKEFILE} ${ALL_TARGET}
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py nosetests
|
||||
${CP} ${WRKSRC}/isso/isso.cfg ${STAGEDIR}${PREFIX}/etc/isso.cfg.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@ -1,2 +1,4 @@
|
||||
SHA256 (posativ-isso-0.12.6-9e021cb6_GH0.tar.gz) = 400602b898eb0d89372fe7b6180a4bd8994de360b83968e9731607fe16188a3a
|
||||
SIZE (posativ-isso-0.12.6-9e021cb6_GH0.tar.gz) = 186555
|
||||
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
|
||||
SIZE (isso-0.12.6.2.tar.gz) = 150023
|
||||
|
||||
@ -22,7 +22,7 @@ load_rc_config ${name}
|
||||
|
||||
: ${isso_enable:=NO}
|
||||
: ${isso_bin=/usr/local/bin/isso}
|
||||
: ${isso_config=/usr/local/etc/isso.conf}
|
||||
: ${isso_config=/usr/local/etc/isso.cfg}
|
||||
: ${isso_user=www}
|
||||
|
||||
logfile=/var/log/isso.log
|
||||
|
||||
@ -1,18 +1,21 @@
|
||||
[
|
||||
{
|
||||
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_bin="/usr/local/bin/isso"
|
||||
isso_config="/usr/local/etc/isso.conf"
|
||||
isso_config="/usr/local/etc/isso.cfg"
|
||||
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
|
||||
}
|
||||
{
|
||||
type: remove
|
||||
message: <<EOM
|
||||
you might want to remove isso.conf if present.
|
||||
you might want to remove isso.cfg if present.
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user