diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-11-01 21:27:22 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-11-01 21:41:51 +0800 |
commit | 487c0229d53fb0dab711d131cffc70bea5ae6f27 (patch) | |
tree | a7a04728402e50f5fb9eab72945b547febb5751b | |
parent | textproc/py-atoml: Update version in setup.py automatically (diff) |
textproc/py-hashids: Update version in setup.py automatically
-rw-r--r-- | textproc/py-hashids/Makefile | 2 | ||||
-rw-r--r-- | textproc/py-hashids/files/setup.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/textproc/py-hashids/Makefile b/textproc/py-hashids/Makefile index 38aa8c65a293..84070edac10d 100644 --- a/textproc/py-hashids/Makefile +++ b/textproc/py-hashids/Makefile @@ -20,7 +20,7 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v diff --git a/textproc/py-hashids/files/setup.py b/textproc/py-hashids/files/setup.py index f8b9328f2033..ede9026d3886 100644 --- a/textproc/py-hashids/files/setup.py +++ b/textproc/py-hashids/files/setup.py @@ -7,7 +7,7 @@ extras_require = \ {'test': ['pytest >=2.1.0']} setup(name='hashids', - version='1.3.1', + version='%%PORTVERSION%%', description='Implements the hashids algorithm in python. For more information, visit http://hashids.org/', author='David Aurelio', author_email='dev@david-aurelio.com', |