On Mon, Sep 11, 2017 at 09:42:35PM +0200, Rafael Sadowski wrote:
> Hi All,
> 
> please find below a simple update diff for ninja.
> 
> - add write_fake_manifests.py and measure.py to PLIST.
> - add NO_TEST otherwise there is an error if run regress.
> 
added a do-test target to fix regression tests.
 Cheers
  Giovanni

> Tested with devel/kf5, graphics/opencv, graphics/krita on AMD64.
> 
> Would like someone run a bulk with the diff below?
> 
> Comments? Ok?
> 
> Best regards,
> 
> Rafael Sadowski
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/ninja/Makefile,v
> retrieving revision 1.24
> diff -u -p -u -p -r1.24 Makefile
> --- Makefile  26 Jul 2017 22:45:18 -0000      1.24
> +++ Makefile  11 Sep 2017 19:36:16 -0000
> @@ -9,8 +9,7 @@ COMMENT =             small build system with a foc
>  
>  GH_ACCOUNT =         ninja-build
>  GH_PROJECT =         ninja
> -GH_TAGNAME =         v1.7.2
> -REVISION =           1
> +GH_TAGNAME =         v1.8.2
>  
>  CATEGORIES =         devel
>  HOMEPAGE =           https://ninja-build.org/
> @@ -36,6 +35,8 @@ BUILD_DEPENDS =             devel/re2c
>  
>  MAKE_ENV =           CXX="${CXX}"
>  
> +NO_TEST =            Yes
> +
>  do-build:
>       @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
>           ${MODPY_BIN} ./configure.py --bootstrap \
> @@ -50,6 +51,8 @@ do-install:
>       ${INSTALL_DATA} ${WRKSRC}/misc/ninja-mode.el ${PREFIX}/share/ninja
>       ${INSTALL_DATA} ${WRKSRC}/misc/ninja.vim ${PREFIX}/share/ninja
>       ${INSTALL_DATA} ${WRKSRC}/misc/ninja_syntax.py ${PREFIX}/share/ninja
> +     ${INSTALL_DATA} ${WRKSRC}/misc/write_fake_manifests.py 
> ${PREFIX}/share/ninja
> +     ${INSTALL_DATA} ${WRKSRC}/misc/measure.py ${PREFIX}/share/ninja
>       ${INSTALL_DATA} ${WRKSRC}/misc/zsh-completion ${PREFIX}/share/ninja
>  
>  .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/ninja/distinfo,v
> retrieving revision 1.9
> diff -u -p -u -p -r1.9 distinfo
> --- distinfo  19 Nov 2016 16:06:59 -0000      1.9
> +++ distinfo  11 Sep 2017 19:36:16 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (ninja-1.7.2.tar.gz) = Lt2gpUIazjz0KDCSEScHct01qRr2DJb5P5Dfa8QbFtk=
> -SIZE (ninja-1.7.2.tar.gz) = 180611
> +SHA256 (ninja-1.8.2.tar.gz) = hrhwDD0IgMK0TC/2fOQndKr4woy/V3JcuIFWkojBxvQ=
> +SIZE (ninja-1.8.2.tar.gz) = 185226
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/ninja/pkg/PLIST,v
> retrieving revision 1.2
> diff -u -p -u -p -r1.2 PLIST
> --- pkg/PLIST 14 Jun 2013 16:39:39 -0000      1.2
> +++ pkg/PLIST 11 Sep 2017 19:36:16 -0000
> @@ -4,7 +4,9 @@ share/doc/ninja/
>  share/doc/ninja/manual.asciidoc
>  share/ninja/
>  share/ninja/bash-completion
> +share/ninja/measure.py
>  share/ninja/ninja-mode.el
>  share/ninja/ninja.vim
>  share/ninja/ninja_syntax.py
> +share/ninja/write_fake_manifests.py
>  share/ninja/zsh-completion
> 
Index: Makefile
===================================================================
RCS file: /var/cvs/ports/devel/ninja/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile    26 Jul 2017 22:45:18 -0000      1.24
+++ Makefile    12 Sep 2017 16:29:28 -0000
@@ -9,8 +9,7 @@ COMMENT =               small build system with a foc
 
 GH_ACCOUNT =           ninja-build
 GH_PROJECT =           ninja
-GH_TAGNAME =           v1.7.2
-REVISION =             1
+GH_TAGNAME =           v1.8.2
 
 CATEGORIES =           devel
 HOMEPAGE =             https://ninja-build.org/
@@ -50,6 +49,12 @@ do-install:
        ${INSTALL_DATA} ${WRKSRC}/misc/ninja-mode.el ${PREFIX}/share/ninja
        ${INSTALL_DATA} ${WRKSRC}/misc/ninja.vim ${PREFIX}/share/ninja
        ${INSTALL_DATA} ${WRKSRC}/misc/ninja_syntax.py ${PREFIX}/share/ninja
+       ${INSTALL_DATA} ${WRKSRC}/misc/write_fake_manifests.py 
${PREFIX}/share/ninja
+       ${INSTALL_DATA} ${WRKSRC}/misc/measure.py ${PREFIX}/share/ninja
        ${INSTALL_DATA} ${WRKSRC}/misc/zsh-completion ${PREFIX}/share/ninja
+
+do-test:
+       @cd ${WRKSRC} && ./ninja ninja_test \
+       && ./ninja_test --gtest_filter=MyTest.Name
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /var/cvs/ports/devel/ninja/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo    19 Nov 2016 16:06:59 -0000      1.9
+++ distinfo    12 Sep 2017 16:24:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (ninja-1.7.2.tar.gz) = Lt2gpUIazjz0KDCSEScHct01qRr2DJb5P5Dfa8QbFtk=
-SIZE (ninja-1.7.2.tar.gz) = 180611
+SHA256 (ninja-1.8.2.tar.gz) = hrhwDD0IgMK0TC/2fOQndKr4woy/V3JcuIFWkojBxvQ=
+SIZE (ninja-1.8.2.tar.gz) = 185226
Index: pkg/PLIST
===================================================================
RCS file: /var/cvs/ports/devel/ninja/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   14 Jun 2013 16:39:39 -0000      1.2
+++ pkg/PLIST   12 Sep 2017 16:24:15 -0000
@@ -4,7 +4,9 @@ share/doc/ninja/
 share/doc/ninja/manual.asciidoc
 share/ninja/
 share/ninja/bash-completion
+share/ninja/measure.py
 share/ninja/ninja-mode.el
 share/ninja/ninja.vim
 share/ninja/ninja_syntax.py
+share/ninja/write_fake_manifests.py
 share/ninja/zsh-completion

Attachment: signature.asc
Description: PGP signature

Reply via email to