diff options
Diffstat (limited to 'sysutils/py-keep/Makefile')
-rw-r--r-- | sysutils/py-keep/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/py-keep/Makefile b/sysutils/py-keep/Makefile index 88e5dd2cb3d2..360d416dbc9d 100644 --- a/sysutils/py-keep/Makefile +++ b/sysutils/py-keep/Makefile @@ -1,6 +1,5 @@ PORTNAME= keep -PORTVERSION= 2.10.1 -PORTREVISION= 2 +DISTVERSION= 2.11 CATEGORIES= sysutils python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,19 +11,23 @@ WWW= https://github.com/OrkoHunter/keep LICENSE= MIT LICENSE_FILE= ${FILESDIR}/LICENSE.md +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=0:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}terminaltables>0:textproc/py-terminaltables@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}terminaltables3>0:textproc/py-terminaltables3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyGithub>0:devel/py-PyGithub@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist pep517 SUB_FILES= pkg-message PORTDATA= completions/keep.zsh \ completions/keep.bash +post-patch: + @${REINPLACE_CMD} -e 's|%%VERSION%%|${DISTVERSION}|g' ${PATCH_WRKSRC}/keep/about.py + post-install: @${MKDIR} ${STAGEDIR}${DATADIR}/completions (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDATA} ${STAGEDIR}${DATADIR}/completions) |