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 licensediff -r1.11 -r1.12 pkgsrc/devel/py-memcached/Makefile
(adam)
@@ -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 | |||
3 | DISTNAME= python-memcached-1.59 | 3 | DISTNAME= python-memcached-1.61 | |
4 | PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/1} | 4 | PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/1} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-memcached/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-memcached/} | |
8 | 7 | |||
9 | MAINTAINER= kamel.derouiche@gmail.com | 8 | MAINTAINER= kamel.derouiche@gmail.com | |
10 | HOMEPAGE= http://www.tummy.com/Community/software/python-memcached/ | 9 | HOMEPAGE= http://www.tummy.com/Community/software/python-memcached/ | |
11 | COMMENT= Python memcached client | 10 | COMMENT= Python memcached client | |
12 | LICENSE= python-software-foundation | 11 | LICENSE= python-software-foundation | |
13 | 12 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six | 13 | TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | |
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel | |||
15 | 15 | |||
16 | USE_LANGUAGES= # none | 16 | USE_LANGUAGES= # none | |
17 | 17 | |||
18 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
19 | ||||
18 | REPLACE_PYTHON+= memcache.py | 20 | REPLACE_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" |
@@ -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 |
@@ -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 | |||
3 | BLAKE2s (python-memcached-1.59.tar.gz) = 872d04a85f5a848a15a9bf7eb95ca3827a0e64fcf038a8f9aa237bd995f9946e | 3 | BLAKE2s (python-memcached-1.61.tar.gz) = 019df6521b7152093ba402cd6534bb113b7776fdce5d8f410ecf2614d9b6f4e6 | |
4 | SHA512 (python-memcached-1.59.tar.gz) = a25cbb9efb3babe85e1523bdabfe4644b93b3a6a7268787a3928f724f833ce0eea7d2ef676d1b7f894cdfe293129975b35cb46ec553c92810dbc18013bfabece | 4 | SHA512 (python-memcached-1.61.tar.gz) = 00cbc6179f880b9383043285a51d7369a7a9000a4c4771834400bb9a388b38651e35e084137ae99288f93d6052f48e957fa342dbcf2b41c57833927814613055 | |
5 | Size (python-memcached-1.59.tar.gz) = 22210 bytes | 5 | Size (python-memcached-1.61.tar.gz) = 28551 bytes |