Hi ports@,
(this is for after unlock)
This is an update for net/py-transmissionrpc-ng to its latest version
0.14.1
Changes in the software are:
* Reformat code with Black code style
* Follow redirects to magnet links
* Fix 'DefaultHTTPHandler' object has no attribute '_authorization'
Changes to the port:
* Changed maintaier (me) email.
* As this is a library, adopted the FLAVOR=python3 style instead of the
previous MODPY_VERSION=${MODPY_DEFAULT_VERSION_3}. I had to add the
@conflict on PLIST for this to work, and I guess it will also need
a fix on net/Makefile. In any case, this has no consumers, so it
makes things a bit easier.
Comments ? ok ?
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/net/py-transmissionrpc-ng/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 16 Dec 2019 13:36:25 -0000 1.1.1.1
+++ Makefile 4 May 2020 15:35:17 -0000
@@ -2,14 +2,14 @@
COMMENT = json-rpc client library for Transmission
-MODPY_EGG_VERSION = 0.14.0
+MODPY_EGG_VERSION = 0.14.1
DISTNAME = transmissionrpc-ng-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = net
HOMEPAGE = https://github.com/0x022b/transmissionrpc-ng
-MAINTAINER = Paco Esteban <[email protected]>
+MAINTAINER = Paco Esteban <[email protected]>
# MIT
PERMIT_PACKAGE = Yes
@@ -18,9 +18,11 @@ MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
-MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = test/*.py
+
+FLAVORS = python3
+FLAVOR = python3
RUN_DEPENDS = net/py-curl${MODPY_FLAVOR}
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/net/py-transmissionrpc-ng/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 16 Dec 2019 13:36:25 -0000 1.1.1.1
+++ distinfo 4 May 2020 15:35:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (transmissionrpc-ng-0.14.0.tar.gz) =
JNlkHr/lI1WE9qseOi+pA1/JIdv6gg4f8pLMTL3sR64=
-SIZE (transmissionrpc-ng-0.14.0.tar.gz) = 180721
+SHA256 (transmissionrpc-ng-0.14.1.tar.gz) =
qeTrdfL5WZNoAoRwDcSpE6DV75KsKkuMGMEZ1LKx25I=
+SIZE (transmissionrpc-ng-0.14.1.tar.gz) = 181550
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/net/py-transmissionrpc-ng/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 16 Dec 2019 13:36:25 -0000 1.1.1.1
+++ pkg/PLIST 4 May 2020 15:40:16 -0000
@@ -1,6 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/12/16 13:36:25 kmos Exp $
-lib/python${MODPY_VERSION}/
-lib/python${MODPY_VERSION}/site-packages/
+@conflict py-transmissionrpc-ng-*
+@pkgpath net/py-transmissionrpc-ng
lib/python${MODPY_VERSION}/site-packages/transmissionrpc/
lib/python${MODPY_VERSION}/site-packages/transmissionrpc/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/transmissionrpc/${MODPY_PYCACHE}/
--
Paco Esteban.
0x5818130B8A6DBC03