From nobody Tue Nov 01 10:36:13 2022 X-Original-To: dev-commits-ports-main@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 4N1mdn1xlvz4gxDH; Tue, 1 Nov 2022 10:36:13 +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 4N1mdn1XC1z3MPp; Tue, 1 Nov 2022 10:36:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667298973; 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=7LJMANXtAij8lNVhwTL070prX8r7ciaE20Y/3sZSRz8=; b=XSUCAkP52i0j8cgVbtfXMpItztoZDImivyF5SH8FmYDs2LnDTRwOUo1pbShsc937SxLU/a v9WrRlRo6t2JFZsk3GT7eEccDstzB9xBDJo9OFTkKoy4Tg5sx/x/tXV8wA8Y9TubIznfAx jz2CtebP19OKR0aIAECxwrfBVuaWmf9OZDzjSCAFiTIFnrZONwgLUTFSoWHQ03vxxfbw/L s7miCwvb/3eCHo+i9QbG73k/QDTj3CTfLNxhBSzxWkHwrY9OiOZPlzGpupt2Sjtiq8jlYr x7lpNAyjy4whdIwlNV9wMvY5t17yYy7iNvi6a6v0ND0AmbDmOZxS/niCuWvCug== 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 4N1mdn0dxGz1C9Z; Tue, 1 Nov 2022 10:36:13 +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 2A1AaDl4076888; Tue, 1 Nov 2022 10:36:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A1AaDUj076886; Tue, 1 Nov 2022 10:36:13 GMT (envelope-from git) Date: Tue, 1 Nov 2022 10:36:13 GMT Message-Id: <202211011036.2A1AaDUj076886@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: 7605224ac113 - main - devel/py-zfp: New port: High throughput library for compressed floating-point arrays List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 7605224ac113f2f5e03b9dbce519d151fd9270ef Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667298973; 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=7LJMANXtAij8lNVhwTL070prX8r7ciaE20Y/3sZSRz8=; b=bLKIBM7FzJ6OP7ntffcS2gvllSZz5nEGlng54WrIO1xeE/aghlGGAIkKN1SXEbpeckCqRG DOUfxQNnan6SUYo67jTCvxzxDdYubyZwLmBy8IStAHEXdxKKt238FXy8V8NnmHkNz1M0A5 6E1Giw0r0wWn54NX20lYE6rY9WGn/WNNQ4cHdU20qh1logHSpMhEHfoHqtabkOmqD5RG+S BLO76FUFFPtt3NuiaF3gJSxJ+No8JjoTYUqSww9bpNoQki3ty6UIVDC9cPqvGMF5RMr83d xLBehVE9XrXCSCAeYu16zlWClY94NGELJLd1tuF+M+9zVR5Xj64xalzRjnCJqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667298973; a=rsa-sha256; cv=none; b=YA6MERIsubIkSyFGXIhFj8ArG0m/ql9pDf3selIA1coqZzypjbCJrG9Y5eW5gUKvarP50B n8vVJuUskPLG0GVuZB8Wm5M+9qV8dQkuDOATGNUg1kvV2nGQcZ2JB06uY4hSKmkq7MuPpy 51RBKYxvcBEDjDfkXxngEtlwOsPtY7112FMNuiZ8g2J+xUOfiVep3DLRu6SLxa28/RVrqU +3j5g8fnRLJRPq5fNszpwdhgqWRKEJrcFTn+//7qkBQc4pas9Cbi/9+e+jAeiyAFU3Xz+1 gpQTPPQ35ePpMY8UmipfZUczHxT89RFxAXp7b1WtmqwRZZxleS0hPmTJqa+aPg== 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=7605224ac113f2f5e03b9dbce519d151fd9270ef commit 7605224ac113f2f5e03b9dbce519d151fd9270ef Author: Yuri Victorovich AuthorDate: 2022-11-01 06:50:43 +0000 Commit: Yuri Victorovich CommitDate: 2022-11-01 10:36:07 +0000 devel/py-zfp: New port: High throughput library for compressed floating-point arrays --- devel/Makefile | 1 + devel/py-zfp/Makefile | 25 +++++++++++++++++++++++++ devel/py-zfp/distinfo | 3 +++ devel/py-zfp/files/patch-CMakeLists.txt | 8 ++++++++ devel/py-zfp/pkg-descr | 4 ++++ 5 files changed, 41 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 647778df374a..09a1f8aa3f0c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5585,6 +5585,7 @@ SUBDIR += py-zc.buildout SUBDIR += py-zclockfile SUBDIR += py-zconfig + SUBDIR += py-zfp SUBDIR += py-zict SUBDIR += py-zipp SUBDIR += py-zope.app.basicskin diff --git a/devel/py-zfp/Makefile b/devel/py-zfp/Makefile new file mode 100644 index 000000000000..9874fb5ff7f9 --- /dev/null +++ b/devel/py-zfp/Makefile @@ -0,0 +1,25 @@ +PORTNAME= zfp +DISTVERSION= 1.0.0 +CATEGORIES= devel science +MASTER_SITES= https://github.com/LLNL/${PORTNAME}/releases/download/${DISTVERSION}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= High throughput library for compressed floating-point arrays +WWW= https://computing.llnl.gov/projects/zfp + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/scikit-build-cmake/LICENSE + +BUILD_DEPENDS= ${PYNUMPY} +LIB_DEPENDS= libzfp.so:devel/zfp +RUN_DEPENDS= ${PYNUMPY} + +USES= cmake localbase:ldflags python +USE_PYTHON= cython flavors + +WRKSRC_SUBDIR= python + +PLIST_FILES= ${PYTHON_SITELIBDIR}/zfpy${PYTHON_EXT_SUFFIX}.so + +.include diff --git a/devel/py-zfp/distinfo b/devel/py-zfp/distinfo new file mode 100644 index 000000000000..dace46c794cb --- /dev/null +++ b/devel/py-zfp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660978478 +SHA256 (zfp-1.0.0.tar.gz) = 0ea08ae3e50e3c92f8b8cf41ba5b6e2de8892bc4a4ca0c59b8945b6c2ab617c4 +SIZE (zfp-1.0.0.tar.gz) = 180465 diff --git a/devel/py-zfp/files/patch-CMakeLists.txt b/devel/py-zfp/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..8e349e8ec025 --- /dev/null +++ b/devel/py-zfp/files/patch-CMakeLists.txt @@ -0,0 +1,8 @@ +--- CMakeLists.txt.orig 2022-08-01 21:04:02 UTC ++++ CMakeLists.txt +@@ -1,3 +1,5 @@ ++cmake_minimum_required(VERSION 3.9) ++ + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_LIST_DIR}/scikit-build-cmake) + include(UseCython) + include(FindPythonExtensions) diff --git a/devel/py-zfp/pkg-descr b/devel/py-zfp/pkg-descr new file mode 100644 index 000000000000..f14c4ca260e1 --- /dev/null +++ b/devel/py-zfp/pkg-descr @@ -0,0 +1,4 @@ +zfp is a BSD licensed open source C/C++ library for compressed floating-point +arrays that support very high throughput read and write random access. zfp was +written by Peter Lindstrom, Markus Salasoo, and Matt Larsen at Lawrence +Livermore National Laboratory.