Re: update: devel/py-babel

2020-02-19 Thread Paco Esteban
On Wed, 19 Feb 2020, Kurt Mosiejczuk wrote:
> You missed a small PLIST change. A new ga_GB.dat file. 

Oh, missed that one !

> Fix that PLIST change and ok kmos

Thanks. Commited.

-- 
Paco Esteban.
5818130B8A6DBC03



Re: update: devel/py-babel

2020-02-19 Thread Kurt Mosiejczuk
On Wed, Feb 19, 2020 at 11:49:01AM +0100, Paco Esteban wrote:
> Hi ports@,

> This is an update for devel/py-babel from 2.7.0 to 2.8.0
> Changelog reads:

> Improvements
> * CLDR: Upgrade to CLDR 36.0 - Aarni Koskela (#679)
> * Messages: Don't even open files with the "ignore" extraction method
> - @sebleblanc (#678)

> Bugfixes
> * Numbers: Fix formatting very small decimals when quantization is
> disabled - Lev Lybin, @miluChen (#662)
> * Messages: Attempt to sort all messages – Mario Frasca (#651, #606)

> Docs
> * Add years to changelog - Romuald Brunet
> * Note that installation requires pytz - Steve (Gadget) Barnes

> No big changes on the port.

> All tests pass on amd64 for py2 and py3.

You missed a small PLIST change. A new ga_GB.dat file. 

Otherwise, tests also all pass on sparc64.

Fix that PLIST change and ok kmos

--Kurt

> This one has some consumers.  Their regression tests behave exactly the
> same before and after the upgrade.  Here are those results for
> reference (as they are not that good):
> 
>   * devel/bpython
>   2 tests fail for py2
>   4 tests fail for py3
>   * textproc/py-sphinx
>   docutils library (and others) cannot be found.  Maybe test_depends
>   should include run_depends ??
>   py-alabaster is missing as a dep for tests
>   2 test fail on py2
>   3 tests fail on py3
>   * textproc/py-sphinx-intl
>   NO_TEST = Yes
>   * www/odoo
>   xlwt dependency missing and PRIVSEP prevents pip install, so no
>   tests.
>   * www/trac
>   2 test fail
> 
> comments ? ok ?
> 
> Index: Makefile
> ===
> RCS file: /home/cvs/ports/devel/py-babel/Makefile,v
> retrieving revision 1.29
> diff -u -p -r1.29 Makefile
> --- Makefile  21 Aug 2019 14:21:51 -  1.29
> +++ Makefile  19 Feb 2020 09:08:08 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT= I18N/L10N tools for Python
>  
> -MODPY_EGG_VERSION=   2.7.0
> +MODPY_EGG_VERSION=   2.8.0
>  DISTNAME=Babel-${MODPY_EGG_VERSION}
>  PKGNAME= py-${DISTNAME:L}
>  CATEGORIES=  devel
> Index: distinfo
> ===
> RCS file: /home/cvs/ports/devel/py-babel/distinfo,v
> retrieving revision 1.9
> diff -u -p -r1.9 distinfo
> --- distinfo  21 Aug 2019 14:21:51 -  1.9
> +++ distinfo  19 Feb 2020 09:08:44 -
> @@ -1,2 +1,2 @@
> -SHA256 (Babel-2.7.0.tar.gz) = 6GE1rhAeMeLI7CCk4MUiD07tEkh9XPP3i+fpjTpX/Cg=
> -SIZE (Babel-2.7.0.tar.gz) = 8244870
> +SHA256 (Babel-2.8.0.tar.gz) = Gqwq4tDY6jaPqQkGVn9cCEY9mK3hVcDEv+3WoPcWDjg=
> +SIZE (Babel-2.8.0.tar.gz) = 8444381
> 
> -- 
> Paco Esteban.
> 5818130B8A6DBC03
> 



Re: Update: devel/py-babel 2.4.0 -> 2.7.0

2019-08-21 Thread Björn Ketelaars
On Wed 21/08/2019 00:06, Kurt Mosiejczuk wrote:
> On Sun, Jul 07, 2019 at 02:56:58AM -0400, Kurt Mosiejczuk wrote:
> > This updates py-babel to 2.7.0. It is the fifth release since 2.4.0.
> 
> > I built all BUILD_DEPENDS consumers (www/trac along with both flavors of
> > both devel/bpython and textproc/py-sphinx).
> 
> > I've tested www/py-mako and all regression tests passed. www/trac had 2
> > test failures just like before, it did have one additional error, where
> > it failed the "test_add_jquery_ui_first_week_day" test case.
> 
> > www/odoo has tests that won't run as it is missing an xlwt port.
> 
> > py-sphinx regression tests had 2 less failures than before the py-babel
> > update for both the python2 and python3 flavors.
> 
> > (All tests run on amd64)
> 
> Ping

OK bket@



Re: UPDATE: devel/py-babel 2.3.3

2016-04-20 Thread Daniel Jakots
On Sun, 17 Apr 2016 17:59:12 +0500, Alexandr Shadchin
 wrote:

> Hi,
> 
> This diff updates py-babel to the latest release.
> Tested on amd64. Take maintainer.
> 
> Comments ? OK ?
> 

ok danj@

FTR, the failing test is a known issue:
https://github.com/python-babel/babel/issues/370

Cheers,
Daniel



Re: update devel/py-babel

2016-01-08 Thread Alexandr Shadchin
On Wed, Jan 06, 2016 at 08:14:50PM +0100, Daniel Jakots wrote:
> Hi,
> 
> Here's an update to 2.2.0, changelog is available there:
> http://babel.pocoo.org/en/latest/changelog.html#version-2-2.
> 
> The plist diffs is quite large because of "General: localedata
> directory is now locale-data (#109) (2d1882e)", otherwise nothing
> fancy.
> 
> Tested with {py2,py3} on {amd64,i386}, all fine.
> 
> Cheers,
> Daniel

Committed, thanks.

-- 
Alexandr Shadchin



Re: update devel/py-babel

2015-12-21 Thread Alexandr Shadchin
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

Committed, thanks!

-- 
Alexandr Shadchin



Re: update devel/py-babel

2015-12-20 Thread Alexandr Shadchin
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
--- Makefile29 Sep 2015 10:51:44 -  1.16
+++ Makefile20 Dec 2015 15:36:58 -
@@ -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 
Index: distinfo
===
RCS file: /cvs/ports/devel/py-babel/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo23 Sep 2013 18:43:27 -  1.3
+++ distinfo20 Dec 2015 15:36:58 -
@@ -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