aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2022-06-16 12:00:19 +0000
committerDan Langille <dvl@FreeBSD.org>2022-06-16 12:07:14 +0000
commit53e0fae4ca2b932ae1532206d049786724d9f050 (patch)
treed95cacc4b6d4677e9cb3a74569c90a731bdf4786
parent34f3a570ffc2451dbdf0737a8807efea0d6d4827 (diff)
downloadports-53e0fae4ca2b932ae1532206d049786724d9f050.tar.gz
ports-53e0fae4ca2b932ae1532206d049786724d9f050.zip
sysutils/py-hared: Update to 1.3
-rw-r--r--sysutils/py-hared/Makefile3
-rw-r--r--sysutils/py-hared/distinfo6
-rw-r--r--sysutils/py-hared/files/patch-2to330
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)