Update: sysutils/py-scandir 1.9.0 -> 1.10.0

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Update: sysutils/py-scandir 1.9.0 -> 1.10.0

Kurt Mosiejczuk-9
  While looking at updating much of our python testing ports (py-test*,
py-hypothesis, etc.) one of the twisty mazes of ports wanted a newer
py-scandir. So here is an update for that.

  I tested both flavors of devel/py-pathlib2 as it seems to be the only
consumer (so far, anyway). All tests passed.

(I meant to cc Elias, the maintainer, but I sent it only to him
the first time. This time I'm including ports@)

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/py-scandir/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile 12 Aug 2018 23:38:31 -0000 1.2
+++ Makefile 20 Mar 2019 16:26:14 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = improved directory iterator and faster os.walk()
 
-MODPY_EGG_VERSION = 1.9.0
+MODPY_EGG_VERSION = 1.10.0
 DISTNAME = scandir-${MODPY_EGG_VERSION}
 PKGNAME = py-${DISTNAME}
 
@@ -32,7 +32,6 @@ TEST_DEPENDS += devel/py-unittest2
 .endif
 
 do-test:
- cd ${WRKSRC}/test &&\
- env LC_ALL=C.UTF-8 LANG=C.UTF-8 ${MODPY_BIN} run_tests.py
+ cd ${WRKSRC}/test && ${SETENV} ${ALL_TEST_ENV} ${MODPY_BIN} run_tests.py
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/py-scandir/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 12 Aug 2018 23:38:31 -0000 1.2
+++ distinfo 20 Mar 2019 16:26:14 -0000
@@ -1,2 +1,2 @@
-SHA256 (scandir-1.9.0.tar.gz) = RJdeIJxIJ/wYo0hvJXFU007G6uwPkP7wzKHKpILbcGQ=
-SIZE (scandir-1.9.0.tar.gz) = 33315
+SHA256 (scandir-1.10.0.tar.gz) = TUYx9gYuZY6QB6sxSam5FPNUjLOL+wIcZPOaAlzleK4=
+SIZE (scandir-1.10.0.tar.gz) = 33311

Reply | Threaded
Open this post in threaded view
|

Re: Update: sysutils/py-scandir 1.9.0 -> 1.10.0

Klemens Nanni-2
On Wed, Mar 20, 2019 at 12:29:30PM -0400, Kurt Mosiejczuk wrote:
>   While looking at updating much of our python testing ports (py-test*,
> py-hypothesis, etc.) one of the twisty mazes of ports wanted a newer
> py-scandir. So here is an update for that.
>
>   I tested both flavors of devel/py-pathlib2 as it seems to be the only
> consumer (so far, anyway). All tests passed.
>
> (I meant to cc Elias, the maintainer, but I sent it only to him
> the first time. This time I'm including ports@)
OK kn

> @@ -32,7 +32,6 @@ TEST_DEPENDS += devel/py-unittest2
>  .endif
>  
>  do-test:
> - cd ${WRKSRC}/test &&\
> - env LC_ALL=C.UTF-8 LANG=C.UTF-8 ${MODPY_BIN} run_tests.py
> + cd ${WRKSRC}/test && ${SETENV} ${ALL_TEST_ENV} ${MODPY_BIN} run_tests.py
How about omitting this hunk from the update and commit it separately,
possibly in a bulk with other test conversions now that remi has landed
your final MODPY_PYTEST bits?

Reply | Threaded
Open this post in threaded view
|

Re: Update: sysutils/py-scandir 1.9.0 -> 1.10.0

Kurt Mosiejczuk-9
On Wed, Mar 20, 2019 at 11:25:59PM +0100, Klemens Nanni wrote:

> OK kn

> > @@ -32,7 +32,6 @@ TEST_DEPENDS += devel/py-unittest2
> >  .endif

> >  do-test:
> > - cd ${WRKSRC}/test &&\
> > - env LC_ALL=C.UTF-8 LANG=C.UTF-8 ${MODPY_BIN} run_tests.py
> > + cd ${WRKSRC}/test && ${SETENV} ${ALL_TEST_ENV} ${MODPY_BIN} run_tests.py
> How about omitting this hunk from the update and commit it separately,
> possibly in a bulk with other test conversions now that remi has landed
> your final MODPY_PYTEST bits?

We could. I only submitted this one because it isn't actually using
MODPY_PYTEST. It is running its own tests. I was just taking advantage of
the fact that we set TEST_ENV to include en_US.UTF-8. I have others I
have been updating that I haven't submitted yet because MODPY_PYTEST
hadn't gone in yet. :)

--Kurt

Reply | Threaded
Open this post in threaded view
|

Re: Update: sysutils/py-scandir 1.9.0 -> 1.10.0

Elias M. Mariani
OK mariani@

On Wed, Mar 20, 2019 at 7:44 PM Kurt Mosiejczuk <[hidden email]> wrote:

>
> On Wed, Mar 20, 2019 at 11:25:59PM +0100, Klemens Nanni wrote:
>
> > OK kn
>
> > > @@ -32,7 +32,6 @@ TEST_DEPENDS +=           devel/py-unittest2
> > >  .endif
>
> > >  do-test:
> > > -   cd ${WRKSRC}/test &&\
> > > -   env LC_ALL=C.UTF-8 LANG=C.UTF-8 ${MODPY_BIN} run_tests.py
> > > +   cd ${WRKSRC}/test && ${SETENV} ${ALL_TEST_ENV} ${MODPY_BIN} run_tests.py
> > How about omitting this hunk from the update and commit it separately,
> > possibly in a bulk with other test conversions now that remi has landed
> > your final MODPY_PYTEST bits?
>
> We could. I only submitted this one because it isn't actually using
> MODPY_PYTEST. It is running its own tests. I was just taking advantage of
> the fact that we set TEST_ENV to include en_US.UTF-8. I have others I
> have been updating that I haven't submitted yet because MODPY_PYTEST
> hadn't gone in yet. :)
>
> --Kurt
>