Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 605898 Details for
Bug 706070
dev-python/pybind11-2.4.3 should install cmake config files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pybind11-2.4.3.ebuild
pybind11-2.4.3.ebuild (text/plain), 2.15 KB, created by
Bernd
on 2020-01-28 17:43:43 UTC
(
hide
)
Description:
pybind11-2.4.3.ebuild
Filename:
MIME Type:
Creator:
Bernd
Created:
2020-01-28 17:43:43 UTC
Size:
2.15 KB
patch
obsolete
># Copyright 1999-2020 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >PYTHON_COMPAT=( python3_{6,7,8} ) > >inherit cmake distutils-r1 > >DESCRIPTION="Seamless operability between C++11 and Python" >HOMEPAGE="https://pybind11.readthedocs.io/en/stable/" >SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz" >LICENSE="BSD" > >SLOT="0" >KEYWORDS="~amd64 ~x86" > ># FIXME: USE=test needs some more work, i.e. depends on scipy for py3_{7,8} which ># I didn't get to build. >IUSE=" doc" >#RESTRICT="!test? ( test )" > ># FIXME: dev-python/breathe only supports python 3.6 for now ># test? ( ># dev-cpp/catch:0 ># dev-libs/boost:=[python,${PYTHON_USEDEP}] ># dev-python/numpy[${PYTHON_USEDEP}] ># dev-python/pytest[${PYTHON_USEDEP}] ># sci-libs/scipy[${PYTHON_USEDEP}] ># ) >DEPEND=" > ${PYTHON_DEPS} > doc? ( > $(python_gen_cond_dep 'dev-python/breathe[${PYTHON_USEDEP}]' 'python3_6') > dev-python/sphinx[${PYTHON_USEDEP}] > ) >" > >RDEPEND=" > ${PYTHON_DEPS} > dev-cpp/eigen:3 >" > >REQUIRED_USE=" > ${PYTHON_REQUIRED_USE} > doc? ( $(python_gen_useflags 'python3_6') ) >" > >DOCS=( README.md CONTRIBUTING.md ISSUE_TEMPLATE.md ) > >pkg_setup() { > use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python3_6' ) >} > >python_prepare_all() { > export PYBIND11_USE_CMAKE=1 > cmake_src_prepare > distutils-r1_python_prepare_all >} > >python_configure_all() { > local mycmakeargs=( > -DPYBIND11_INSTALL=ON > -DPYBIND11_TEST=OFF # $(usex test) > ) > > cmake_src_configure >} > >python_compile_all() { > # No compilation has to be done by cmake > > # documentation is not covered by cmake, but has it's own makefile > # using sphinx > if use doc; then > python_setup 'python3_6' > pushd "${S}"/docs || die > emake info man html > popd || die > fi >} > >#python_test_all() { ># cmake_src_test >#} > >#python_test() { ># do_test() { ># pushd "${BUILD_DIR}" || die ># eninja check ># popd || die ># } ># python_foreach_impl do_test >#} > >python_install_all() { > cmake_src_install > if use doc; then > python_setup > local HTML_DOCS=( "${S}"/docs/.build/html/. ) > > # install man and info pages > doman "${S}"/docs/.build/man/pybind11.1 > doinfo "${S}"/docs/.build/texinfo/pybind11.info > fi > > distutils-r1_python_install_all >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 706070
:
603934
|
605898
|
627672