Fri Jan 5 18:05:52 2024 UTC (143d)
py-memcached: updated to 1.61

1.61

* Fixing the ChangeLog entry which had a bad date.

1.60

*  Allow to use a datetime.timedelta parameter for Client.set
*  Fix cmemcahe_hash 0 values being translated to 1
*  Fix tuple key support in multi methods
*  Add support for default value in get
*  test_memcache.py: try import unittest.mock
*  Use == as suggested by Python 3.8
*  Decoding in slab funcs, replacing "1" with "True" in while.
*  Tell PyPI to parse README as markdown
*  test_memcache.py: try import unittest.mock
*  Removed Python 2.7 from setup.cfg, adding 3.8-3.12
*  Add support for default value in get()
*  Fix tuple key support in multi methods (regression in 1.55).
*  Fix cmemcahe_hash 0 values being translated to 1.  For example "ob"
   would hash to 0 and then get converted to 1.  Looks like this dated
   back to 2009, the original code we imported for that hash function.
*  Removing six.PY2/3 conditionals
*  Removing "time" from delete and making expiry mandatory in touch.
*  Added quit() method.  This method sends the 'quit' command to the
   servers and then closes the connections, reducing the number of
   TIME_WAIT sockets hanging around the OS.
*  Allow to use a datetime.timedelta parameter for Client.set
*  Allow keys to be encoded before use.
*  Removing historic python 2to3 code and deprecated socket.error (for
   OSError).
*  Updating to the latest PSF license


(adam)
diff -r1.11 -r1.12 pkgsrc/devel/py-memcached/Makefile
diff -r1.3 -r1.4 pkgsrc/devel/py-memcached/PLIST
diff -r1.7 -r1.8 pkgsrc/devel/py-memcached/distinfo

cvs diff -r1.11 -r1.12 pkgsrc/devel/py-memcached/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-memcached/Makefile 2022/01/04 20:53:16 1.11
+++ pkgsrc/devel/py-memcached/Makefile 2024/01/05 18:05:52 1.12
@@ -1,22 +1,24 @@ @@ -1,22 +1,24 @@
1# $NetBSD: Makefile,v 1.11 2022/01/04 20:53:16 wiz Exp $ 1# $NetBSD: Makefile,v 1.12 2024/01/05 18:05:52 adam Exp $
2 2
3DISTNAME= python-memcached-1.59 3DISTNAME= python-memcached-1.61
4PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/1} 4PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/1}
5PKGREVISION= 1 
6CATEGORIES= devel python 5CATEGORIES= devel python
7MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-memcached/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-memcached/}
8 7
9MAINTAINER= kamel.derouiche@gmail.com 8MAINTAINER= kamel.derouiche@gmail.com
10HOMEPAGE= http://www.tummy.com/Community/software/python-memcached/ 9HOMEPAGE= http://www.tummy.com/Community/software/python-memcached/
11COMMENT= Python memcached client 10COMMENT= Python memcached client
12LICENSE= python-software-foundation 11LICENSE= python-software-foundation
13 12
14DEPENDS+= ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
15 15
16USE_LANGUAGES= # none 16USE_LANGUAGES= # none
17 17
 18PYTHON_VERSIONS_INCOMPATIBLE= 27
 19
18REPLACE_PYTHON+= memcache.py 20REPLACE_PYTHON+= memcache.py
19 21
20.include "../../lang/python/application.mk" 22.include "../../lang/python/application.mk"
21.include "../../lang/python/egg.mk" 23.include "../../lang/python/wheel.mk"
22.include "../../mk/bsd.pkg.mk" 24.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/devel/py-memcached/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-memcached/PLIST 2017/05/29 09:24:45 1.3
+++ pkgsrc/devel/py-memcached/PLIST 2024/01/05 18:05:52 1.4
@@ -1,9 +1,8 @@ @@ -1,9 +1,8 @@
1@comment $NetBSD: PLIST,v 1.3 2017/05/29 09:24:45 adam Exp $ 1@comment $NetBSD: PLIST,v 1.4 2024/01/05 18:05:52 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${WHEEL_INFODIR}/METADATA
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${WHEEL_INFODIR}/RECORD
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
5${PYSITELIB}/${EGG_INFODIR}/requires.txt 5${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 
7${PYSITELIB}/memcache.py 6${PYSITELIB}/memcache.py
8${PYSITELIB}/memcache.pyc 7${PYSITELIB}/memcache.pyc
9${PYSITELIB}/memcache.pyo 8${PYSITELIB}/memcache.pyo

cvs diff -r1.7 -r1.8 pkgsrc/devel/py-memcached/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-memcached/distinfo 2021/10/26 10:18:40 1.7
+++ pkgsrc/devel/py-memcached/distinfo 2024/01/05 18:05:52 1.8
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.7 2021/10/26 10:18:40 nia Exp $ 1$NetBSD: distinfo,v 1.8 2024/01/05 18:05:52 adam Exp $
2 2
3BLAKE2s (python-memcached-1.59.tar.gz) = 872d04a85f5a848a15a9bf7eb95ca3827a0e64fcf038a8f9aa237bd995f9946e 3BLAKE2s (python-memcached-1.61.tar.gz) = 019df6521b7152093ba402cd6534bb113b7776fdce5d8f410ecf2614d9b6f4e6
4SHA512 (python-memcached-1.59.tar.gz) = a25cbb9efb3babe85e1523bdabfe4644b93b3a6a7268787a3928f724f833ce0eea7d2ef676d1b7f894cdfe293129975b35cb46ec553c92810dbc18013bfabece 4SHA512 (python-memcached-1.61.tar.gz) = 00cbc6179f880b9383043285a51d7369a7a9000a4c4771834400bb9a388b38651e35e084137ae99288f93d6052f48e957fa342dbcf2b41c57833927814613055
5Size (python-memcached-1.59.tar.gz) = 22210 bytes 5Size (python-memcached-1.61.tar.gz) = 28551 bytes