devel/py-pdm-pep517: Update version in setup.py automatically
This commit is contained in:
parent
9827b52325
commit
4587b45fa2
@ -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>
|
||||
|
@ -16,7 +16,7 @@ EXTRAS_REQUIRE = {
|
||||
|
||||
setup_kwargs = {
|
||||
'name': 'pdm-pep517',
|
||||
'version': '0.8.5',
|
||||
'version': '%%PORTVERSION%%',
|
||||
'description': 'A PEP 517 backend for PDM that supports PEP 621 metadata',
|
||||
'long_description': long_description,
|
||||
'license': 'MIT',
|
||||
|
Loading…
Reference in New Issue
Block a user