pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-daemon py-daemon: updated to 2.3.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/046fb51d975a
branches:  trunk
changeset: 384804:046fb51d975a
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Sep 05 09:49:36 2022 +0000

description:
py-daemon: updated to 2.3.1

Version 2.3.1
=============

Bugs Fixed:

* Avoid operations on a closed stream file when detecting a socket.
* Correct use of names to allow `from daemon import *`.

Changed:

* Speed daemon start time by computing candidate file descriptors once.
* Remove incorrect double-patch of objects in test cases.
* Deprecate helper function `is_socket`.

  The function incorrectly causes `ValueError` when the file object is already
  closed. Migrate to the new `is_socket_file` helper function instead.

Removed:

* Drop backward-compatible helpers that provided Python 2 support.

  * declaration of source encoding ‘utf-8’
  * absolute_import
  * unicode_literals
  * module-level metaclass `type`
  * unification of str with unicode type
  * renamed standard library exceptions and modules
  * raise exception from context exception

  All these are default behaviour in Python 3 and need no special
  handling.

diffstat:

 devel/py-daemon/Makefile |  7 +++----
 devel/py-daemon/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (36 lines):

diff -r 01192cfbdfb1 -r 046fb51d975a devel/py-daemon/Makefile
--- a/devel/py-daemon/Makefile  Mon Sep 05 09:43:51 2022 +0000
+++ b/devel/py-daemon/Makefile  Mon Sep 05 09:49:36 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2022/01/04 20:52:59 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2022/09/05 09:49:36 adam Exp $
 
-DISTNAME=      python-daemon-2.3.0
+DISTNAME=      python-daemon-2.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-daemon/}
 
@@ -12,7 +11,7 @@
 LICENSE=       gnu-gpl-v2
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-twine-[0-9]*:../../net/py-twine
-TOOL_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+DEPENDS+=      ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
 DEPENDS+=      ${PYPKGPREFIX}-lockfile>=0.10:../../devel/py-lockfile
 DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
diff -r 01192cfbdfb1 -r 046fb51d975a devel/py-daemon/distinfo
--- a/devel/py-daemon/distinfo  Mon Sep 05 09:43:51 2022 +0000
+++ b/devel/py-daemon/distinfo  Mon Sep 05 09:49:36 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:18:22 nia Exp $
+$NetBSD: distinfo,v 1.11 2022/09/05 09:49:36 adam Exp $
 
-BLAKE2s (python-daemon-2.3.0.tar.gz) = 025553dee81b9de422e46839bca04539e9a34bc0c3e99e637afbfe2fb724891e
-SHA512 (python-daemon-2.3.0.tar.gz) = 30bb70821aae720d09032c8c666524fa9a1a486314ffff73eb161231a1f2b954914295b4ad41f9c8529bc045fb6d0f89256bc59f8979a4f8a6698e9bd4d7441a
-Size (python-daemon-2.3.0.tar.gz) = 82831 bytes
+BLAKE2s (python-daemon-2.3.1.tar.gz) = 894aa809864aaef72bed576d9886faf1c42e2173064f7cd65ba954486d5cd5fe
+SHA512 (python-daemon-2.3.1.tar.gz) = 128fd8ac125eac613936668bb555635c8cec576d5c23513210f0956983c70720dd93906adeee581b192b57480a3df93dc1e08f6f7b62e38b2404fa00aba4805a
+Size (python-daemon-2.3.1.tar.gz) = 82856 bytes


Home | Main Index | Thread Index | Old Index