summaryrefslogtreecommitdiff
path: root/net/py-rt/Makefile
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2020-02-24 14:38:25 +0000
committerleot <leot@pkgsrc.org>2020-02-24 14:38:25 +0000
commitdee5af253e04b82ec771390da33fe844a789bf01 (patch)
treec874c93d09472eb20ffffef0d0293ba145a63a54 /net/py-rt/Makefile
parente8fe76834651a4d5c477c7018ed86aa4435dc375 (diff)
downloadpkgsrc-dee5af253e04b82ec771390da33fe844a789bf01.tar.gz
py-rt: Update to 2.0.0
Changes: 2.0.0 ----- - Drop Python2 support - Adjust Travis tests for Python3-only, and add v3.8 - Add inline typing - Remove "debug_mode" parameter - Add "logging" support (basically replacing "debug_mode" and the various "print"s) - Fix "no-else-after-return" and "no-else-after-raise" - Fix "startswitch" typos / bugs - Removed deprecated "basic_auth" and "digest_auth" paramters. The same functionality is given by specifying the "http_auth" with an instance of either object. This allows for more flexibility with various other alternative authentication methods. (Done in a separate commit of 1.0.13 update because 1.0.13 was the last release supporting Python 2.7, if you use py-rt with python27 please let me know/feel free to add a possible py-rt1 package.)
Diffstat (limited to 'net/py-rt/Makefile')
-rw-r--r--net/py-rt/Makefile7
1 files changed, 5 insertions, 2 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"