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,25 +1,24 @@ PORTNAME= hared -PORTVERSION= 1.0 -PORTREVISION= 2 +PORTVERSION= 1.3 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= dvl@FreeBSD.org COMMENT= Small Python server for inserting notications into MQTT LICENSE= MIT USES= python:3.6+ USE_PYTHON= distutils autoplist ETCDIR= ${PREFIX}/etc RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}paho-mqtt>0:net/py-paho-mqtt@${PY_FLAVOR} CONFLICTS_INSTALL= hared pre-install: ${INSTALL_DATA} ${FILESDIR}/hared.conf ${STAGEDIR}${ETCDIR}/hared.ini.sample .include 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 ' - -@@ -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)