python3Packages.python-memcached: 1.51 -> 1.59

Also rename from memcached to python-memcached.
This commit is contained in:
Robert Schütz
2022-05-06 02:57:01 +00:00
parent e237f3e459
commit a198efc313
9 changed files with 54 additions and 50 deletions
@@ -5,7 +5,7 @@
, glibcLocales
, nose
, pylibmc
, memcached
, python-memcached
, redis
, pymongo
, mock
@@ -42,7 +42,7 @@ buildPythonPackage rec {
checkInputs = [
glibcLocales
memcached
python-memcached
mock
nose
pylibmc
@@ -52,11 +52,7 @@ buildPythonPackage rec {
];
# Can not run memcached tests because it immediately tries to connect
postPatch = lib.optionalString isPy3k ''
substituteInPlace setup.py \
--replace "python-memcached" "python3-memcached"
'' + ''
postPatch = ''
rm tests/test_memcached.py
'';