git: 53e0fae4ca2b - main - sysutils/py-hared: Update to 1.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Jun 2022 12:07:22 UTC
The branch main has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=53e0fae4ca2b932ae1532206d049786724d9f050 commit 53e0fae4ca2b932ae1532206d049786724d9f050 Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2022-06-16 12:00:19 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2022-06-16 12:07:14 +0000 sysutils/py-hared: Update to 1.3 --- sysutils/py-hared/Makefile | 3 +-- sysutils/py-hared/distinfo | 6 +++--- sysutils/py-hared/files/patch-2to3 | 30 ------------------------------ 3 files changed, 4 insertions(+), 35 deletions(-) diff --git a/sysutils/py-hared/Makefile b/sysutils/py-hared/Makefile index 643a59ca7045..9711f0f5dccc 100644 --- a/sysutils/py-hared/Makefile +++ b/sysutils/py-hared/Makefile @@ -1,6 +1,5 @@ PORTNAME= hared -PORTVERSION= 1.0 -PORTREVISION= 2 +PORTVERSION= 1.3 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/sysutils/py-hared/distinfo b/sysutils/py-hared/distinfo index 79ec23fba4a9..5253b8558c40 100644 --- a/sysutils/py-hared/distinfo +++ b/sysutils/py-hared/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1522170177 -SHA256 (hared-1.0.tar.gz) = 503582a985a0103fa3f58f6b910892974cb8b99b1aceb5ce128049fa45dbd2b5 -SIZE (hared-1.0.tar.gz) = 2289 +TIMESTAMP = 1655210521 +SHA256 (hared-1.3.tar.gz) = 4be597244c4a5c32733cde97a04933d09748c083fddce183e1f71b4ea969b727 +SIZE (hared-1.3.tar.gz) = 2376 diff --git a/sysutils/py-hared/files/patch-2to3 b/sysutils/py-hared/files/patch-2to3 deleted file mode 100644 index 6dd4496c906e..000000000000 --- a/sysutils/py-hared/files/patch-2to3 +++ /dev/null @@ -1,30 +0,0 @@ ---- hared/__init__.py.orig 2018-03-26 17:30:13 UTC -+++ hared/__init__.py -@@ -4,7 +4,7 @@ import json - try: - from configparser import ConfigParser - except ImportError: -- from ConfigParser import ConfigParser -+ from configparser import ConfigParser - - __author__ = 'Jan-Piet Mens <jp()mens.de>' - -@@ -30,8 +30,8 @@ class Hare(): - pass - - def printconfig(self): -- print "Listening for UDP on %s:%d" % (self.listenhost, self.listenport) -- print "MQTT broker configured to %s:%d on %s" % (self.mqtthost, self.mqttport, self.topic) -+ print("Listening for UDP on %s:%d" % (self.listenhost, self.listenport)) -+ print("MQTT broker configured to %s:%d on %s" % (self.mqtthost, self.mqttport, self.topic)) - - def run(config='/usr/local/etc/hared.ini'): - h = Hare(config) -@@ -53,6 +53,6 @@ def run(config='/usr/local/etc/hared.ini'): - continue - - if h.verbose: -- print js -+ print(js) - - mqtt.single(h.topic, js, hostname=h.mqtthost, port=h.mqttport)