Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 490686 Details for
Bug 616170
media-gfx/cura-2.4.0 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix python version and add missing materials
cura-2.6.1-ebuild.patch (text/plain), 1.63 KB, created by
Jesper Saxtorph
on 2017-08-26 13:10:45 UTC
(
hide
)
Description:
Fix python version and add missing materials
Filename:
MIME Type:
Creator:
Jesper Saxtorph
Created:
2017-08-26 13:10:45 UTC
Size:
1.63 KB
patch
obsolete
>--- /usr/portage/media-gfx/cura/cura-2.6.0.ebuild 2017-07-23 13:05:25.000000000 +0200 >+++ cura-2.6.1.ebuild 2017-08-26 14:24:34.937491868 +0200 >@@ -3,20 +3,24 @@ > > EAPI="6" > >-PYTHON_COMPAT=( python3_{4,5,6} ) >+PYTHON_COMPAT=( python3_{5,6} ) > inherit cmake-utils fdo-mime gnome2-utils python-single-r1 > > MY_PN=Cura > MY_PV=${PV/_beta} >+MATERIALS_PN=fdm_materials >+MATERIALS_PV=${MY_PV} >+MATERIALS_P=${MATERIALS_PN}-${MATERIALS_PV} > > DESCRIPTION="A 3D model slicing application for 3D printing" > HOMEPAGE="https://github.com/Ultimaker/Cura" >-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" >+SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz >+ materials? ( https://github.com/Ultimaker/${MATERIALS_PN}/archive/${MATERIALS_PV}.tar.gz -> ${PN}-${MATERIALS_P}.tar.gz )" > > LICENSE="AGPL-3+" > SLOT="0" > KEYWORDS="~amd64 ~x86" >-IUSE="+usb" >+IUSE="+usb +materials" > REQUIRED_USE="${PYTHON_REQUIRED_USE}" > > RDEPEND="${PYTHON_DEPS} >@@ -32,6 +36,13 @@ > PATCHES=( "${FILESDIR}/${PN}-2.3.1-fix-install-paths.patch" ) > DOCS=( README.md ) > >+src_prepare() { >+ default >+ # Patch to start with the choosen python interpreter >+ PYTHON_STRING="$(echo ${PYTHON_SINGLE_TARGET} | sed 's|_|.|g')" >+ sed -i "s|python3|${PYTHON_STRING}|" "${S}/cura_app.py" >+} >+ > src_configure() { > local mycmakeargs=( > -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) >@@ -46,6 +57,10 @@ > cmake-utils_src_install > doicon icons/*.png > python_optimize "${D}${get_libdir}" >+ if use materials ; then >+ insinto /usr/share/cura/resources/materials >+ doins "${WORKDIR}/${MATERIALS_P}"/*.fdm_material >+ fi > } > > pkg_preinst() {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 616170
: 490686