* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/zfp/
@ 2021-06-14 10:32 Alessandro Barbieri
0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2021-06-14 10:32 UTC (permalink / raw
To: gentoo-commits
commit: e83a785b7e73aa903f3fd4fcc21ef1d173076ddd
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 14 10:31:29 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jun 14 10:31:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e83a785b
dev-libs/zfp: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-libs/zfp/Manifest | 1 +
dev-libs/zfp/metadata.xml | 31 +++++++++++++++++
dev-libs/zfp/zfp-0.5.5.ebuild | 81 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 113 insertions(+)
diff --git a/dev-libs/zfp/Manifest b/dev-libs/zfp/Manifest
new file mode 100644
index 000000000..dc662e908
--- /dev/null
+++ b/dev-libs/zfp/Manifest
@@ -0,0 +1 @@
+DIST zfp-0.5.5.tar.gz 127482 BLAKE2B 2a3bfca4280c15c8679d1af23ff1b5e09de07060ecb120ce399a56bf598c7a934dbf8053ffd9b6bd26c81641d2f46557d5ad71c3abffefa475eaaaaaf28c8286 SHA512 c043cee73f6e972e047452552ab2ceb9247a6747fdb7e5f863aeab3a05208737c0bcabbe29f3c10e5c1aba961ec47aa6a0abdb395486fa0d5fb16a4ad45733c4
diff --git a/dev-libs/zfp/metadata.xml b/dev-libs/zfp/metadata.xml
new file mode 100644
index 000000000..6da34b25c
--- /dev/null
+++ b/dev-libs/zfp/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription>
+zfp is a compressed format for representing multidimensional floating-point and integer arrays. zfp provides compressed-array classes that support high throughput read and write random access to individual array elements. zfp also supports serial and parallel (OpenMP and CUDA) compression of whole arrays, e.g., for applications that read and write large data sets to and from disk.
+
+zfp uses lossy but optionally error-bounded compression to achieve high compression ratios. Bit-for-bit lossless compression is also possible through one of zfp's compression modes. zfp works best for 2D, 3D, and 4D arrays that exhibit spatial correlation, such as continuous fields from physics simulations, natural images, regularly sampled terrain surfaces, etc. zfp compression of 1D arrays is possible but generally discouraged.
+
+zfp is freely available as open source and is distributed under a BSD license. zfp is primarily written in C and C++ but also includes Python and Fortran bindings. zfp conforms to various language standards, including C89, C99, C11, C++98, C++11, and C++14, and is supported on Linux, macOS, and Windows.
+</longdescription>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/LLNL/zfp/issues</bugs-to>
+ <remote-id type="github">LLNL/zfp</remote-id>
+ </upstream>
+ <use>
+ <flag name="aligned">Enable aligned memory allocation</flag>
+ <flag name="cfp">Build CFP arrays library</flag>
+ <!--<flag name="cuda">Enable CUDA parallel compression</flag>-->
+ <flag name="examples">Build Examples</flag>
+ <flag name="fasthash">Use a faster but more collision prone hash function</flag>
+ <flag name="fortran">Build Fortran library</flag>
+ <flag name="openmp">Enable OpenMP parallel compression</flag>
+ <flag name="strided">Enable strided access for progressive zfp streams</flag>
+ <flag name="twoway">Use two-way skew-associative cache</flag>
+ <flag name="utilities">Build command line utilities</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-libs/zfp/zfp-0.5.5.ebuild b/dev-libs/zfp/zfp-0.5.5.ebuild
new file mode 100644
index 000000000..579abc781
--- /dev/null
+++ b/dev-libs/zfp/zfp-0.5.5.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+#DOCS_BUILDER="sphinx"
+#DOCS_DIR="docs/source"
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit cmake fortran-2 python-single-r1 #docs
+
+DESCRIPTION="Compressed numerical arrays that support high-speed random access"
+SRC_URI="https://github.com/LLNL/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="
+ https://computing.llnl.gov/projects/zfp
+ https://zfp.io
+ https://github.com/LLNL/ZFP
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="aligned cfp fasthash examples fortran openmp profile python strided test twoway +utilities" #doc cuda
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+BDEPEND="utilities? ( app-admin/chrpath )"
+
+pkg_setup() {
+ FORTRAN_NEED_OPENMP=0
+ use openmp && FORTRAN_NEED_OPENMP=1
+ use fortran && fortran-2_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_configure() {
+ #I can't test for cuda stuff
+ #-DZFP_WITH_CUDA=$(usex cuda)
+ local mycmakeargs=(
+ -DBUILD_CFP=$(usex cfp)
+ -DBUILD_EXAMPLES=$(usex examples)
+ -DBUILD_TESTING=$(usex test)
+ -DBUILD_UTILITIES=$(usex utilities)
+ -DBUILD_ZFORP=$(usex fortran)
+ -DBUILD_ZFPY=$(usex python)
+ -DZFP_WITH_ALIGNED_ALLOC=$(usex aligned)
+ -DZFP_WITH_BIT_STREAM_STRIDED=$(usex strided)
+ -DZFP_WITH_CACHE_FAST_HASH=$(usex fasthash)
+ -DZFP_WITH_CACHE_PROFILE=$(usex profile)
+ -DZFP_WITH_CACHE_TWOWAY=$(usex twoway)
+ -DZFP_WITH_OPENMP=$(usex openmp)
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ #docs only available starting from the next release
+ #use doc && docs_compile
+}
+
+src_install() {
+ cmake_src_install
+ use python && python_optimize "${D}/$(python_get_sitedir)"
+ use test && rm "${BUILD_DIR}/bin/testzfp"
+ if use utilities; then
+ pushd "${BUILD_DIR}/bin" || die
+ dobin zfp
+ rm zfp
+ popd || die
+ chrpath -d "${ED}/usr/bin/zfp" || die
+ fi
+ if use examples; then
+ pushd "${BUILD_DIR}/bin" || die
+ exeinto "/usr/libexec/zfp"
+ doexe *
+ chrpath -d "${ED}"/usr/libexec/zfp/* || die
+ fi
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/zfp/
@ 2021-06-15 12:22 Alessandro Barbieri
0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2021-06-15 12:22 UTC (permalink / raw
To: gentoo-commits
commit: 75c683f0a21c9758947af82e77614a02fa97d18a
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 15 10:10:19 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun 15 12:22:29 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=75c683f0
dev-libs/zfp: remove py3.7
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-libs/zfp/zfp-0.5.5.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-libs/zfp/zfp-0.5.5.ebuild b/dev-libs/zfp/zfp-0.5.5.ebuild
index 579abc781..5b762715a 100644
--- a/dev-libs/zfp/zfp-0.5.5.ebuild
+++ b/dev-libs/zfp/zfp-0.5.5.ebuild
@@ -5,7 +5,7 @@ EAPI=7
#DOCS_BUILDER="sphinx"
#DOCS_DIR="docs/source"
-PYTHON_COMPAT=( python3_{7,8,9,10} )
+PYTHON_COMPAT=( python3_{8,9,10} )
inherit cmake fortran-2 python-single-r1 #docs
@@ -58,7 +58,7 @@ src_configure() {
src_compile() {
cmake_src_compile
#docs only available starting from the next release
- #use doc && docs_compile
+ #docs_compile
}
src_install() {
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/zfp/
@ 2021-06-25 10:11 Andrew Ammerlaan
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-06-25 10:11 UTC (permalink / raw
To: gentoo-commits
commit: 489c3f97602b0c3ec3c9a552bd15bf66e20005fe
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 25 10:05:03 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 25 10:05:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=489c3f97
dev-libs/zfp: fix PkgInvalidXml, duplicate maintainer entry
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-libs/zfp/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dev-libs/zfp/metadata.xml b/dev-libs/zfp/metadata.xml
index e98deae13..1cb7fe417 100644
--- a/dev-libs/zfp/metadata.xml
+++ b/dev-libs/zfp/metadata.xml
@@ -13,10 +13,6 @@ zfp uses lossy but optionally error-bounded compression to achieve high compress
zfp is freely available as open source and is distributed under a BSD license. zfp is primarily written in C and C++ but also includes Python and Fortran bindings. zfp conforms to various language standards, including C89, C99, C11, C++98, C++11, and C++14, and is supported on Linux, macOS, and Windows.
</longdescription>
- <maintainer type="person">
- <email>lssndrbarbieri@gmail.com</email>
- <name>Alessandro Barbieri</name>
- </maintainer>
<upstream>
<bugs-to>https://github.com/LLNL/zfp/issues</bugs-to>
<remote-id type="github">LLNL/zfp</remote-id>
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/zfp/
@ 2022-05-28 23:44 Alessandro Barbieri
0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2022-05-28 23:44 UTC (permalink / raw
To: gentoo-commits
commit: 6c14b90637bfc52935d15edab4fafc82bf2eedac
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat May 28 23:35:56 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat May 28 23:35:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c14b906
dev-libs/zfp: EAPI 8
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-libs/zfp/Manifest | 2 +-
dev-libs/zfp/{zfp-0.5.5.ebuild => zfp-0.5.5-r1.ebuild} | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev-libs/zfp/Manifest b/dev-libs/zfp/Manifest
index dc662e908..aab600983 100644
--- a/dev-libs/zfp/Manifest
+++ b/dev-libs/zfp/Manifest
@@ -1 +1 @@
-DIST zfp-0.5.5.tar.gz 127482 BLAKE2B 2a3bfca4280c15c8679d1af23ff1b5e09de07060ecb120ce399a56bf598c7a934dbf8053ffd9b6bd26c81641d2f46557d5ad71c3abffefa475eaaaaaf28c8286 SHA512 c043cee73f6e972e047452552ab2ceb9247a6747fdb7e5f863aeab3a05208737c0bcabbe29f3c10e5c1aba961ec47aa6a0abdb395486fa0d5fb16a4ad45733c4
+DIST zfp-0.5.5.gh.tar.gz 127482 BLAKE2B 2a3bfca4280c15c8679d1af23ff1b5e09de07060ecb120ce399a56bf598c7a934dbf8053ffd9b6bd26c81641d2f46557d5ad71c3abffefa475eaaaaaf28c8286 SHA512 c043cee73f6e972e047452552ab2ceb9247a6747fdb7e5f863aeab3a05208737c0bcabbe29f3c10e5c1aba961ec47aa6a0abdb395486fa0d5fb16a4ad45733c4
diff --git a/dev-libs/zfp/zfp-0.5.5.ebuild b/dev-libs/zfp/zfp-0.5.5-r1.ebuild
similarity index 95%
rename from dev-libs/zfp/zfp-0.5.5.ebuild
rename to dev-libs/zfp/zfp-0.5.5-r1.ebuild
index 5b762715a..85a472b7e 100644
--- a/dev-libs/zfp/zfp-0.5.5.ebuild
+++ b/dev-libs/zfp/zfp-0.5.5-r1.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
#DOCS_BUILDER="sphinx"
#DOCS_DIR="docs/source"
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{8..11} )
inherit cmake fortran-2 python-single-r1 #docs
DESCRIPTION="Compressed numerical arrays that support high-speed random access"
-SRC_URI="https://github.com/LLNL/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/LLNL/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
HOMEPAGE="
https://computing.llnl.gov/projects/zfp
https://zfp.io
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/zfp/
@ 2024-02-05 21:54 Joe Kappus
0 siblings, 0 replies; 5+ messages in thread
From: Joe Kappus @ 2024-02-05 21:54 UTC (permalink / raw
To: gentoo-commits
commit: 67750dbd18d9102bae029ca53f9c9a9369597d88
Author: Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Mon Feb 5 21:53:42 2024 +0000
Commit: Joe Kappus <joe <AT> wt <DOT> gd>
CommitDate: Mon Feb 5 21:53:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67750dbd
dev-libs/zfp: add 1.0.1, drop 0.5.5-r1
Closes: https://bugs.gentoo.org/905907
Signed-off-by: Joe Kappus <joe <AT> wt.gd>
dev-libs/zfp/Manifest | 2 +-
dev-libs/zfp/{zfp-0.5.5-r1.ebuild => zfp-1.0.1.ebuild} | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-libs/zfp/Manifest b/dev-libs/zfp/Manifest
index aab6009839..bb41c6a431 100644
--- a/dev-libs/zfp/Manifest
+++ b/dev-libs/zfp/Manifest
@@ -1 +1 @@
-DIST zfp-0.5.5.gh.tar.gz 127482 BLAKE2B 2a3bfca4280c15c8679d1af23ff1b5e09de07060ecb120ce399a56bf598c7a934dbf8053ffd9b6bd26c81641d2f46557d5ad71c3abffefa475eaaaaaf28c8286 SHA512 c043cee73f6e972e047452552ab2ceb9247a6747fdb7e5f863aeab3a05208737c0bcabbe29f3c10e5c1aba961ec47aa6a0abdb395486fa0d5fb16a4ad45733c4
+DIST zfp-1.0.1.gh.tar.gz 508016 BLAKE2B 6911402dd70fa423ac0a3add54229e2603530c9444534da603e08c078c2a8087c78989f113756e4388b00e17ebb7fe92fb7e98f43fca837eaaa8c728cb2d41da SHA512 5bbd98ed2f98e75c654afa863cab3023abb2eeb8f203f9049c75d5dbdf4b364cfb5c8378e10e6aaeaf13242315ad4949b06619810a67b3adaed095b7e8a48d5a
diff --git a/dev-libs/zfp/zfp-0.5.5-r1.ebuild b/dev-libs/zfp/zfp-1.0.1.ebuild
similarity index 96%
rename from dev-libs/zfp/zfp-0.5.5-r1.ebuild
rename to dev-libs/zfp/zfp-1.0.1.ebuild
index 20d8336ccf..28f00c5d4e 100644
--- a/dev-libs/zfp/zfp-0.5.5-r1.ebuild
+++ b/dev-libs/zfp/zfp-1.0.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
#DOCS_BUILDER="sphinx"
#DOCS_DIR="docs/source"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake fortran-2 python-single-r1 #docs
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-02-05 21:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-28 23:44 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/zfp/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2024-02-05 21:54 Joe Kappus
2021-06-25 10:11 Andrew Ammerlaan
2021-06-15 12:22 Alessandro Barbieri
2021-06-14 10:32 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox