Saturday, December 01, 2018

www/py-bottle : Update to 0.12.15

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-bottle/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 9 May 2018 10:07:37 -0000 1.1.1.1
+++ Makefile 2 Dec 2018 03:09:07 -0000
@@ -2,7 +2,7 @@

COMMENT= simple WSGI-framework for small web-applications

-MODPY_EGG_VERSION= 0.12.13
+MODPY_EGG_VERSION= 0.12.15
DISTNAME= bottle-${MODPY_EGG_VERSION}
PKGNAME= py-bottle-${MODPY_EGG_VERSION}

@@ -23,5 +23,8 @@ FLAVOR ?=

post-install:
mv ${PREFIX}/bin/bottle{,${MODPY_BIN_SUFFIX}}.py
+
+do-test:
+ @cd ${WRKSRC} && ${MODPY_BIN} test/testall.py

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/py-bottle/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 9 May 2018 10:07:37 -0000 1.1.1.1
+++ distinfo 2 Dec 2018 03:09:07 -0000
@@ -1,2 +1,2 @@
-SHA256 (bottle-0.12.13.tar.gz) = ObdRruCxZ76N/7Y8qBtzW78d0JBbO8QnYe/t7o8SM1U=
-SIZE (bottle-0.12.13.tar.gz) = 70870
+SHA256 (bottle-0.12.15.tar.gz) = tVKfiVZoIyC5D1GAQSaXhKN3cNX8wa5tcNKI6fwGD7w=
+SIZE (bottle-0.12.15.tar.gz) = 72191
Hi, ports@ :

Here is a patch for www/py-bottle to update to 0.12.15, and I add the test target too.
It build and run well on my amd64 system. In all 333 tests, 2 failed by python2 and 3 failed by python3.

No other ports depends on www/py-bottle.

OK? Comments ?

Regards,
wen

No comments:

Post a Comment