Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 603642 Details for
Bug 194393
[science overlay] sci-mathematics/cadabra
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sci-mathematics/cadabra2/cadabra2-2.2.8.ebuild
cadabra2-2.2.8.ebuild (text/plain), 2.89 KB, created by
Dmitry S. Kulyabov
on 2020-01-18 07:33:50 UTC
(
hide
)
Description:
sci-mathematics/cadabra2/cadabra2-2.2.8.ebuild
Filename:
MIME Type:
Creator:
Dmitry S. Kulyabov
Created:
2020-01-18 07:33:50 UTC
Size:
2.89 KB
patch
obsolete
># Copyright 1999-2020 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># https://bugs.gentoo.org/194393 > >EAPI="7" > >PYTHON_COMPAT=( python3_{6,7,8} ) > >inherit cmake-utils texlive-common python-single-r1 > >DESCRIPTION="Field-theory motivated computer algebra system" >HOMEPAGE="http://cadabra.science/" > >if [[ ${PV} = *.9999* ]]; then > inherit git-r3 > EGIT_REPO_URI="https://github.com/kpeeters/cadabra2.git" > KEYWORDS="~amd64 ~x86" >else > SRC_URI="https://github.com/kpeeters/cadabra2/archive/${PV}.tar.gz -> ${P}.tar.gz" > KEYWORDS="~amd64 ~x86" >fi > >LICENSE="GPL-2" >SLOT="0" >IUSE="doc examples" > >CDEPEND="x11-libs/gtk+:3 > dev-cpp/gtkmm:3.0 > dev-libs/boost > dev-libs/jsoncpp > dev-libs/mathjax > dev-python/sympy > " > >DEPEND="${CDEPEND} > doc? ( > app-doc/doxygen > dev-texlive/texlive-latexextra > || ( app-text/texlive-core dev-tex/pdftex ) )" > >RDEPEND="${CDEPEND} > virtual/latex-base > dev-texlive/texlive-latexrecommended" > >CMAKE_IN_SOURCE_BUILD=y >CMAKE_MAKEFILE_GENERATOR=emake > >src_prepare() { > cmake-utils_src_prepare > cd ${S} > find . -name "CMakeLists.txt" -exec sed -i -e "s:COMPONENTS python-py34:COMPONENTS python:g" "{}" \; > find . -name "CMakeLists.txt" -exec sed -i -e "s:COMPONENTS python-py35:COMPONENTS python:g" "{}" \; > find . -name "CMakeLists.txt" -exec sed -i -e "s:COMPONENTS python-py36:COMPONENTS python:g" "{}" \; > find . -name "CMakeLists.txt" -exec sed -i -e "s:COMPONENTS python3:COMPONENTS python:g" "{}" \; > # multilib > find . -name "CMakeLists.txt" -exec sed -i -e "s:DESTINATION lib:DESTINATION $(get_libdir):g" "{}" \; > # Install prefix > sed -i -e 's:ICON_PREFIX "/usr":ICON_PREFIX "${CMAKE_INSTALL_PREFIX}":g' \ > -e "s:^[[:space:]]*install(CODE:#install(CODE:g" \ > ${S}/frontend/gtkmm/CMakeLists.txt > sed -i -e "s:^[[:space:]]*install(CODE:#install(CODE:g" \ > -e "s:^[[:space:]]*remove_file(:#remove_file(:g" \ > ${S}/core/CMakeLists.txt >} > >src_configure() { > python_setup > > cmake-utils_src_configure >} > >src_install() { > cmake-utils_src_install > > # cadabra strip binaries unless you are on OS X. > # So faking it to avoid outright stripping. ># emake DESTDIR="${D}" DEVDESTDIR="${D}" MACTEST=1 install ># einstall > ># dodoc AUTHORS ChangeLog INSTALL > ># if use doc; ># then ># cd "${S}/doc/doxygen" ># dohtml html/* ># dodoc latex/*.pdf ># fi > > if use examples; then > dodoc -r "${S}/examples/" > fi > ># rm -rf "${D}/usr/share/TeXmacs" || die > > # hack for texmf ># mv ${D}/usr/share/texmf ${D}/usr/share/texmf-site > > # fix python path > # sed -i -e '1 s:^.*$:\#\!/usr/bin/python3:' ${D}/usr/bin/cadabra2 > ># CUR_PYTHON_DIR=`echo $PATH | cut -d: -f1` ># sed -i -e "s:${CUR_PYTHON_DIR}/python:/usr/bin/python3:g" ${D}/usr/bin/cadabra2 > sed -i -e "s:${T}/python.*/bin/python:/usr/bin/python3:g" ${D}/usr/bin/cadabra2 > >} > >pkg_postinst() { > etexmf-update > /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor >} > >pkg_postrm() { > etexmf-update >} >
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 194393
:
132314
|
132316
|
132318
|
132319
|
139698
|
183821
|
183822
|
183824
|
183825
|
185911
|
201417
|
243681
|
243683
|
243825
|
357734
|
362354
|
362360
|
460256
|
460258
|
460260
|
460262
|
489666
|
504620
|
509274
|
509276
|
526264
|
537876
|
542546
|
543664
|
597542
|
603642
|
674836