Compare commits
No commits in common. "master" and "devel" have entirely different histories.
@ -1,11 +1,10 @@
|
|||||||
# created by Rene Thuemmler <rt@scientifics.de>
|
# created by Rene Thuemmler <rt@scientifics.de>
|
||||||
|
|
||||||
PORTNAME= flask-caching
|
PORTNAME= Flask-Caching
|
||||||
PORTVERSION= 2.0.1
|
PORTVERSION= 1.9.0
|
||||||
CATEGORIES= www python
|
CATEGORIES= www python
|
||||||
MASTER_SITES= CHEESESHOP
|
MASTER_SITES= CHEESESHOP
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
DISTNAME= Flask-Caching-${PORTVERSION}
|
|
||||||
|
|
||||||
MAINTAINER= rt@scientifics.de
|
MAINTAINER= rt@scientifics.de
|
||||||
COMMENT= Flask-Caching is an extension to Flask
|
COMMENT= Flask-Caching is an extension to Flask
|
||||||
|
|||||||
@ -1,43 +1,63 @@
|
|||||||
# created by Rene Thuemmler <rt@scientifics.de>
|
# created by Rene Thuemmler <rt@scientifics.de>
|
||||||
|
|
||||||
PORTNAME= isso
|
PORTNAME= isso
|
||||||
PORTVERSION= 0.13.0
|
DISTVERSION= 0.12.6
|
||||||
CATEGORIES= www python
|
CATEGORIES= www python
|
||||||
MASTER_SITES= CHEESESHOP
|
MASTER_SITES= CHEESESHOP
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
MAINTAINER= rt@scientifics.de
|
MAINTAINER= rt@scientifics.de
|
||||||
COMMENT= Commenting server similar to Disqus
|
COMMENT= Commenting server similar to Disqus
|
||||||
|
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= $(WRKSRC)/LICENSE
|
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}html5lib>0:www/py-html5lib@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}Flask-Caching>=1.9.0:www/py-flask-caching@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}misaka>=2.0<3.0:textproc/py-misaka@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}misaka>=2.0<3.0:textproc/py-misaka@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
|
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= python:3.6+
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>1.3.0:devel/py-cffi@${PY_FLAVOR} \
|
||||||
USE_PYTHON= autoplist distutils
|
${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
|
||||||
|
git>2:devel/git \
|
||||||
|
npm>0:www/npm \
|
||||||
|
sassc>0:textproc/sassc
|
||||||
|
|
||||||
USERS= www
|
USES= gmake python:3.4+
|
||||||
GROUPS= www
|
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
|
USE_RC_SUBR= isso
|
||||||
|
|
||||||
PLIST_FILES= "@sample etc/isso.cfg.sample"
|
PLIST_FILES= "@sample etc/isso.conf.sample"
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|/etc/isso.cfg|${PREFIX}/etc/isso.cfg|g' ${WRKSRC}/isso/__init__.py
|
@${REINPLACE_CMD} -e 's|/etc/isso.conf|${PREFIX}/etc/isso.conf|g' ${WRKSRC}/isso/__init__.py
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
|
||||||
${CP} ${WRKSRC}/isso/isso.cfg ${STAGEDIR}${PREFIX}/etc/isso.cfg.sample
|
${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
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|||||||
@ -1,4 +1,2 @@
|
|||||||
SHA256 (isso-0.13.0.tar.gz) = 032f2155c642c8c1c903a8f7cd6fd94b7bdf0f499fc7e19dee6024d38e076ea3
|
SHA256 (posativ-isso-0.12.6-9e021cb6_GH0.tar.gz) = 400602b898eb0d89372fe7b6180a4bd8994de360b83968e9731607fe16188a3a
|
||||||
SIZE (isso-0.13.0.tar.gz) = 185824
|
SIZE (posativ-isso-0.12.6-9e021cb6_GH0.tar.gz) = 186555
|
||||||
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_enable:=NO}
|
||||||
: ${isso_bin=/usr/local/bin/isso}
|
: ${isso_bin=/usr/local/bin/isso}
|
||||||
: ${isso_config=/usr/local/etc/isso.cfg}
|
: ${isso_config=/usr/local/etc/isso.conf}
|
||||||
: ${isso_user=www}
|
: ${isso_user=www}
|
||||||
|
|
||||||
logfile=/var/log/isso.log
|
logfile=/var/log/isso.log
|
||||||
|
|||||||
@ -1,21 +1,18 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
message: <<EOM
|
message: <<EOM
|
||||||
please inspect and customize isso.cfg. To run as a service you should add
|
please inspect and customize isso.conf. 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.cfg"
|
isso_config="/usr/local/etc/isso.conf"
|
||||||
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.cfg if present.
|
you might want to remove isso.conf if present.
|
||||||
EOM
|
EOM
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user