summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-07-12 17:07:56 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-07-12 17:09:21 +0300
commit412f9a3420785325685671c42abfcec146edcd9d (patch)
treef6ffc38a9ebf0bbd26a79d06b44fd8edc6d2dcba /sci-libs
parentdev-python/rapidfuzz-capi: treeclean (diff)
downloadgentoo-412f9a3420785325685671c42abfcec146edcd9d.tar.gz
gentoo-412f9a3420785325685671c42abfcec146edcd9d.tar.bz2
gentoo-412f9a3420785325685671c42abfcec146edcd9d.zip
sci-libs/o2scl: treeclean
Bug: https://bugs.gentoo.org/934133 Bug: https://bugs.gentoo.org/725622 Bug: https://bugs.gentoo.org/813240 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/o2scl/Manifest1
-rw-r--r--sci-libs/o2scl/metadata.xml22
-rw-r--r--sci-libs/o2scl/o2scl-0.920.ebuild72
3 files changed, 0 insertions, 95 deletions
diff --git a/sci-libs/o2scl/Manifest b/sci-libs/o2scl/Manifest
deleted file mode 100644
index bb8146a5d629..000000000000
--- a/sci-libs/o2scl/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST o2scl-0.920.tar.gz 34498666 BLAKE2B de269d1d6d329786d34dcbf84b6cb89d5bfae709ff1e0116455dbf8cee9e66d45b2a66086ca467037c572a8495ad198a23836861914c681050471810dda00354 SHA512 a80c959b76d15473e206f1caac496607af254f0617f7a18d13bd9732861b6c51f5db8ca3ff6866bb8d0ea70865d4ac94cb972e0a0c158f19034667340341467c
diff --git a/sci-libs/o2scl/metadata.xml b/sci-libs/o2scl/metadata.xml
deleted file mode 100644
index bfbde3f72f12..000000000000
--- a/sci-libs/o2scl/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription lang="en">
- O2scl is a C++ class library for object-oriented numerical
- programming. It includes classes based on numerical routines from
- GSL and CERNLIB and two sub-libraries: thermodynamics of ideal and
- nearly-ideal particles with quantum statistics and e quations of
- state for finite density relevant for neutron stars.
- </longdescription>
- <use>
- <flag name="armadillo">Build matrix manipulation with <pkg>sci-libs/armadillo</pkg></flag>
- <flag name="eigen">Build matrix manipulation with <pkg>dev-cpp/eigen</pkg></flag>
- </use>
- <upstream>
- <remote-id type="github">awsteiner/o2scl</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-libs/o2scl/o2scl-0.920.ebuild b/sci-libs/o2scl/o2scl-0.920.ebuild
deleted file mode 100644
index b82c2a9bcc19..000000000000
--- a/sci-libs/o2scl/o2scl-0.920.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Object-oriented Scientific Computing Library"
-HOMEPAGE="https://web.utk.edu/~asteine1/o2scl/"
-SRC_URI="https://github.com/awsteiner/${PN}/releases/download/v${PV}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="armadillo debug doc examples eigen fftw gsl hdf5 openmp readline static-libs"
-
-RDEPEND="
- dev-libs/boost:=
- >=sci-libs/gsl-2:0=
- virtual/cblas:=
- eigen? ( dev-cpp/eigen:3 )
- armadillo? ( sci-libs/armadillo[lapack] )
- fftw? ( sci-libs/fftw:3.0= )
- hdf5? ( sci-libs/hdf5:0= )
- readline? ( sys-libs/readline:0= )
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- if [[ ${MERGE_TYPE} != binary ]] && use openmp && ! tc-check-openmp; then
- ewarn "OpenMP is not available in your current selected compiler"
- die "need openmp capable compiler"
- fi
-}
-
-src_configure() {
- use debug || append-cppflags -DO2SCL_NO_RANGE_CHECK
- econf \
- --enable-acol \
- $(use_enable armadillo) \
- $(use_enable eigen) \
- $(use_enable fftw) \
- $(use_enable gsl gsl2) \
- $(use_enable hdf5 hdf) \
- $(use_enable hdf5 partlib) \
- $(use_enable hdf5 eoslib) \
- $(use_enable openmp) \
- $(use_enable static-libs static)
-}
-
-src_install() {
- default
-
- if ! use static-libs; then
- find "${ED}" -name '*.la' -delete || die
- fi
-
- rm -r "${ED}"/usr/doc || die
- if use doc; then
- dodoc -r doc/o2scl/html
- docompress -x /usr/share/doc/${PF}/html
- fi
- if use examples; then
- dodoc -r examples
- docompress -x /usr/share/doc/${PF}/examples
- fi
-}