pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-textile py-textile: update to 2.3.16



details:   https://anonhg.NetBSD.org/pkgsrc/rev/187bdfb48b96
branches:  trunk
changeset: 369858:187bdfb48b96
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 07 07:20:11 2017 +0000

description:
py-textile: update to 2.3.16

Version 2.3.16
Bugfixes:
* Fix processing of extended code blocks
* Don't break when links fail to include "http:"
* Better handling of poorly-formatted tables

diffstat:

 textproc/py-textile/ALTERNATIVES                                |   1 +
 textproc/py-textile/Makefile                                    |  28 ++++---
 textproc/py-textile/PLIST                                       |  35 ++++++++--
 textproc/py-textile/distinfo                                    |  11 +-
 textproc/py-textile/patches/patch-textile_tests_____init____.py |  25 -------
 5 files changed, 51 insertions(+), 49 deletions(-)

diffs (142 lines):

diff -r 6c63300e8e84 -r 187bdfb48b96 textproc/py-textile/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-textile/ALTERNATIVES  Sat Oct 07 07:20:11 2017 +0000
@@ -0,0 +1,1 @@
+bin/textile @PREFIX@/bin/textile@PYVERSSUFFIX@
diff -r 6c63300e8e84 -r 187bdfb48b96 textproc/py-textile/Makefile
--- a/textproc/py-textile/Makefile      Sat Oct 07 07:05:49 2017 +0000
+++ b/textproc/py-textile/Makefile      Sat Oct 07 07:20:11 2017 +0000
@@ -1,17 +1,23 @@
-# $NetBSD: Makefile,v 1.15 2017/09/04 18:01:02 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.16 2017/10/07 07:20:11 adam Exp $
+
+DISTNAME=      textile-2.3.16
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=t/textile/}
 
-DISTNAME=              textile-2.1.5
-PKGNAME=               ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=            textproc python
-MASTER_SITES=          ${MASTER_SITE_PYPI:=t/textile/}
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/textile/python-textile
+COMMENT=       XHTML generator using a simple markup
+LICENSE=       modified-bsd
 
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=             https://github.com/chrisdrackett/python-textile/
-COMMENT=               XHTML generator using a simple markup
-LICENSE=               modified-bsd
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+=      ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
-USE_LANGUAGES=         #none
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} pytextile pytextile${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6c63300e8e84 -r 187bdfb48b96 textproc/py-textile/PLIST
--- a/textproc/py-textile/PLIST Sat Oct 07 07:05:49 2017 +0000
+++ b/textproc/py-textile/PLIST Sat Oct 07 07:20:11 2017 +0000
@@ -1,18 +1,33 @@
-@comment $NetBSD: PLIST,v 1.2 2011/10/25 08:30:10 obache Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/10/07 07:20:11 adam Exp $
+bin/pytextile${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}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/textile/__init__.py
 ${PYSITELIB}/textile/__init__.pyc
 ${PYSITELIB}/textile/__init__.pyo
-${PYSITELIB}/textile/functions.py
-${PYSITELIB}/textile/functions.pyc
-${PYSITELIB}/textile/functions.pyo
-${PYSITELIB}/textile/tests/__init__.py
-${PYSITELIB}/textile/tests/__init__.pyc
-${PYSITELIB}/textile/tests/__init__.pyo
+${PYSITELIB}/textile/__main__.py
+${PYSITELIB}/textile/__main__.pyc
+${PYSITELIB}/textile/__main__.pyo
+${PYSITELIB}/textile/core.py
+${PYSITELIB}/textile/core.pyc
+${PYSITELIB}/textile/core.pyo
+${PYSITELIB}/textile/objects/__init__.py
+${PYSITELIB}/textile/objects/__init__.pyc
+${PYSITELIB}/textile/objects/__init__.pyo
+${PYSITELIB}/textile/objects/block.py
+${PYSITELIB}/textile/objects/block.pyc
+${PYSITELIB}/textile/objects/block.pyo
+${PYSITELIB}/textile/objects/table.py
+${PYSITELIB}/textile/objects/table.pyc
+${PYSITELIB}/textile/objects/table.pyo
+${PYSITELIB}/textile/regex_strings.py
+${PYSITELIB}/textile/regex_strings.pyc
+${PYSITELIB}/textile/regex_strings.pyo
 ${PYSITELIB}/textile/textilefactory.py
 ${PYSITELIB}/textile/textilefactory.pyc
 ${PYSITELIB}/textile/textilefactory.pyo
@@ -25,3 +40,9 @@
 ${PYSITELIB}/textile/tools/sanitizer.py
 ${PYSITELIB}/textile/tools/sanitizer.pyc
 ${PYSITELIB}/textile/tools/sanitizer.pyo
+${PYSITELIB}/textile/utils.py
+${PYSITELIB}/textile/utils.pyc
+${PYSITELIB}/textile/utils.pyo
+${PYSITELIB}/textile/version.py
+${PYSITELIB}/textile/version.pyc
+${PYSITELIB}/textile/version.pyo
diff -r 6c63300e8e84 -r 187bdfb48b96 textproc/py-textile/distinfo
--- a/textproc/py-textile/distinfo      Sat Oct 07 07:05:49 2017 +0000
+++ b/textproc/py-textile/distinfo      Sat Oct 07 07:20:11 2017 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 02:00:04 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/10/07 07:20:11 adam Exp $
 
-SHA1 (textile-2.1.5.tar.gz) = 16a4930fc3ef1afa3360e63af382258cc881a341
-RMD160 (textile-2.1.5.tar.gz) = ed4163df4b7e586de23c054fc243f7631c7962c3
-SHA512 (textile-2.1.5.tar.gz) = 9a9655c5032120aac014f5a4c741d1a0cff7dbdef40389beb4856cdd188e96bb073c9ed878e90d7597d92e3b5bddb331275a96b06533d9fe7e32469c27a35962
-Size (textile-2.1.5.tar.gz) = 16541 bytes
-SHA1 (patch-textile_tests_____init____.py) = 71c27bd218a82b80b18d0198c5c1d2996c447e0a
+SHA1 (textile-2.3.16.tar.gz) = 3afeec7c429317489cfbd06895047bfadbed0cc0
+RMD160 (textile-2.3.16.tar.gz) = a48cf9d8e3f2675caec24f8b6c692dbcb178424e
+SHA512 (textile-2.3.16.tar.gz) = 6ed348f60ebaf3a4b4ba448c4e20a3f3ea2568544270cd6707038dc99b10bb5d77ee5b52e3b5d035b7c24070aadfc5b238c0d60a9426963e3750d6b7adb188e2
+Size (textile-2.3.16.tar.gz) = 47578 bytes
diff -r 6c63300e8e84 -r 187bdfb48b96 textproc/py-textile/patches/patch-textile_tests_____init____.py
--- a/textproc/py-textile/patches/patch-textile_tests_____init____.py   Sat Oct 07 07:05:49 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-textile_tests_____init____.py,v 1.1 2011/10/28 02:15:10 obache Exp $
-
-* python24 compatibility fix.
- (for python>=25, the list of base classes in a class definition can be empty)
-
---- textile/tests/__init__.py.orig     2011-05-04 02:19:09.000000000 +0000
-+++ textile/tests/__init__.py
-@@ -11,7 +11,7 @@ from nose.plugins.skip import SkipTest
- """
- 
- 
--class TestKnownValues():
-+class TestKnownValues:
-     xhtml_known_values = (
-         ('hello, world', '\t<p>hello, world</p>'),
- 
-@@ -277,7 +277,7 @@ class TestKnownValues():
-         eq_(output, expected_output)
- 
- 
--class Tests():
-+class Tests:
-     def testFootnoteReference(self):
-         html = textile.textile('YACC[1]')
-         assert_true(re.search('^\t<p>YACC<sup class="footnote"><a href="#fn[a-z0-9-]+">1</a></sup></p>', html))



Home | Main Index | Thread Index | Old Index