svn commit: r560145 - in head/textproc/py-ttp: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 3 20:16:47 UTC 2021
Author: sunpoet
Date: Sun Jan 3 20:16:40 2021
New Revision: 560145
URL: https://svnweb.freebsd.org/changeset/ports/560145
Log:
Update to 0.6.0
- Add LICENSE_FILE
Changes: https://github.com/dmulyalin/ttp/releases
Deleted:
head/textproc/py-ttp/files/patch-ttp-match-ip.py
head/textproc/py-ttp/files/patch-ttp-utils-loaders.py
Modified:
head/textproc/py-ttp/Makefile
head/textproc/py-ttp/distinfo
head/textproc/py-ttp/files/patch-ttp-returners-terminal_returner.py
Modified: head/textproc/py-ttp/Makefile
==============================================================================
--- head/textproc/py-ttp/Makefile Sun Jan 3 20:16:36 2021 (r560144)
+++ head/textproc/py-ttp/Makefile Sun Jan 3 20:16:40 2021 (r560145)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ttp
-PORTVERSION= 0.5.0
+PORTVERSION= 0.6.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +11,7 @@ MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Template Text Parser
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
USES= dos2unix python:3.6+
USE_PYTHON= autoplist concurrent distutils
Modified: head/textproc/py-ttp/distinfo
==============================================================================
--- head/textproc/py-ttp/distinfo Sun Jan 3 20:16:36 2021 (r560144)
+++ head/textproc/py-ttp/distinfo Sun Jan 3 20:16:40 2021 (r560145)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602780720
-SHA256 (ttp-0.5.0.tar.gz) = bc5fc277f052b1c5f18faf10f4a944a55e12b4730556d916ac43578476d2ae11
-SIZE (ttp-0.5.0.tar.gz) = 59510
+TIMESTAMP = 1609598925
+SHA256 (ttp-0.6.0.tar.gz) = 727308fa93d1a0fc60aa1474a22fd39df323a03379ab6c33ef451d8f9075c877
+SIZE (ttp-0.6.0.tar.gz) = 62581
Modified: head/textproc/py-ttp/files/patch-ttp-returners-terminal_returner.py
==============================================================================
--- head/textproc/py-ttp/files/patch-ttp-returners-terminal_returner.py Sun Jan 3 20:16:36 2021 (r560144)
+++ head/textproc/py-ttp/files/patch-ttp-returners-terminal_returner.py Sun Jan 3 20:16:40 2021 (r560145)
@@ -1,6 +1,6 @@
---- ttp/returners/terminal_returner.py.orig 2020-09-03 21:58:49 UTC
+--- ttp/returners/terminal_returner.py.orig 2020-12-24 20:13:53 UTC
+++ ttp/returners/terminal_returner.py
-@@ -31,13 +31,13 @@ def terminal_returner(data, **kwargs):
+@@ -33,12 +33,12 @@ def terminal_returner(data, **kwargs):
for yeallow_word in yeallow_words:
data = data.replace(yeallow_word, fttr.format(Y, yeallow_word, N))
# print output
@@ -9,12 +9,9 @@
if isinstance(data, str) or isinstance(data, unicode):
print(data)
else:
- print(str(data).replace('\\n', '\n'))
+ print(str(data).replace("\\n", "\n"))
- elif _ttp_["python_major_version"] is 3:
+ elif _ttp_["python_major_version"] == 3:
if isinstance(data, str):
print(data)
else:
-- print(str(data).replace('\\n', '\n'))
-\ No newline at end of file
-+ print(str(data).replace('\\n', '\n'))
More information about the svn-ports-all
mailing list