textproc/py-pymdown-extensions: Update to 9.5

* Add a "post-patch" target that adds the actual version to "setup.py"
  to prevent editing it with each update.

Changelog:

https://github.com/facelessuser/pymdown-extensions/releases/tag/9.5
This commit is contained in:
Kai Knoblich 2022-11-27 15:32:02 +01:00
parent 884bd41649
commit 3feaaedcf8
3 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= pymdown-extensions
DISTVERSION= 9.4
DISTVERSION= 9.5
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -23,4 +23,7 @@ NO_ARCH= yes
post-extract:
@${MV} ${WRKSRC}/pyproject.toml ${WRKSRC}/pyproject.toml.dist
post-patch:
@${REINPLACE_CMD} -e 's/%%DISTVERSION%%/${DISTVERSION}/' ${WRKSRC}/setup.py
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1668854734
SHA256 (pymdown_extensions-9.4.tar.gz) = 1baa22a60550f731630474cad28feb0405c8101f1a7ddc3ec0ed86ee510bcc43
SIZE (pymdown_extensions-9.4.tar.gz) = 741111
TIMESTAMP = 1669552457
SHA256 (pymdown_extensions-9.5.tar.gz) = 3ef2d998c0d5fa7eb09291926d90d69391283561cf6306f85cd588a5eb5befa0
SIZE (pymdown_extensions-9.5.tar.gz) = 738533

View File

@ -13,7 +13,7 @@ to setup.py and then run "hatchling build".
+
+setup(
+ name='pymdown-extensions',
+ version='9.4',
+ version='%%DISTVERSION%%',
+ description='Extension pack for Python Markdown.',
+ long_description='',
+ author_email='Isaac Muse <Isaac.Muse@gmail.com>',