git: 0799859022c0 - main - databases/py-python-binary-memcached: Update to 0.31.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 28 Feb 2022 12:51:33 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0799859022c0af319f43401d3fe4b8715ae785bd

commit 0799859022c0af319f43401d3fe4b8715ae785bd
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-02-28 09:34:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-02-28 12:46:09 +0000

    databases/py-python-binary-memcached: Update to 0.31.1
    
    Changes:        https://github.com/jaysonsantos/python-binary-memcached/releases
                    https://github.com/jaysonsantos/python-binary-memcached/blob/master/CHANGELOG.md
---
 databases/py-python-binary-memcached/Makefile       |  2 +-
 databases/py-python-binary-memcached/distinfo       |  6 +++---
 .../py-python-binary-memcached/files/patch-setup.py | 21 +++++++++++++++++++++
 3 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/databases/py-python-binary-memcached/Makefile b/databases/py-python-binary-memcached/Makefile
index 8a57bfeeeff2..897b8977c2b7 100644
--- a/databases/py-python-binary-memcached/Makefile
+++ b/databases/py-python-binary-memcached/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	python-binary-memcached
-PORTVERSION=	0.30.1
+PORTVERSION=	0.31.1
 CATEGORIES=	databases python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/databases/py-python-binary-memcached/distinfo b/databases/py-python-binary-memcached/distinfo
index cb8eaced9033..1cd76bf843b6 100644
--- a/databases/py-python-binary-memcached/distinfo
+++ b/databases/py-python-binary-memcached/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602524155
-SHA256 (python-binary-memcached-0.30.1.tar.gz) = f91c3d79d022121c22ef733e9beee86e0598e29ffec67401c68cece1ba7f036a
-SIZE (python-binary-memcached-0.30.1.tar.gz) = 95123
+TIMESTAMP = 1643971032
+SHA256 (python-binary-memcached-0.31.1.tar.gz) = de4056f00a15d054dcf1af87d6cc9564876699e52da954c3ef44e8c5753d4050
+SIZE (python-binary-memcached-0.31.1.tar.gz) = 95924
diff --git a/databases/py-python-binary-memcached/files/patch-setup.py b/databases/py-python-binary-memcached/files/patch-setup.py
new file mode 100644
index 000000000000..0d9609838160
--- /dev/null
+++ b/databases/py-python-binary-memcached/files/patch-setup.py
@@ -0,0 +1,21 @@
+--- setup.py.orig	2021-12-29 08:31:32 UTC
++++ setup.py
+@@ -2,7 +2,6 @@ import os
+ import sys
+ 
+ from setuptools import setup
+-from m2r import convert
+ 
+ 
+ def read(filename):
+@@ -19,8 +18,8 @@ setup(
+     author="Jayson Reis",
+     author_email="santosdosreis@gmail.com",
+     description="A pure python module to access memcached via its binary protocol with SASL auth support",
+-    long_description="{0}\n{1}".format(
+-        read("README.rst"), convert(read("CHANGELOG.md"))
++    long_description="{0}".format(
++        read("README.rst")
+     ),
+     url="https://github.com/jaysonsantos/python-binary-memcached",
+     packages=["bmemcached", "bmemcached.client"],