While working on another update, py-mako's tests were a mess and didn't
run. So I decided to update it.
Changelog:
https://github.com/sqlalchemy/mako/blob/rel_1_0_14/doc/build/changelog.rst
I switched the test runner from py-nose to py-test (which apparently was
an option starting with 1.0.4).
All regression tests pass for python2 and python3 on amd64 and sparc64.
I adjusted much of the formatting since there was enough churn of
dependencies anyway.
Regression tests for consumers... are a bit of a mess. deluge, pwntools,
and wapiti either don't have any tests or they don't run. py-pylons has
the same results before and after the update. gobject-instrospection
only failed one test and that was due to it not finding markdown, so not
mako's fault.
OK?
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-mako/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile 12 Jul 2019 20:51:02 -0000 1.24
+++ Makefile 22 Jul 2019 04:27:55 -0000
@@ -2,32 +2,31 @@
COMMENT = super-fast templating language
-MODPY_EGG_VERSION = 1.0.7
-DISTNAME = Mako-${MODPY_EGG_VERSION}
-PKGNAME = py-${DISTNAME:L}
-REVISION = 0
+MODPY_EGG_VERSION = 1.0.14
+DISTNAME = Mako-${MODPY_EGG_VERSION}
+PKGNAME = py-${DISTNAME:L}
-CATEGORIES = www
+CATEGORIES = www
-HOMEPAGE = http://www.makotemplates.org/
+HOMEPAGE = https://www.makotemplates.org/
# MIT
PERMIT_PACKAGE = Yes
-MODPY_PI = Yes
+MODPY_PI = Yes
+MODPY_SETUPTOOLS = Yes
+MODPY_PYTEST = Yes
-MODULES = lang/python
+MODULES = lang/python
-FLAVORS= python3
+FLAVORS= python3
FLAVOR?=
-RUN_DEPENDS = textproc/py-MarkupSafe${MODPY_FLAVOR} \
- www/py-beaker${MODPY_FLAVOR}
+RUN_DEPENDS = textproc/py-MarkupSafe${MODPY_FLAVOR} \
+ www/py-beaker${MODPY_FLAVOR}
-TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR} \
- devel/py-babel${MODPY_FLAVOR}
-
-MODPY_SETUPTOOLS = Yes
+TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR} \
+ devel/py-test-cov${MODPY_FLAVOR}
post-install:
mv ${PREFIX}/bin/mako-render \
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/py-mako/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo 26 Apr 2018 07:10:51 -0000 1.7
+++ distinfo 22 Jul 2019 04:27:55 -0000
@@ -1,2 +1,2 @@
-SHA256 (Mako-1.0.7.tar.gz) = TgL95XvUq7XsQAGB5MMU9WrD5Juk+4sNULuhjLJ9Ja4=
-SIZE (Mako-1.0.7.tar.gz) = 564418
+SHA256 (Mako-1.0.14.tar.gz) = 9aZC2MVpkmmrYqaLKW/5kHZ+sSD1Hi6PPWr7Fr21f0s=
+SIZE (Mako-1.0.14.tar.gz) = 462343
No comments:
Post a Comment