diff --git a/textproc/py-pygfm/Makefile b/textproc/py-pygfm/Makefile index ec41d39d795..9f3a249e8fc 100644 --- a/textproc/py-pygfm/Makefile +++ b/textproc/py-pygfm/Makefile @@ -1,20 +1,20 @@ -COMMENT = GitHub Flavored Markdown extension +COMMENT= deprecated GitHub Flavored Markdown extension -MODPY_DISTV = 1.0.2 -DISTNAME = py-gfm-${MODPY_DISTV} -PKGNAME = py-${DISTNAME:S/py-/py/} -REVISION = 4 +MODPY_DISTV= 2.0.0 +GH_ACCOUNT= zopieux +GH_PROJECT= py-gfm +GH_TAGNAME= ${MODPY_DISTV} -CATEGORIES = textproc +PKGNAME= py-pygfm-${MODPY_DISTV} -HOMEPAGE = https://github.com/zopieux/py-gfm +CATEGORIES= textproc + +HOMEPAGE= https://github.com/zopieux/py-gfm # MIT -PERMIT_PACKAGE = Yes +PERMIT_PACKAGE= Yes -MODULES = lang/python - -MODPY_PI = Yes -MODPY_PYBUILD = setuptools +MODULES= lang/python +MODPY_PYBUILD= setuptools .include diff --git a/textproc/py-pygfm/distinfo b/textproc/py-pygfm/distinfo index 9975dec695a..01151c6bf06 100644 --- a/textproc/py-pygfm/distinfo +++ b/textproc/py-pygfm/distinfo @@ -1,2 +1,2 @@ -SHA256 (py-gfm-1.0.2.tar.gz) = 7zo+blSBfCHpfMFshXibBoHmKViCOguj49KfhQnZ3Ek= -SIZE (py-gfm-1.0.2.tar.gz) = 15134 +SHA256 (py-gfm-2.0.0.tar.gz) = PdUl2mqIr1483b34HgJ3I7JLXwXM7P8Y58U0GsVCIbo= +SIZE (py-gfm-2.0.0.tar.gz) = 21898 diff --git a/textproc/py-pygfm/patches/patch-setup_cfg b/textproc/py-pygfm/patches/patch-setup_cfg new file mode 100644 index 00000000000..911a89b4774 --- /dev/null +++ b/textproc/py-pygfm/patches/patch-setup_cfg @@ -0,0 +1,10 @@ +Index: setup.cfg +--- setup.cfg.orig ++++ setup.cfg +@@ -1,5 +1,5 @@ + [metadata] +-description-file = README.rst ++description_file = README.rst + + [bdist_wheel] + universal = 1 diff --git a/textproc/py-pygfm/pkg/DESCR b/textproc/py-pygfm/pkg/DESCR index c87dc2104f3..1915f9281c9 100644 --- a/textproc/py-pygfm/pkg/DESCR +++ b/textproc/py-pygfm/pkg/DESCR @@ -1,3 +1,6 @@ This is an implementation of GitHub-Flavored Markdown written as an -extension to the Python Markdown library. It aims for maximal -compatibility with GitHub's rendering. +extension to the Python Markdown library. + +This library has well-known consistency issues with rendering and will +not receive bug fixes. Consider instead using pycmarkgfm, a lightweight +Python wrapper for GitHub's own implementation of GFM instead.