From nobody Mon Oct 10 19:05:38 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MmSzk2HLxz4dnQv; Mon, 10 Oct 2022 19:05:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MmSzk1lR2z3Kxp; Mon, 10 Oct 2022 19:05:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665428738; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gKiWMLeULez0QCyy+2u4qisP/KiaVN2oE6aO5ifQFTE=; b=RXD8s6vNaDZcJaqwTYSM7OYTp6AmgCe+EdKxPU2HxRm2MqLFXrR31LGMaYxq+KnwyppOkO ycD3lAooAnOSe8XtF4z7v7hriJrv9kMvD3eC4lOdayNB23yRSDfuflLNSYcHo3TH+Dv/eZ PS/s/qap2a/wiBVLOyp1AeqK5OuHA4K1a84m0EiZJ/GQS2z+vSddvt9EIGijzGYtKWMkvO yq/Jkr1bM0EOl8snnVaQoLOUhVFT/uqN+PNCRUPtbtIJe+CFhRauXxs0RPEnr0jWi0fPMu HjTckh64bvfaf4lP/fhs6yYtPb9QdKs0H5EbQcz1Uitvtv5gZBY4uerzxJQUeA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MmSzk0mswzjt6; Mon, 10 Oct 2022 19:05:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29AJ5cYQ098253; Mon, 10 Oct 2022 19:05:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29AJ5c4J098252; Mon, 10 Oct 2022 19:05:38 GMT (envelope-from git) Date: Mon, 10 Oct 2022 19:05:38 GMT Message-Id: <202210101905.29AJ5c4J098252@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 889aaf267174 - main - math/{,py-}spot: Minor improvements List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 889aaf267174fcd1b96776227f99266c28e91783 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665428738; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gKiWMLeULez0QCyy+2u4qisP/KiaVN2oE6aO5ifQFTE=; b=Jpvu+sMbIWv1sw5P5s4qrj65Q9XI7WAWdJqRQBjtbWkW0ZP8MGou2OkEhzRfDI7EtwOLPU ZRyzrvRMRwGzVNyeX3/DKTuPhIQ9iahOeqLcbylSH5e4lnL29SG/FhFCxgv1ZscFAAMLV/ RWbpU+3wPce3jr22alIQRG6WseAiLBH9SyQPb2QF8BqevQpYhskSVHrL+iL1iDlF29Uegf 2W5cb2hAeo7AJIWultdDqwbt/OZG9hsEBvvRSJqeKHA9NScs/86+VjFJuRyr3noMTqSWL0 qd13L3LcZVFealoJFxE8gBYPjMBTuvHoUzA9E1rXLfgjSH4s2ClydutJ3tUGRQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665428738; a=rsa-sha256; cv=none; b=ZAe18Abxm3xU7nMj6D3BhuWIRyPJfqcqgz1dKNL1a35Xb3sOJtMY7JcPvbjsQjWyeVwo/S 5qgFxx3K6TjKpQ9bQTmh487bt7U+vDf/DdvmzeRuMi4mBe4LTPMDqZy/y9aaafCBMJgOYP Xc1NJPRXi8rgZXCKC6lc4x2J4PczC7y8XEp/5T/EOlNZ5mxcLz7n6gRMX7m/bivDWHkVb2 xcWRIaH4oc+kk2YTzdBWHb8Aztf7Abd+kZEe36x7rk8gZFhRPgSkFdCDyHxdZNFre/5Sty eHlZ9k4M02DemNxde9EnhTiXP+A72s/fL/NqoBfJTd3T/JaekE3Vu/cfOeqghw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=889aaf267174fcd1b96776227f99266c28e91783 commit 889aaf267174fcd1b96776227f99266c28e91783 Author: Yuri Victorovich AuthorDate: 2022-10-10 14:41:44 +0000 Commit: Yuri Victorovich CommitDate: 2022-10-10 19:05:35 +0000 math/{,py-}spot: Minor improvements * Allow to test the Python binding from math/spot * Remove unnecessary patch * Correct C++ standard level --- math/py-spot/Makefile | 4 +++- math/spot/Makefile | 4 ++++ math/spot/files/patch-spot_misc_tmpfile.cc | 10 ---------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/math/py-spot/Makefile b/math/py-spot/Makefile index eda5daa20cc3..6471569047e9 100644 --- a/math/py-spot/Makefile +++ b/math/py-spot/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libspot.so:math/spot -USES= compiler:c++14-lang gmake libtool python:3.4+ +USES= compiler:c++17-lang gmake libtool python:3.4+ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --disable-static @@ -35,4 +35,6 @@ post-configure: post-install: @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name "*.so" | ${XARGS} ${STRIP_CMD} +# to test: cd ../spot && make test WITH_PYTHON=yes + .include diff --git a/math/spot/Makefile b/math/spot/Makefile index 5c46eacd16f0..39020795ff02 100644 --- a/math/spot/Makefile +++ b/math/spot/Makefile @@ -14,7 +14,11 @@ USES= charsetfix compiler:c++17-lang gmake libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes +.if !defined(WITH_PYTHON) # math/py-spot is a separate port but tests don't work there. To test run: make test WITH_PYTHON=yes CONFIGURE_ARGS= --disable-python --disable-static +.else +CONFIGURE_ARGS= --disable-static +.endif INSTALL_TARGET= install-strip diff --git a/math/spot/files/patch-spot_misc_tmpfile.cc b/math/spot/files/patch-spot_misc_tmpfile.cc deleted file mode 100644 index 063d33233e71..000000000000 --- a/math/spot/files/patch-spot_misc_tmpfile.cc +++ /dev/null @@ -1,10 +0,0 @@ ---- spot/misc/tmpfile.cc.orig 2022-10-08 19:11:32 UTC -+++ spot/misc/tmpfile.cc -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - - using namespace std::string_literals; -