diff --git a/net/py-httpstat/Makefile b/net/py-httpstat/Makefile index 918781468805..9419b1ddbd48 100644 --- a/net/py-httpstat/Makefile +++ b/net/py-httpstat/Makefile @@ -1,24 +1,24 @@ PORTNAME= httpstat PORTVERSION= 1.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= dbaio@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Curl statistics made simple WWW= https://github.com/reorx/httpstat LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= curl:ftp/curl USES= python USE_GITHUB= yes GH_ACCOUNT= reorx USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/net/py-httpstat/files/patch-setup.py b/net/py-httpstat/files/patch-setup.py new file mode 100644 index 000000000000..1ca213795fb4 --- /dev/null +++ b/net/py-httpstat/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2020-10-15 12:31:26 UTC ++++ setup.py +@@ -14,7 +14,7 @@ def get_version(): + with open(filename) as input_file: + for line in input_file: + if line.startswith('__version__'): +- return ast.parse(line).body[0].value.s ++ return ast.parse(line).body[0].value.value + + + def get_long_description():