pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/py-eliot py-eliot: updated to 1.13.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/99af2e5eddab
branches: trunk
changeset: 453566:99af2e5eddab
user: adam <adam%pkgsrc.org@localhost>
date: Mon May 31 13:49:55 2021 +0000
description:
py-eliot: updated to 1.13.0
1.13.0
Features:
@capture_logging and MemoryLogger now support specifying a custom JSON encoder. By default they now use Eliot’s encoder. This means tests can now match the encoding used by a FileDestination.
Added support for Python 3.9.
Deprecation:
Python 3.5 is no longer supported.
diffstat:
sysutils/py-eliot/Makefile | 4 ++--
sysutils/py-eliot/distinfo | 12 ++++++------
sysutils/py-eliot/patches/patch-setup.py | 17 ++++++-----------
3 files changed, 14 insertions(+), 19 deletions(-)
diffs (59 lines):
diff -r e034a351c7ac -r 99af2e5eddab sysutils/py-eliot/Makefile
--- a/sysutils/py-eliot/Makefile Mon May 31 13:39:34 2021 +0000
+++ b/sysutils/py-eliot/Makefile Mon May 31 13:49:55 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2020/08/27 12:32:48 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2021/05/31 13:49:55 adam Exp $
-DISTNAME= eliot-1.12.0
+DISTNAME= eliot-1.13.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=e/eliot/}
diff -r e034a351c7ac -r 99af2e5eddab sysutils/py-eliot/distinfo
--- a/sysutils/py-eliot/distinfo Mon May 31 13:39:34 2021 +0000
+++ b/sysutils/py-eliot/distinfo Mon May 31 13:49:55 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/08/27 12:32:48 joerg Exp $
+$NetBSD: distinfo,v 1.3 2021/05/31 13:49:55 adam Exp $
-SHA1 (eliot-1.12.0.tar.gz) = 19ea57fe203d94425a17fa54bf065d5cdd9189c6
-RMD160 (eliot-1.12.0.tar.gz) = 0def7f7939383b901fa76a78e6da7b183a9edad8
-SHA512 (eliot-1.12.0.tar.gz) = d0ca6cf5a1a9ffb615c495a816856bd80880ff2a2ef0cf37ee905ce32e7a81d6e0cb28e107bb38899eb295e86850006f60d036f484663e6c105e4d51a13feb3c
-Size (eliot-1.12.0.tar.gz) = 152125 bytes
-SHA1 (patch-setup.py) = b3e6232c987bf172302124dc9c7e6302ec26cea1
+SHA1 (eliot-1.13.0.tar.gz) = f2e617d9686d21d1a6db2c8d3ebf31752558f1c0
+RMD160 (eliot-1.13.0.tar.gz) = 49c888b3dbf8827c99ea0625f3edc762a5ee5f1b
+SHA512 (eliot-1.13.0.tar.gz) = 95bf72c8cf64cb3dceb1665c244d866759bc0266aed478ba8a28a08f9001a91f7aa6497789c3a58e1416ac6e9c0b0dfc98f4e85f730769473a38a38baba0c473
+Size (eliot-1.13.0.tar.gz) = 153154 bytes
+SHA1 (patch-setup.py) = add6f58e048879446cdae5518f5bc03ee4c82af1
diff -r e034a351c7ac -r 99af2e5eddab sysutils/py-eliot/patches/patch-setup.py
--- a/sysutils/py-eliot/patches/patch-setup.py Mon May 31 13:39:34 2021 +0000
+++ b/sysutils/py-eliot/patches/patch-setup.py Mon May 31 13:49:55 2021 +0000
@@ -1,20 +1,15 @@
-$NetBSD: patch-setup.py,v 1.1 2020/08/27 12:32:49 joerg Exp $
+$NetBSD: patch-setup.py,v 1.2 2021/05/31 13:49:55 adam Exp $
---- setup.py.orig 2020-08-26 11:49:30.118420576 +0000
+Fix building for Python 3.6.
+
+--- setup.py.orig 2020-12-15 19:13:04.000000000 +0000
+++ setup.py
-@@ -1,13 +1,13 @@
- from setuptools import setup
-
- import versioneer
--
-+import sys
-
- def read(path):
+@@ -7,7 +7,7 @@ def read(path):
"""
Read the contents of a file.
"""
- with open(path) as f:
-+ with open(path, **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as f:
++ with open(path, encoding='utf-8') as f:
return f.read()
Home |
Main Index |
Thread Index |
Old Index