From nobody Fri Nov 26 22:02:53 2021 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 7939418C7C7A; Fri, 26 Nov 2021 22:02:54 +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 4J17z16jxzz4jlq; Fri, 26 Nov 2021 22:02:53 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 70B1510A3F; Fri, 26 Nov 2021 22:02:53 +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 1AQM2r1q016771; Fri, 26 Nov 2021 22:02:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AQM2r4p016770; Fri, 26 Nov 2021 22:02:53 GMT (envelope-from git) Date: Fri, 26 Nov 2021 22:02:53 GMT Message-Id: <202111262202.1AQM2r4p016770@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: de46e513ae6c - main - math/xtensor-io: New port: Xtensor plugin to read/write images, audio files, numpy npz and HDF5 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: de46e513ae6c049bf2e931937c853cc6acaf19cc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637964174; 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=xclBHEFPob/cQf8qpQezoOZnYpWBo1hSfk8Ul2dExDk=; b=IHN0Pg6KZVLKo/njwzVqvNOfilViVhAHeX4ctgVwMGVjDiF7iv0vIStV0ZGPOzzISfAu8z fKIvgEncjgfY9nyxPDrcUuF5axmKNK1ANYxlgzOkhHjl9mrF1x5cYY83LXeKXfyKfdTBR3 NCZFV5JJg5k9NrT6ieDBJbsbeLtxEIijnFiU6BnlGKO0DWE2f+pGc0oTEY7bivw0iH04eB SOqs6OPT4HeQKqnbGLyjuCkx4uQEm3jJ/DJ72RNJ3QaGbk3F+W1ibetSCHdT+zbfMOPkvj dNYUo03de8c92o1827YYG75pFv8Nlnnaeu1xX856eXNgdc1yu2X0J2EBYdct+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637964174; a=rsa-sha256; cv=none; b=cpgl76RE0tyUVFfgNoz6O870MC3wOK2oxbDW8i8lcpKq7J1qFWrOO8Co2G5y4CHhcsc6O2 F/6UhTLDCSWkXMLUtK7nwKHZXx03qjZFyr1MAp6id6X1n2EZquSn9qNIKohXyw6gZqr1aV WvJnS1S9iftlUw/C4qa8tjWs1/20ggxfuPwnYg872Wd9BjaBPZousFc07mTo0GgJBxAsrK ACWq/RLW6tt/HSCj6dL74dTNP9EFreTknITSI0bf0NqlqwrDWRNXGJOX8NqWiXPfF4vB/z AsSL1noR0AXOdr7C+WNKkfVZEKgOTwom8h2VsSt+a7J2QGmAg+IKD5ZcX/ed8g== 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=de46e513ae6c049bf2e931937c853cc6acaf19cc commit de46e513ae6c049bf2e931937c853cc6acaf19cc Author: Yuri Victorovich AuthorDate: 2021-11-26 19:39:58 +0000 Commit: Yuri Victorovich CommitDate: 2021-11-26 22:02:39 +0000 math/xtensor-io: New port: Xtensor plugin to read/write images, audio files, numpy npz and HDF5 --- math/Makefile | 1 + math/xtensor-io/Makefile | 30 ++++++++++++++++++++++++++++++ math/xtensor-io/distinfo | 3 +++ math/xtensor-io/pkg-descr | 9 +++++++++ math/xtensor-io/pkg-plist | 26 ++++++++++++++++++++++++++ 5 files changed, 69 insertions(+) diff --git a/math/Makefile b/math/Makefile index b46addb51c06..0a07c732e1d4 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1076,6 +1076,7 @@ SUBDIR += xspread SUBDIR += xtensor SUBDIR += xtensor-blas + SUBDIR += xtensor-io SUBDIR += yacas SUBDIR += yices SUBDIR += z3 diff --git a/math/xtensor-io/Makefile b/math/xtensor-io/Makefile new file mode 100644 index 000000000000..806266803828 --- /dev/null +++ b/math/xtensor-io/Makefile @@ -0,0 +1,30 @@ +PORTNAME= xtensor-io +DISTVERSION= 0.13.0 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Xtensor plugin to read/write images, audio files, numpy npz and HDF5 + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +HPP_DEPENDS= xtensor>0:math/xtensor +BUILD_DEPENDS= ${HPP_DEPENDS} +RUN_DEPENDS= ${HPP_DEPENDS} +TEST_DEPENDS= googletest>0:devel/googletest + +USES= cmake compiler:c++14-lang + +USE_GITHUB= yes +GH_ACCOUNT= xtensor-stack + +NO_BUILD= yes +NO_ARCH= yes + +do-test: install # tests fail to compile, see https://github.com/xtensor-stack/xtensor-io/issues/168 + @cd ${WRKSRC}/test && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} . && \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \ + ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest + +.include diff --git a/math/xtensor-io/distinfo b/math/xtensor-io/distinfo new file mode 100644 index 000000000000..5231ace98812 --- /dev/null +++ b/math/xtensor-io/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1637954965 +SHA256 (xtensor-stack-xtensor-io-0.13.0_GH0.tar.gz) = 470bedee082adb0ef25ef7b54f9cfd3684e27b8489c42cf7980e0d90c14d04da +SIZE (xtensor-stack-xtensor-io-0.13.0_GH0.tar.gz) = 402965 diff --git a/math/xtensor-io/pkg-descr b/math/xtensor-io/pkg-descr new file mode 100644 index 000000000000..e30fc6081389 --- /dev/null +++ b/math/xtensor-io/pkg-descr @@ -0,0 +1,9 @@ +xtensor-io offers an API to read and write various file formats into xtensor +data structures: +* images +* audio files +* NumPy's compressed storage format (NPZ) +* HDF5 files +* Blosc + +WWW: https://github.com/xtensor-stack/xtensor-io diff --git a/math/xtensor-io/pkg-plist b/math/xtensor-io/pkg-plist new file mode 100644 index 000000000000..c61f2cfef60c --- /dev/null +++ b/math/xtensor-io/pkg-plist @@ -0,0 +1,26 @@ +include/xtensor-io/thirdparty/zstr/strict_fstream.hpp +include/xtensor-io/thirdparty/zstr/zstr.hpp +include/xtensor-io/xaudio.hpp +include/xtensor-io/xchunk_store_manager.hpp +include/xtensor-io/xfile_array.hpp +include/xtensor-io/xgdal.hpp +include/xtensor-io/xhighfive.hpp +include/xtensor-io/ximage.hpp +include/xtensor-io/xio_aws_handler.hpp +include/xtensor-io/xio_binary.hpp +include/xtensor-io/xio_blosc.hpp +include/xtensor-io/xio_disk_handler.hpp +include/xtensor-io/xio_file_wrapper.hpp +include/xtensor-io/xio_gcs_handler.hpp +include/xtensor-io/xio_gdal_handler.hpp +include/xtensor-io/xio_gzip.hpp +include/xtensor-io/xio_stream_wrapper.hpp +include/xtensor-io/xio_vsilfile_wrapper.hpp +include/xtensor-io/xio_zlib.hpp +include/xtensor-io/xnpz.hpp +include/xtensor-io/xtensor-io.hpp +include/xtensor-io/xtensor_io_config.hpp +lib/cmake/xtensor-io/xtensor-ioConfig.cmake +lib/cmake/xtensor-io/xtensor-ioConfigVersion.cmake +lib/cmake/xtensor-io/xtensor-ioTargets.cmake +libdata/pkgconfig/xtensor-io.pc