summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/py-rt/Makefile7
-rw-r--r--net/py-rt/PLIST16
-rw-r--r--net/py-rt/distinfo12
-rw-r--r--net/py-rt/patches/patch-rt.py6
4 files changed, 26 insertions, 15 deletions
diff --git a/net/py-rt/Makefile b/net/py-rt/Makefile
index 8c16c180760..88306913454 100644
--- a/net/py-rt/Makefile
+++ b/net/py-rt/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2020/02/24 13:38:38 leot Exp $
+# $NetBSD: Makefile,v 1.6 2020/02/24 14:38:25 leot Exp $
-DISTNAME= rt-1.0.13
+DISTNAME= rt-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/rt/}
@@ -17,5 +17,8 @@ DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= # none
+# Only for Python 3
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-rt/PLIST b/net/py-rt/PLIST
index a8feb556eed..09ecd26d7d9 100644
--- a/net/py-rt/PLIST
+++ b/net/py-rt/PLIST
@@ -1,9 +1,17 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/15 10:53:31 leot Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/02/24 14:38:25 leot Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/rt.py
-${PYSITELIB}/rt.pyc
-${PYSITELIB}/rt.pyo
+${PYSITELIB}/rt/__init__.py
+${PYSITELIB}/rt/__init__.pyc
+${PYSITELIB}/rt/__init__.pyo
+${PYSITELIB}/rt/exceptions.py
+${PYSITELIB}/rt/exceptions.pyc
+${PYSITELIB}/rt/exceptions.pyo
+${PYSITELIB}/rt/py.typed
+${PYSITELIB}/rt/rt.py
+${PYSITELIB}/rt/rt.pyc
+${PYSITELIB}/rt/rt.pyo
diff --git a/net/py-rt/distinfo b/net/py-rt/distinfo
index a439f2e0c79..87631d19fd0 100644
--- a/net/py-rt/distinfo
+++ b/net/py-rt/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2020/02/24 13:38:38 leot Exp $
+$NetBSD: distinfo,v 1.6 2020/02/24 14:38:25 leot Exp $
-SHA1 (py-rt/rt-1.0.13.tar.gz) = d5ce11772ee2db795eb4b7e3637c5b54161301eb
-RMD160 (py-rt/rt-1.0.13.tar.gz) = dacbf92f7d244b46f6d604f234d50b8fdb20ceb1
-SHA512 (py-rt/rt-1.0.13.tar.gz) = 670b5e9cc582dfeefe706022251b66a4f4ea0e42507ed7ce6c4bc000140fd514c8559ac578e642c7b4c6aa6a8809463ace111f3d97e00b1f95e17586e1b174f7
-Size (py-rt/rt-1.0.13.tar.gz) = 36848 bytes
-SHA1 (patch-rt.py) = 181b7e8f694efa1a76592496a5cc48df8fd9c055
+SHA1 (py-rt/rt-2.0.0.tar.gz) = 83095414750acef5f9a331249b26c9270d011f9e
+RMD160 (py-rt/rt-2.0.0.tar.gz) = 2f4fb8586c6050dfec35d90a9d7edd187c398edc
+SHA512 (py-rt/rt-2.0.0.tar.gz) = a70cef437f66b97f6d19a62f1d1a7d12633d2092da727599419aeabdd6f41e26cf97a531b745eac7bcd77ca7a39805c71a66dc5f610cbc352f8aa28a2f682967
+Size (py-rt/rt-2.0.0.tar.gz) = 38703 bytes
+SHA1 (patch-rt.py) = 33668fc6ef0ea138acc8075a2d0fda2fca179de4
diff --git a/net/py-rt/patches/patch-rt.py b/net/py-rt/patches/patch-rt.py
index 6eaa6f92caf..048661fef74 100644
--- a/net/py-rt/patches/patch-rt.py
+++ b/net/py-rt/patches/patch-rt.py
@@ -1,10 +1,10 @@
-$NetBSD: patch-rt.py,v 1.3 2020/01/02 15:46:11 leot Exp $
+$NetBSD: patch-rt.py,v 1.4 2020/02/24 14:38:25 leot Exp $
In RT 4 when a ticket is not modified an empty response is returned.
Treat it as a successfull operation.
---- rt.py.orig 2019-10-25 12:58:58.000000000 +0000
-+++ rt.py
+--- rt/rt.py.orig 2019-10-25 12:58:58.000000000 +0000
++++ rt/rt.py
@@ -736,6 +736,8 @@ class Rt:
"""
post_data = self.__ticket_post_data(kwargs)