diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-14 20:44:29 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-14 20:44:29 +0000 |
| commit | b9f9af9f759051ea7594e71af1a2b895daf0d8dd (patch) | |
| tree | d9b9e2052b3b588e1858ed2c660d0d09de281aa3 /dev-cpp/xtensor | |
| parent | 118896fc9c75721ced27db76bcfbecd7953f4039 (diff) | |
| download | baldeagleos-repo-b9f9af9f759051ea7594e71af1a2b895daf0d8dd.tar.gz baldeagleos-repo-b9f9af9f759051ea7594e71af1a2b895daf0d8dd.tar.xz baldeagleos-repo-b9f9af9f759051ea7594e71af1a2b895daf0d8dd.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/xtensor')
| -rw-r--r-- | dev-cpp/xtensor/xtensor-0.24.4.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-cpp/xtensor/xtensor-0.24.4.ebuild b/dev-cpp/xtensor/xtensor-0.24.4.ebuild index 5f284bfd3bec..4cee9d5740e5 100644 --- a/dev-cpp/xtensor/xtensor-0.24.4.ebuild +++ b/dev-cpp/xtensor/xtensor-0.24.4.ebuild @@ -3,7 +3,7 @@ EAPI=8 -# required because of manuall install in src_install +# required because of manual install in src_install CMAKE_MAKEFILE_GENERATOR="emake" PYTHON_COMPAT=( python3_{7,8,9,10,11} ) @@ -32,7 +32,7 @@ BDEPEND=" $(python_gen_any_dep ' dev-python/breathe[${PYTHON_USEDEP}] dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] ') ) test? ( dev-cpp/doctest ) @@ -45,7 +45,7 @@ python_check_deps() { python_has_version \ "dev-python/breathe[${PYTHON_USEDEP}]" \ "dev-python/sphinx[${PYTHON_USEDEP}]" \ - "dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]" + "dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]" } pkg_pretend() { @@ -76,8 +76,6 @@ src_configure() { } src_compile() { - use test && cmake_src_compile xtest - if use doc; then cd "${WORKDIR}/${P}/docs" || die emake html BUILDDIR="${BUILD_DIR}" @@ -85,10 +83,14 @@ src_compile() { fi } +src_test() { + cmake_src_compile xtest +} + src_install() { - # default install starts compiling more tests - # that do not affect the header-only install image - DESTDIR="${D}" emake -C "${BUILD_DIR}" install/fast "$@" + # Default install target depends on tests with USE=test enabled. + # However, this is a header-only library. + DESTDIR="${D}" cmake_build install/fast "$@" einstalldocs } |
