From nobody Wed Apr 20 03:40:03 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 3B3A911E3D69; Wed, 20 Apr 2022 03:40:04 +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 4Kjmdc0s1bz4kKf; Wed, 20 Apr 2022 03:40:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650426004; 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=0i7R+7TBwAQqUcI7w20KhuKA5e2yaH7q72aFQbdqCOU=; b=RqayX30A6hwL5PvAObjRbbUO6H9Tk7F9aUuVubQeBHnNDNgTkPShF2esFLSMLqJFI0dvNR R1I3724EbVZ0T19DLfgX0/x+daR+QA/C6Aa3a61lepXEOFxDf6JCLNNkfRpuZPdXz0h8jU kLoiojqI7cdqTg7Yg+muB7RkE3o1fK1DEO/xqjBUOJ3EWbOG/v1fX82yMDqiuBKgEzy9Ld aN0+bqjo7GRko1RtEw6aZwZEWsulQMDWswP4//4u9/5LAN1sx0pUnQ2tb7CArICHL0Oj3s zr7UGukRJjW/Wu3vtIoxekT8PNDjgDUwqwWdz/pNVytkuVbQYj489skgdAGlrQ== 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 F1255446E; Wed, 20 Apr 2022 03:40:03 +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 23K3e3eg037616; Wed, 20 Apr 2022 03:40:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23K3e3q5037614; Wed, 20 Apr 2022 03:40:03 GMT (envelope-from git) Date: Wed, 20 Apr 2022 03:40:03 GMT Message-Id: <202204200340.23K3e3q5037614@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: 8966a50749a7 - main - math/ambit: Update 0.5.1 -> 0.6 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: 8966a50749a7196941feb311dd6f9fa01ca73868 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650426004; 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=0i7R+7TBwAQqUcI7w20KhuKA5e2yaH7q72aFQbdqCOU=; b=wnrwmUrZOqW3CfZzAcrXWp4LFB5Opd5MYY8Loi/LmGqri2y5C0MLphRSeF6eg0943eFEPe 2rJapKSFOKleIDs0NlL7QWEP481ybkC2BZYh2ie8zDKgzFB6IdqTM+WSwtlm8tqZxR1WqU OIrCGqfoNFJvkGrJ5cHoFT7Qhl+IQik0lZxyGDnK1XLjrNnOSzPs1hcWzRnyYkI9ZlAkMk Lyh6YdTuaxR1e+hBQNq88zJvl0z4nTFaMPxfA4F1TI9ARj3BeSogQKeg/ijg4n9XEsHd20 EPtEoYdKIf1HoGEkVuukTq1XLPwp7NNVBnYHW5ST4jStaVPhJAqAq9Vm1N4VUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650426004; a=rsa-sha256; cv=none; b=YYXBEdWQ/IpsKbo/xVklAQTRQj6DzK/FKoOTAisCBZQ03BCFQzVV0TS7NmqIgSs1JHoLFl oADuslVvqcYtQauxOKRR4T6sLJ5MDou/cc4CPILpJ+epkbuPUdIJllPCBe68bqMQelGoqg ZjIQVudN7OA5tqtH8fNvXIlIBB52AgQw7Soq6660zsJsJdchb+CjJaMGDuYXrJejVVq8t/ wcUm7FCw+8OoGys4E/xRUezFFMqsb0aei+DOacDcOHHoO6T9Va1Z/vFRd4FLgqk5SXoTNL Bzevlf7WbqlIsI+ewDJlm2lNKZTWBp5JV1bjwtrsPwWhmdfenXdR73BxInBakA== 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=8966a50749a7196941feb311dd6f9fa01ca73868 commit 8966a50749a7196941feb311dd6f9fa01ca73868 Author: Yuri Victorovich AuthorDate: 2022-04-20 03:34:59 +0000 Commit: Yuri Victorovich CommitDate: 2022-04-20 03:40:01 +0000 math/ambit: Update 0.5.1 -> 0.6 Also add test target. Reported by: portscout --- math/ambit/Makefile | 13 +++++++------ math/ambit/distinfo | 6 +++--- math/ambit/files/patch-CMakeLists.txt | 25 ++++++++++++++++++++++--- math/ambit/files/patch-src_CMakeLists.txt | 14 ++++++++++++++ 4 files changed, 46 insertions(+), 12 deletions(-) diff --git a/math/ambit/Makefile b/math/ambit/Makefile index 5d134e127598..8a5940ccc07a 100644 --- a/math/ambit/Makefile +++ b/math/ambit/Makefile @@ -1,6 +1,6 @@ PORTNAME= ambit DISTVERSIONPREFIX= v -DISTVERSION= 0.5.1 +DISTVERSION= 0.6 CATEGORIES= math PKGNAMESUFFIX= -tensor # avoid clash with shells/ambit @@ -14,14 +14,15 @@ LIB_DEPENDS= libhdf5.so:science/hdf5 \ libopenblas.so:math/openblas \ libsz.so:science/szip -USES= cmake compiler:c++11-lang python:build +USES= cmake:testing compiler:c++11-lang python:build +USE_LDCONFIG= yes + USE_GITHUB= yes GH_ACCOUNT= jturney -USE_LDCONFIG= yes # some declared cmake options do nothing: see https://github.com/jturney/ambit/issues/25 and the patch -CMAKE_ARGS+= -DSHARED_ONLY:BOOL=ON -CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=ON -CMAKE_ARGS+= -DENABLE_TESTS:BOOL=OFF # https://github.com/jturney/ambit/issues/24 +CMAKE_ON= SHARED_ONLY ENABLE_OPENMP +CMAKE_OFF= ENABLE_TESTS # https://github.com/jturney/ambit/issues/24 +CMAKE_TESTING_ON= ENABLE_TESTS .include diff --git a/math/ambit/distinfo b/math/ambit/distinfo index 4566b1cc405d..2371492c9e70 100644 --- a/math/ambit/distinfo +++ b/math/ambit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1595259724 -SHA256 (jturney-ambit-v0.5.1_GH0.tar.gz) = 9c132fa9d735b0137190b9412ae516cf855efd626fe8ab4125518ff0a6525c98 -SIZE (jturney-ambit-v0.5.1_GH0.tar.gz) = 341152 +TIMESTAMP = 1650421128 +SHA256 (jturney-ambit-v0.6_GH0.tar.gz) = ede894402ef719e74e9d03a9458139543fa66d38d0cf91632362ba8a0e478aa6 +SIZE (jturney-ambit-v0.6_GH0.tar.gz) = 332730 diff --git a/math/ambit/files/patch-CMakeLists.txt b/math/ambit/files/patch-CMakeLists.txt index 4b42af67a27e..116e9ce72f8f 100644 --- a/math/ambit/files/patch-CMakeLists.txt +++ b/math/ambit/files/patch-CMakeLists.txt @@ -1,6 +1,25 @@ ---- CMakeLists.txt.orig 2017-11-12 20:15:25 UTC +--- CMakeLists.txt.orig 2022-03-26 22:14:15 UTC +++ CMakeLists.txt -@@ -155,7 +155,7 @@ add_subdirectory(include) +@@ -99,7 +99,7 @@ find_package (TargetLAPACK REQUIRED) + + # Python Detection + set(Python_ADDITIONAL_VERSIONS 3.10 3.9 3.8 3.7) # adjust with CMake minimum FindPythonInterp +-find_package(Python 3.7 COMPONENTS Interpreter Development NumPy REQUIRED) ++find_package(Python 3.7 COMPONENTS Interpreter Development REQUIRED) + message(STATUS "Found Python ${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}: ${Python_EXECUTABLE} (found version ${Python_VERSION})") + + #if (NOT ENABLE_STATIC AND NOT ENABLE_PSI4) +@@ -149,7 +149,9 @@ endif() + #endif() + + # library directory ++if (FREEBSD_BUILD_PYTHON_BINDING) + add_subdirectory(lib) ++endif() + + # include directory (for installation) + add_subdirectory(include) +@@ -157,7 +159,7 @@ add_subdirectory(include) # recursively add source directories add_subdirectory(src) @@ -9,7 +28,7 @@ # test suite enable_testing() include(CTest) -@@ -163,7 +163,7 @@ add_subdirectory(src) +@@ -165,7 +167,7 @@ add_subdirectory(src) # sample suite add_subdirectory(samples) diff --git a/math/ambit/files/patch-src_CMakeLists.txt b/math/ambit/files/patch-src_CMakeLists.txt new file mode 100644 index 000000000000..774e662241d2 --- /dev/null +++ b/math/ambit/files/patch-src_CMakeLists.txt @@ -0,0 +1,14 @@ +- python bindinf isn't installed into the right location, see https://github.com/jturney/ambit/issues/54 + +--- src/CMakeLists.txt.orig 2022-04-20 02:23:19 UTC ++++ src/CMakeLists.txt +@@ -128,7 +128,9 @@ else() + add_library(ambit-lib ALIAS ambit-shared) + endif() + ++if (FREEBSD_BUILD_PYTHON_BINDING) + add_subdirectory(python) ++endif() + + # <<< Install >>> +