pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-markdown py-markdown: updated to 3.1.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/23d311f4f2e4
branches: trunk
changeset: 396063:23d311f4f2e4
user: adam <adam%pkgsrc.org@localhost>
date: Tue May 21 08:26:21 2019 +0000
description:
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.
diffstat:
textproc/py-markdown/Makefile | 8 +++++---
textproc/py-markdown/PLIST | 9 ++++++++-
textproc/py-markdown/distinfo | 10 +++++-----
3 files changed, 18 insertions(+), 9 deletions(-)
diffs (78 lines):
diff -r 0baf6c8efa80 -r 23d311f4f2e4 textproc/py-markdown/Makefile
--- a/textproc/py-markdown/Makefile Tue May 21 08:20:47 2019 +0000
+++ b/textproc/py-markdown/Makefile Tue May 21 08:26:21 2019 +0000
@@ -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 @@
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"
diff -r 0baf6c8efa80 -r 23d311f4f2e4 textproc/py-markdown/PLIST
--- a/textproc/py-markdown/PLIST Tue May 21 08:20:47 2019 +0000
+++ b/textproc/py-markdown/PLIST Tue May 21 08:26:21 2019 +0000
@@ -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/__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/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
diff -r 0baf6c8efa80 -r 23d311f4f2e4 textproc/py-markdown/distinfo
--- a/textproc/py-markdown/distinfo Tue May 21 08:20:47 2019 +0000
+++ b/textproc/py-markdown/distinfo Tue May 21 08:26:21 2019 +0000
@@ -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