On Sun, Dec 06, 2015 at 07:10:55PM +0100, Daniel Jakots wrote:
> Hi,
> 
> On 2015-09-25 Babel 2.1.1 was released. Even if we go from 1.x to 2.x
> it doesn't seem to be a lot of changes (according to the changelog).
> 
> No regression found with make test for both py2 and py3 and I also
> tested with the examples given on the homepage. I ran make test
> for textproc/py-sphinx as it depends on py-babel and as 35 ports
> depends on py-sphinx. The result is the same before and after the
> update of py-babel.
> 
> Cheers,
> Daniel
> 

ok for me. I also added test case.

If there is no objection, I'll commit tomorrow.

-- 
Alexandr Shadchin

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-babel/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile    29 Sep 2015 10:51:44 -0000      1.16
+++ Makefile    20 Dec 2015 15:36:58 -0000
@@ -2,8 +2,7 @@
 
 COMMENT=               I18N/L10N tools for Python
 
-MODPY_EGG_VERSION=     1.3
-REVISION =             3
+MODPY_EGG_VERSION=     2.1.1
 DISTNAME=              Babel-${MODPY_EGG_VERSION}
 PKGNAME=               py-${DISTNAME:L}
 CATEGORIES=                    devel
@@ -23,12 +22,16 @@ FLAVOR?=
 MODPY_SETUPTOOLS=      Yes
 
 RUN_DEPENDS=           devel/py-tz${MODPY_FLAVOR}
-TEST_DEPENDS=          devel/py-tz${MODPY_FLAVOR}
+TEST_DEPENDS=          ${RUN_DEPENDS} \
+                       devel/py-test${MODPY_FLAVOR}
 
 .if ${FLAVOR:Mpython3}
 post-install:
        mv ${PREFIX}/bin/pybabel \
                ${PREFIX}/bin/pybabel${MODPY_BIN_SUFFIX}
 .endif
+
+do-test:
+       cd ${WRKSRC} && ${MODPY_BIN} -m pytest
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-babel/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    23 Sep 2013 18:43:27 -0000      1.3
+++ distinfo    20 Dec 2015 15:36:58 -0000
@@ -1,2 +1,2 @@
-SHA256 (Babel-1.3.tar.gz) = nwLQNXGE3h8JPBABK1LnRUoQCL5qXBhat6Mwes6x0S4=
-SIZE (Babel-1.3.tar.gz) = 3401237
+SHA256 (Babel-2.1.1.tar.gz) = f7bVDv/oigh/6yA2y5cv16iTvzODYVFvGlWoIL97Ukg=
+SIZE (Babel-2.1.1.tar.gz) = 3437647

Reply via email to