I was continuing my crusade against python3 uses of py-mock, and just
updated the port while I was at it.
https://docs.makotemplates.org/en/latest/changelog.html#change-1.1.0
So this updates to the newest version on pypi and removes py-mock for
the python3 flavor.
No consumers on this port. Both flavors pass all tests on both amd64 and
sparc64.
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-mako/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile 22 Jul 2019 13:08:18 -0000 1.25
+++ Makefile 13 Sep 2019 20:59:29 -0000
@@ -2,7 +2,7 @@
COMMENT = super-fast templating language
-MODPY_EGG_VERSION = 1.0.14
+MODPY_EGG_VERSION = 1.1.0
DISTNAME = Mako-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME:L}
@@ -25,8 +25,11 @@ FLAVOR ?=
RUN_DEPENDS = textproc/py-MarkupSafe${MODPY_FLAVOR} \
www/py-beaker${MODPY_FLAVOR}
-TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR} \
- devel/py-test-cov${MODPY_FLAVOR}
+TEST_DEPENDS = devel/py-test-cov${MODPY_FLAVOR}
+
+.if !${FLAVOR:Mpython3}
+TEST_DEPENDS += devel/py-mock
+.endif
post-install:
mv ${PREFIX}/bin/mako-render \
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/py-mako/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo 22 Jul 2019 13:08:18 -0000 1.8
+++ distinfo 13 Sep 2019 20:59:29 -0000
@@ -1,2 +1,2 @@
-SHA256 (Mako-1.0.14.tar.gz) = 9aZC2MVpkmmrYqaLKW/5kHZ+sSD1Hi6PPWr7Fr21f0s=
-SIZE (Mako-1.0.14.tar.gz) = 462343
+SHA256 (Mako-1.1.0.tar.gz) = o2kZWZqbfcXYanqJiPI6mjo9CDBwAjurI9ZPfx0eCks=
+SIZE (Mako-1.1.0.tar.gz) = 463945
No comments:
Post a Comment