pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-yaml py-yaml: updated to 5.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52af7acc71b1
branches:  trunk
changeset: 394300:52af7acc71b1
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Apr 07 22:02:09 2019 +0000

description:
py-yaml: updated to 5.1

5.1:
* Some modernization of the test running
* Install tox in a virtualenv
* Allow colon in a plain scalar in a flow context
* Fix typos
* Improve RepresenterError creation
* Resolves 57, update readme issues link
* Document and test Python 3.6 support
* Use Travis CI built in pip cache support
* Remove tox workaround for Travis CI
* Adding support to Unicode characters over codepoint 0xffff
* Support unicode literals over codepoint 0xffff
* add 3.12 changelog
* Fallback to Pure Python if Compilation fails
* Drop unsupported Python 3.3
* Include license file in the generated wheel package
* Removed Python 2.6 & 3.3 support
* Remove commented out Psyco code
* Remove call to ord in lib3 emitter code
* Allow to turn off sorting keys in Dumper
* Test on Python 3.7-dev
* Support escaped slash in double quotes "\/"
* Import Hashable from collections.abc
* Make default_flow_style=False
* Deprecate yaml.load and add FullLoader and UnsafeLoader classes
* Windows Appveyor build

diffstat:

 textproc/py-yaml/Makefile               |   4 ++--
 textproc/py-yaml/distinfo               |  11 +++++------
 textproc/py-yaml/patches/patch-setup.py |  19 -------------------
 3 files changed, 7 insertions(+), 27 deletions(-)

diffs (51 lines):

diff -r 388afa704474 -r 52af7acc71b1 textproc/py-yaml/Makefile
--- a/textproc/py-yaml/Makefile Sun Apr 07 22:01:06 2019 +0000
+++ b/textproc/py-yaml/Makefile Sun Apr 07 22:02:09 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2018/07/07 08:21:59 adam Exp $
+# $NetBSD: Makefile,v 1.18 2019/04/07 22:02:09 adam Exp $
 
-DISTNAME=      PyYAML-3.13
+DISTNAME=      PyYAML-5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/PyYAML/yaml/}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyYAML/}
diff -r 388afa704474 -r 52af7acc71b1 textproc/py-yaml/distinfo
--- a/textproc/py-yaml/distinfo Sun Apr 07 22:01:06 2019 +0000
+++ b/textproc/py-yaml/distinfo Sun Apr 07 22:02:09 2019 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.9 2018/07/07 08:21:59 adam Exp $
+$NetBSD: distinfo,v 1.10 2019/04/07 22:02:09 adam Exp $
 
-SHA1 (PyYAML-3.13.tar.gz) = 22f95fe2f5ef29ab17110f92c7186e2cfde6b419
-RMD160 (PyYAML-3.13.tar.gz) = 83e7c03acd667f95cf68ed4559aec3ecf3fc79ac
-SHA512 (PyYAML-3.13.tar.gz) = 93642286d0317e2fe970632c36d38ce6030f7cabcf971f28e3a1054f07390fcee5baaf7f167e7c9690dbd7b2adc61f5b7d75a218ace0abca34ff8815486cfdd7
-Size (PyYAML-3.13.tar.gz) = 270607 bytes
-SHA1 (patch-setup.py) = 8718125829210a220c8eaf2d87744cc05f024b38
+SHA1 (PyYAML-5.1.tar.gz) = 53fc16036940089ceadd4127381e40fd6106a7ed
+RMD160 (PyYAML-5.1.tar.gz) = 225080a67c754ff64958da5bf1c5a1b80d853cd4
+SHA512 (PyYAML-5.1.tar.gz) = 8f27f92bdfa310a99dd6d83947332cc033fa18f0011998bb585ad5c4340a2da20d8c20bfdb53beaae15651198d1240c986818379b0a05b230f74d1f30f53e7fd
+Size (PyYAML-5.1.tar.gz) = 274244 bytes
diff -r 388afa704474 -r 52af7acc71b1 textproc/py-yaml/patches/patch-setup.py
--- a/textproc/py-yaml/patches/patch-setup.py   Sun Apr 07 22:01:06 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-setup.py,v 1.1 2014/12/01 11:54:48 joerg Exp $
-
---- setup.py.orig      2014-11-28 20:58:54.000000000 +0000
-+++ setup.py
-@@ -248,12 +248,13 @@ class build_ext(_build_ext):
-         prog = 'check_%s' % ext.feature_name
-         log.info("checking if %s is linkable" % ext.feature_name)
-         try:
-+            linker_flags = ["%s%s/lib" % (os.environ['COMPILER_RPATH_FLAG'], os.environ['PREFIX']), "-L%s/lib" % os.environ['PREFIX']]
-             self.compiler.link_executable([obj], prog,
-                     output_dir=self.build_temp,
-                     libraries=ext.libraries,
-                     library_dirs=ext.library_dirs,
-                     runtime_library_dirs=ext.runtime_library_dirs,
--                    extra_postargs=(ext.extra_link_args or []))
-+                    extra_postargs=(ext.extra_link_args or [])+linker_flags)
-         except LinkError:
-             log.warn("")
-             log.warn("%s is not found or a linker error: forcing --%s"



Home | Main Index | Thread Index | Old Index