mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-cpp/xtl: drop 0.7.5
Closes: https://bugs.gentoo.org/894288 (obsolete) Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
DIST xtl-0.7.5.tar.gz 160548 BLAKE2B 61d8c8c8e69722e2d29bd70991840650b22f2f440e2ee8100786869e4410ace8a5063cc0101361aedca963607cf046bb46e923fc096e25d731affdf2876ef4fa SHA512 fb447334f68f255d7d28c9202eee2cec70d007c1031f3756a6acd0cc019c0d95ed1d12ec63f2e9fb3df184f9ec305e6a3c808bb88c1e3eb922916ad059d2e856
|
|
||||||
DIST xtl-0.8.0.tar.gz 138356 BLAKE2B 18a06781dff9706807b9f91d0c6dd921eff3258ac6c9d28710b758dee5f1e72aef2cba1ddb3b8a9158f340e9326ab67b9bedecef0eafaa9f6168ba873814b589 SHA512 534d7e3779a8b95371994bed16ddab00083e3a068244354d59aabd4576b7e0678c92064e0a93bba94ed3195410e3b8aefdec9e8c53d70c7d9e83d318377f522a
|
DIST xtl-0.8.0.tar.gz 138356 BLAKE2B 18a06781dff9706807b9f91d0c6dd921eff3258ac6c9d28710b758dee5f1e72aef2cba1ddb3b8a9158f340e9326ab67b9bedecef0eafaa9f6168ba873814b589 SHA512 534d7e3779a8b95371994bed16ddab00083e3a068244354d59aabd4576b7e0678c92064e0a93bba94ed3195410e3b8aefdec9e8c53d70c7d9e83d318377f522a
|
||||||
|
|||||||
@@ -1,72 +0,0 @@
|
|||||||
# Copyright 2023-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
# required because of manual install in src_install
|
|
||||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{11..12} )
|
|
||||||
|
|
||||||
inherit cmake python-any-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Algorithms and containers used by the xtensor stack and the xeus stack"
|
|
||||||
HOMEPAGE="https://github.com/xtensor-stack/xtl"
|
|
||||||
SRC_URI="https://codeload.github.com/xtensor-stack/${PN}/tar.gz/refs/tags/${PV} -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
doc? (
|
|
||||||
app-text/doxygen
|
|
||||||
$(python_gen_any_dep '
|
|
||||||
dev-python/breathe[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
)
|
|
||||||
test? ( dev-cpp/doctest )
|
|
||||||
"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
python_check_deps() {
|
|
||||||
python_has_version \
|
|
||||||
"dev-python/breathe[${PYTHON_USEDEP}]" \
|
|
||||||
"dev-python/sphinx[${PYTHON_USEDEP}]" \
|
|
||||||
"dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use doc && python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=( -DBUILD_TESTS=$(usex test) )
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if use doc; then
|
|
||||||
cd "${WORKDIR}/${P}/docs" || die
|
|
||||||
emake html BUILDDIR="${BUILD_DIR}"
|
|
||||||
HTML_DOCS=( "${BUILD_DIR}/html/." )
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cmake_src_compile xtest
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Default install target depends on tests with USE=test enabled.
|
|
||||||
# However, this is a header-only library.
|
|
||||||
DESTDIR="${D}" cmake_build install/fast "$@"
|
|
||||||
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user