From 22bc68fbb91bc673538cd23a9bf6ab43e4797f90 Mon Sep 17 00:00:00 2001 From: Rene Thuemmler Date: Sat, 7 Sep 2019 16:35:04 +0200 Subject: [PATCH] made portlint happy again --- www/py-isso/Makefile | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/www/py-isso/Makefile b/www/py-isso/Makefile index 0ea991e..1f97127 100644 --- a/www/py-isso/Makefile +++ b/www/py-isso/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sqlite3>0:devel/py-sqlite3@${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} @@ -39,23 +39,19 @@ NO_ARCH= yes USE_RC_SUBR= isso -PLIST_FILES= "@sample etc/isso.conf.sample" +PLIST_FILES= "@sample etc/${PKGNAMEPREFIX}${PORTNAME}/isso.conf.sample" + +py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddr>2.1:devel/py-ipaddr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} post-patch: - @${REINPLACE_CMD} -e 's|/etc/isso.conf|${PREFIX}/etc/isso.conf|g' ${WRKSRC}/isso/__init__.py + @${REINPLACE_CMD} -e 's|/etc/isso.conf|${ETCDIR}/isso.conf|g' ${WRKSRC}/isso/__init__.py post-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/etc - ${CP} ${WRKSRC}/share/isso.conf ${STAGEDIR}${PREFIX}/etc/isso.conf.sample + @${MKDIR} ${STAGEDIR}${ETCDIR} + ${CP} ${WRKSRC}/share/isso.conf ${STAGEDIR}${ETCDIR}/isso.conf.sample do-test: @cd ${WRKSRC} && ${PYTHON_CMD} setup.py nosetests -.include - -.if ${PYTHON_REL} < 3000 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddr>2.1:devel/py-ipaddr@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}configparser>0:devel/py-configparser@${PY_FLAVOR} -.endif - -.include +.include