git: 0d4ffd735d4b - main - www/py-rackspace-monitoring: Update version 0.6.5=>0.8.1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 12 Mar 2022 10:33:51 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d4ffd735d4b595cd6df668d0d5c65425a5710de

commit 0d4ffd735d4b595cd6df668d0d5c65425a5710de
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-03-09 17:09:54 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-03-12 10:33:46 +0000

    www/py-rackspace-monitoring: Update version 0.6.5=>0.8.1
    
    - Mark DEPRECATED as it's compatibility defined by upstream is upto 3.2
      only and last release was 3 years ago
    - Set EXPIRATION_DATE to 2022-06-30
    Relnotes: https://github.com/racker/rackspace-monitoring/releases/tag/v0.8.1
---
 www/py-rackspace-monitoring/Makefile             | 9 ++++++---
 www/py-rackspace-monitoring/distinfo             | 5 +++--
 www/py-rackspace-monitoring/files/patch-setup.py | 8 ++++----
 3 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/www/py-rackspace-monitoring/Makefile b/www/py-rackspace-monitoring/Makefile
index bc1d8a9d270f..b42d326fa905 100644
--- a/www/py-rackspace-monitoring/Makefile
+++ b/www/py-rackspace-monitoring/Makefile
@@ -1,7 +1,7 @@
 # Created by: Kubilay Kocak <koobs@FreeBSD.org>
 
 PORTNAME=	rackspace-monitoring
-PORTVERSION=	0.6.5
+PORTVERSION=	0.8.1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,13 @@ COMMENT=	Python client library for Rackspace Cloud Monitoring
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libcloud>=0.14:net/py-libcloud@${PY_FLAVOR}
+DEPRECATED=	Python compatibility upto 3.2 and last release was 3 years ago
+EXPIRATION_DATE=	2022-06-30
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}libcloud>=0.17:net/py-libcloud@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
diff --git a/www/py-rackspace-monitoring/distinfo b/www/py-rackspace-monitoring/distinfo
index 7aae60335cc3..9510a7b83b69 100644
--- a/www/py-rackspace-monitoring/distinfo
+++ b/www/py-rackspace-monitoring/distinfo
@@ -1,2 +1,3 @@
-SHA256 (rackspace-monitoring-0.6.5.tar.gz) = 28e91f1054a9fe3b130c9d4fd65cb007e8efdaa89e9d8a8e99479aec73e298c4
-SIZE (rackspace-monitoring-0.6.5.tar.gz) = 31397
+TIMESTAMP = 1646761209
+SHA256 (rackspace-monitoring-0.8.1.tar.gz) = b055b6574447b69f87bb47a96cd5a91635cc2ec2c6b2154f435c2eedcd018007
+SIZE (rackspace-monitoring-0.8.1.tar.gz) = 33118
diff --git a/www/py-rackspace-monitoring/files/patch-setup.py b/www/py-rackspace-monitoring/files/patch-setup.py
index e957fb09a22f..b382cf9b7a3e 100644
--- a/www/py-rackspace-monitoring/files/patch-setup.py
+++ b/www/py-rackspace-monitoring/files/patch-setup.py
@@ -1,11 +1,11 @@
---- setup.py.orig	2016-03-07 05:34:43 UTC
+--- setup.py.orig	2018-08-13 13:22:29 UTC
 +++ setup.py
 @@ -171,7 +171,7 @@ setup(
      description='Client library for Rackspace Cloud Monitoring',
      author='Rackspace, Inc.',
      author_email='monitoring@rackspace.com',
--    install_requires=['apache-libcloud >= 0.14, <0.16'],
-+    install_requires=['apache-libcloud >= 0.14'],
+-    install_requires=['apache-libcloud >= 0.17,<2.0',
++    install_requires=['apache-libcloud >= 0.17',
+                       'backports.ssl_match_hostname'],
      packages=[
          'rackspace_monitoring',
-         'rackspace_monitoring.drivers',