git: a967390ae709 - main - graphics/openexr: fix post-extract to move testimages into place
Date: Fri, 08 Mar 2024 00:42:21 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a967390ae709ad02b7ce36d85953edbc29c52c5a
commit a967390ae709ad02b7ce36d85953edbc29c52c5a
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2024-03-08 00:04:50 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2024-03-08 00:42:14 +0000
graphics/openexr: fix post-extract to move testimages into place
...and avoid downloading in the configure phase.
Reported by: Tatsuki Makino
While here, revert TESTING_UNSAFE, which does not reproduce,
neither under WITH_TESTING=yes in make.conf in poudriere after "make
distclean".
Bump PORTREVISION.
---
graphics/openexr/Makefile | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/graphics/openexr/Makefile b/graphics/openexr/Makefile
index dafaf1bd6cad..8c196934143f 100644
--- a/graphics/openexr/Makefile
+++ b/graphics/openexr/Makefile
@@ -1,6 +1,6 @@
PORTNAME?= openexr
PORTVERSION= 3.2.2
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= graphics devel
.if !defined(MASTERDIR)
MASTER_SITES= https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/v1.0/:testimages \
@@ -69,8 +69,6 @@ _DOCSRCDIR1= ${WRKSRC}
_DOC_FILES1= CHANGES.md CONTRIBUTING.md GOVERNANCE.md LICENSE.md SECURITY.md \
CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md
-TESTING_UNSAFE= 10 tests fails out of 125
-
# too many reports about compilation failures, so
# sanity check we are using the same C++ standard library
_imath_libcxx= ${COMPILER_FEATURES:Mlib*c++}
@@ -80,8 +78,8 @@ _imath_libcxx= ${COMPILER_FEATURES:Mlib*c++}
# so we do not benefit from our checksumming and the distdir caching.
post-extract:
${MKDIR} ${CONFIGURE_WRKSRC}/src/test/bin
-.for i in ${DISTFILES:M*.exr}
- ${PRINTF} %s ${i} | ( cd ${DISTDIR}/${DIST_SUBDIR} && ${CPIO} -dumpl ${CONFIGURE_WRKSRC}/src/test/bin/ 2>/dev/null )
+.for i in ${DISTFILES:M*.exr?testimages}
+ ${PRINTF} %s ${i:S/:testimages//} | ( cd ${DISTDIR}/${DIST_SUBDIR} && ${CPIO} -dumpl ${CONFIGURE_WRKSRC}/src/test/bin/ 2>/dev/null )
.endfor
pre-configure: