git: e2077c3abbbf - main - textproc/py-markups: Update to 3.1.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Dec 2021 19:43:11 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e2077c3abbbfef163fd0651bd743be08d34d6270

commit e2077c3abbbfef163fd0651bd743be08d34d6270
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-12-21 18:49:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-12-21 18:49:33 +0000

    textproc/py-markups: Update to 3.1.3
    
    - Add NO_ARCH
    - Update WWW
    - Take maintainership
    
    Changes:        https://github.com/retext-project/pymarkups/blob/master/changelog
---
 textproc/py-markups/Makefile  | 20 +++++++++++++++-----
 textproc/py-markups/distinfo  |  6 +++---
 textproc/py-markups/pkg-descr |  2 +-
 3 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/textproc/py-markups/Makefile b/textproc/py-markups/Makefile
index 4224de728e92..11547e2cca3b 100644
--- a/textproc/py-markups/Makefile
+++ b/textproc/py-markups/Makefile
@@ -1,16 +1,26 @@
 PORTNAME=	Markups
-PORTVERSION=	3.1.2
+PORTVERSION=	3.1.3
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Wrapper around various text markup languages
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	python:3.7+
-USE_PYTHON=	distutils autoplist
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-markdown-math>=0:textproc/py-python-markdown-math@${PY_FLAVOR}
 
-.include <bsd.port.mk>
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/py-markups/distinfo b/textproc/py-markups/distinfo
index 10b6250df5f7..29ac29556e0b 100644
--- a/textproc/py-markups/distinfo
+++ b/textproc/py-markups/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1631482641
-SHA256 (Markups-3.1.2.tar.gz) = 2954d53656d9ec84f2f6c077e91a1de534e05647f20d327757283bbb5a857770
-SIZE (Markups-3.1.2.tar.gz) = 20608
+TIMESTAMP = 1638556624
+SHA256 (Markups-3.1.3.tar.gz) = ab9747a72c1c6457418eb4276c79871977c13a654618e4f12e2a1f0990fbf2fc
+SIZE (Markups-3.1.3.tar.gz) = 20868
diff --git a/textproc/py-markups/pkg-descr b/textproc/py-markups/pkg-descr
index 9fb23369e78e..8c617a62f0d6 100644
--- a/textproc/py-markups/pkg-descr
+++ b/textproc/py-markups/pkg-descr
@@ -3,4 +3,4 @@ This module provides a wrapper around various text markup languages.
 Available by default are Markdown, reStructuredText and Textile, but you can
 easily add your own markups.
 
-WWW: https://pypi.org/project/Markups/
+WWW: https://github.com/retext-project/pymarkups