mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
textproc/py-marko: Update version in setup.py automatically
This commit is contained in:
parent
487c0229d5
commit
2db288b6a8
@ -18,6 +18,6 @@ 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
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,7 +29,7 @@ ENTRY_POINTS = {
|
||||
|
||||
setup_kwargs = {
|
||||
'name': 'marko',
|
||||
'version': '1.1.0',
|
||||
'version': '%%PORTVERSION%%',
|
||||
'description': 'A markdown parser with high extensibility.',
|
||||
'long_description': long_description,
|
||||
'license': 'MIT',
|
||||
|
Loading…
Reference in New Issue
Block a user