pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/ckmame



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Feb 23 09:41:04 UTC 2024

Modified Files:
        pkgsrc/emulators/ckmame: Makefile distinfo
Added Files:
        pkgsrc/emulators/ckmame/patches: patch-regress_CMakeLists.txt
Removed Files:
        pkgsrc/emulators/ckmame/patches: patch-docs_CMakeLists.txt

Log Message:
ckmame: update to 2.1.

2.1 (2024-02-23)
================

* Add `--report-changes` to show changes between last and current run.
* Add `--delete-unknown-pattern` to remove unknown files matching a pattern.
* Switch to nihtest.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 pkgsrc/emulators/ckmame/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/emulators/ckmame/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/emulators/ckmame/patches/patch-docs_CMakeLists.txt
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/emulators/ckmame/patches/patch-regress_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/ckmame/Makefile
diff -u pkgsrc/emulators/ckmame/Makefile:1.77 pkgsrc/emulators/ckmame/Makefile:1.78
--- pkgsrc/emulators/ckmame/Makefile:1.77       Wed Nov  8 13:19:05 2023
+++ pkgsrc/emulators/ckmame/Makefile    Fri Feb 23 09:41:03 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.77 2023/11/08 13:19:05 wiz Exp $
+# $NetBSD: Makefile,v 1.78 2024/02/23 09:41:03 wiz Exp $
 
-DISTNAME=              ckmame-2.0
-PKGREVISION=           6
+DISTNAME=              ckmame-2.1
 CATEGORIES=            emulators
 MASTER_SITES=          https://www.nih.at/ckmame/
 EXTRACT_SUFX=          .tar.xz
@@ -11,13 +10,20 @@ HOMEPAGE=           https://www.nih.at/ckmame/
 COMMENT=               Check ROM sets for MAME
 LICENSE=               modified-bsd
 
+# detected at configure time, and tests not run if not installed
+BUILD_DEPENDS+=                ${PYPKGPREFIX}-nihtest>=1.5:../../devel/py-nihtest
+
 USE_LANGUAGES=         c c++
-USE_TOOLS+=            pkg-config perl:test
+USE_TOOLS+=            pkg-config
 TEST_TARGET=           test
 
 USE_CXX_FEATURES+=     c++17 filesystem
 
+pre-configure:
+       ${LN} -fs ${PREFIX}/bin/nihtest-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/nihtest
+
 .include "../../devel/cmake/build.mk"
+.include "../../lang/python/pyversion.mk"
 .include "../../archivers/libarchive/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libzip+= libzip>=1.8
 .include "../../archivers/libzip/buildlink3.mk"

Index: pkgsrc/emulators/ckmame/distinfo
diff -u pkgsrc/emulators/ckmame/distinfo:1.14 pkgsrc/emulators/ckmame/distinfo:1.15
--- pkgsrc/emulators/ckmame/distinfo:1.14       Fri Jul  7 07:45:51 2023
+++ pkgsrc/emulators/ckmame/distinfo    Fri Feb 23 09:41:03 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2023/07/07 07:45:51 nia Exp $
+$NetBSD: distinfo,v 1.15 2024/02/23 09:41:03 wiz Exp $
 
-BLAKE2s (ckmame-2.0.tar.xz) = 2730da0ae5954f821de94675a80c4518f44cf3f2dec0ccad9439733c980ee1f6
-SHA512 (ckmame-2.0.tar.xz) = a343761969da58f37fb2840303fa9ca4b61e55df6ed77224d1e6e581345b3c1de1de299d679bf594a61f4879c4c81393d2b541a8acba8fe35753c0425c7507b3
-Size (ckmame-2.0.tar.xz) = 250276 bytes
-SHA1 (patch-docs_CMakeLists.txt) = 02b1af8a597803efbb7c56a81cda29da8c49cb55
+BLAKE2s (ckmame-2.1.tar.xz) = 7fa1e4a248374ddadd4b2d1141f524bd8fe15bfc9920bcac3878bdbdb32ff667
+SHA512 (ckmame-2.1.tar.xz) = 2f5d04972e0430151cf916eb88a0b8c84e140517a48fa2593b2f3769b091d4833b3ccc8004ae001f2aab502aa2f6940d0c3adbccaeef05905475432581ecbfed
+Size (ckmame-2.1.tar.xz) = 252684 bytes
+SHA1 (patch-regress_CMakeLists.txt) = 9a699e48ef9a238fff48dd8f8f131817971b215b

Added files:

Index: pkgsrc/emulators/ckmame/patches/patch-regress_CMakeLists.txt
diff -u /dev/null pkgsrc/emulators/ckmame/patches/patch-regress_CMakeLists.txt:1.1
--- /dev/null   Fri Feb 23 09:41:04 2024
+++ pkgsrc/emulators/ckmame/patches/patch-regress_CMakeLists.txt        Fri Feb 23 09:41:03 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-regress_CMakeLists.txt,v 1.1 2024/02/23 09:41:03 wiz Exp $
+
+Do not override path for tests.
+https://github.com/nih-at/ckmame/commit/cb876689cffd8f3267665eafa07f90be66334c6c
+
+--- regress/CMakeLists.txt.orig        2024-02-23 08:07:39.000000000 +0000
++++ regress/CMakeLists.txt
+@@ -151,7 +151,6 @@ if(RUN_REGRESS)
+     add_test(NAME ${CASE} COMMAND ${NIHTEST} -v ${CASE})
+     # TODO: add --bin-sub-directory $<CONFIG>
+     set_tests_properties(${CASE} PROPERTIES SKIP_RETURN_CODE 77)
+-    set_tests_properties(${CASE} PROPERTIES ENVIRONMENT "PATH=${path}")
+   endforeach()
+ 
+   foreach(CASE ${XFAIL_TESTS})



Home | Main Index | Thread Index | Old Index