pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-markdown



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 21 08:26:21 UTC 2019

Modified Files:
        pkgsrc/textproc/py-markdown: Makefile PLIST distinfo

Log Message:
py-markdown: updated to 3.1.1

v3.1:

Backwards-incompatible changes

markdown.version and markdown.version_info deprecated

Historically, version numbers were acquired via the attributes
markdown.version and markdown.version_info. As of 3.0, a more standardized
approach is being followed and versions are acquired via the
markdown.__version__ and markdown.__version_info__ attributes.  As of 3.1
the legacy attributes will raise a DeprecationWarning if they are accessed. In
a future release the legacy attributes will be removed.

New features

The following new features have been included in the release:

* A [Contributing Guide](../contributing.md) has been added.

* A new configuration option to set the footnote separator has been added. Also,
  the rel and rev attributes have been removed from footnotes as they are
  not valid in HTML5. The refs and backrefs classes already exist and
  serve the same purpose.

* A new option for toc_depth to set not only the bottom section level,
  but also the top section level. A string consisting of two digits
  separated by a hyphen in between ("2-5"), defines the top (t) and the
  bottom (b) (<ht>..<hb>). A single integer still defines the bottom
  section level (<h1>..<hb>) only..

Bug fixes

The following bug fixes are included in the 3.1 release:

* Update CLI to support PyYAML 5.1.
* Overlapping raw HTML matches no longer leave placeholders behind.
* Emphasis patterns now recognize newline characters as whitespace.
* Version format had been updated to be PEP 440 compliant.
* Block level elements are defined per instance, not as class attributes
 .
* Double escaping of block code has been eliminated.
* Problems with newlines in references has been fixed.
* Escaped # are now handled in header syntax.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/py-markdown/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-markdown/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/py-markdown/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-markdown/Makefile
diff -u pkgsrc/textproc/py-markdown/Makefile:1.19 pkgsrc/textproc/py-markdown/Makefile:1.20
--- pkgsrc/textproc/py-markdown/Makefile:1.19   Wed Mar 20 19:16:03 2019
+++ pkgsrc/textproc/py-markdown/Makefile        Tue May 21 08:26:21 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2019/03/20 19:16:03 adam Exp $
+# $NetBSD: Makefile,v 1.20 2019/05/21 08:26:21 adam Exp $
 
-DISTNAME=      Markdown-3.0.1
+DISTNAME=      Markdown-3.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=M/Markdown/}
@@ -10,12 +10,14 @@ HOMEPAGE=   https://Python-Markdown.github
 COMMENT=       XHTML generator using a simple markup
 LICENSE=       modified-bsd
 
+DEPENDS+=      ${PYPKGPREFIX}-setuptools>=36:../../devel/py-setuptools
 TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
 USE_LANGUAGES= # none
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} markdown_py markdown_py${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} markdown_py markdown_py${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-markdown/PLIST
diff -u pkgsrc/textproc/py-markdown/PLIST:1.8 pkgsrc/textproc/py-markdown/PLIST:1.9
--- pkgsrc/textproc/py-markdown/PLIST:1.8       Wed Mar 20 16:25:02 2019
+++ pkgsrc/textproc/py-markdown/PLIST   Tue May 21 08:26:21 2019
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.8 2019/03/20 16:25:02 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/05/21 08:26:21 adam Exp $
 bin/markdown_py${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/markdown/__init__.py
 ${PYSITELIB}/markdown/__init__.pyc
@@ -11,6 +12,9 @@ ${PYSITELIB}/markdown/__init__.pyo
 ${PYSITELIB}/markdown/__main__.py
 ${PYSITELIB}/markdown/__main__.pyc
 ${PYSITELIB}/markdown/__main__.pyo
+${PYSITELIB}/markdown/__meta__.py
+${PYSITELIB}/markdown/__meta__.pyc
+${PYSITELIB}/markdown/__meta__.pyo
 ${PYSITELIB}/markdown/blockparser.py
 ${PYSITELIB}/markdown/blockparser.pyc
 ${PYSITELIB}/markdown/blockparser.pyo
@@ -77,6 +81,9 @@ ${PYSITELIB}/markdown/extensions/wikilin
 ${PYSITELIB}/markdown/inlinepatterns.py
 ${PYSITELIB}/markdown/inlinepatterns.pyc
 ${PYSITELIB}/markdown/inlinepatterns.pyo
+${PYSITELIB}/markdown/pep562.py
+${PYSITELIB}/markdown/pep562.pyc
+${PYSITELIB}/markdown/pep562.pyo
 ${PYSITELIB}/markdown/postprocessors.py
 ${PYSITELIB}/markdown/postprocessors.pyc
 ${PYSITELIB}/markdown/postprocessors.pyo

Index: pkgsrc/textproc/py-markdown/distinfo
diff -u pkgsrc/textproc/py-markdown/distinfo:1.13 pkgsrc/textproc/py-markdown/distinfo:1.14
--- pkgsrc/textproc/py-markdown/distinfo:1.13   Wed Mar 20 16:25:02 2019
+++ pkgsrc/textproc/py-markdown/distinfo        Tue May 21 08:26:21 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2019/03/20 16:25:02 wiz Exp $
+$NetBSD: distinfo,v 1.14 2019/05/21 08:26:21 adam Exp $
 
-SHA1 (Markdown-3.0.1.tar.gz) = c3aae637d1427c36efe4dbb537d89894a26e7526
-RMD160 (Markdown-3.0.1.tar.gz) = e0a39213a6219b19b5c3882c0a99dda487c39b5c
-SHA512 (Markdown-3.0.1.tar.gz) = c648c1b8ecb3c907ff2bd636ec6c08b4b629967fb916913f77db641f6d61b83d16929af2f15f5695c8cdb9614031606110e02a7e0bbb3aab0be38a8e285f12f1
-Size (Markdown-3.0.1.tar.gz) = 284084 bytes
+SHA1 (Markdown-3.1.1.tar.gz) = dd466b1d0f5ea38e68b3dde2287dd0cac356ef8c
+RMD160 (Markdown-3.1.1.tar.gz) = 770c41f726e57b64e2c27266e6b0cf8b7bf895ab
+SHA512 (Markdown-3.1.1.tar.gz) = 78f089f2eef5c73d683ac96fd20c87145e243d12b0f230b9b0228b995035fbb084dde40be788679c63637f05956487ad520cc9dd61d133926bf13521aa600090
+Size (Markdown-3.1.1.tar.gz) = 294136 bytes



Home | Main Index | Thread Index | Old Index