From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6073C139694 for ; Sun, 23 Jul 2017 11:06:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F329E0E33; Sun, 23 Jul 2017 11:06:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40A3AE0E2D for ; Sun, 23 Jul 2017 11:06:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0FED3418C6 for ; Sun, 23 Jul 2017 11:05:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71ACE74C0 for ; Sun, 23 Jul 2017 11:05:57 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1500807925.313886837d2d89c6a937cc055be15f9ffc7b8cd9.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/cura/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/cura/Manifest media-gfx/cura/cura-2.6.0.ebuild X-VCS-Directories: media-gfx/cura/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 313886837d2d89c6a937cc055be15f9ffc7b8cd9 X-VCS-Branch: master Date: Sun, 23 Jul 2017 11:05:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e947ddac-79e0-4da2-8684-1e7014f9b480 X-Archives-Hash: 57930cccdfceb33faab1400dc51489ac commit: 313886837d2d89c6a937cc055be15f9ffc7b8cd9 Author: Alexey Shvetsov gentoo org> AuthorDate: Sun Jul 23 11:05:25 2017 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Sun Jul 23 11:05:25 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31388683 media-gfx/cura: Version bump Package-Manager: Portage-2.3.6, Repoman-2.3.2 media-gfx/cura/Manifest | 1 + media-gfx/cura/cura-2.6.0.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/media-gfx/cura/Manifest b/media-gfx/cura/Manifest index 0a377e48ca8..8fca1f1c78a 100644 --- a/media-gfx/cura/Manifest +++ b/media-gfx/cura/Manifest @@ -2,3 +2,4 @@ DIST cura-0.15.04.4.tar.gz 7265105 SHA256 9bce9cec7578792f7008a557930d16216ef970 DIST cura-0.15.04.5_rc5.tar.gz 7266640 SHA256 12d72b1ece64bfc00909866e725f39867c9d82abdd793892df210afd35014c89 SHA512 cafb2b6883838e3e427e3da0388a6cd93d666052d9029eeb98bafad7970c805c271a7599fbdc493164d790f101b92bbd511479d2fc9f91c64f73677c6cee0a2f WHIRLPOOL b6ed8e0f9e17ee4d2c1eae3a8f8a0293529f6a4b362445d9296b47247aab91d521c64541ea9110c8b169eb01661f3cae30583f8f959d4d7bc0a8c255455db58b DIST cura-2.1.0_beta.tar.gz 19784684 SHA256 b81f09307968475e33b03199aaf968e25d2b37fc7db9777b95c03053b1836f83 SHA512 9e4b4f0a93098f9cadf7d8969725e17ac549b6caced602a3d088e65068ab7fcda5a18e7e6f293434e7042360f0e37d87074d82d8884370bfbfc10e07a4212ce2 WHIRLPOOL 19ae138fa4b7c840ffc2d61779a08d48624bc6078fa83a6bec280d1a725e93bad6682d9f21a0cbe3ee4a4343a47a7e6f58d3fd559804f278241c7a5bb7d3cf89 DIST cura-2.3.1.tar.gz 8216743 SHA256 4542a5925b503f5416ebb8541fccb65d5c08164febafefdacb05b528c4cf73a8 SHA512 875c55a1b75f9e8c5bc6faac8f865a17ee371e973e3acf2528c09ee18bd517acbdde066f292c506ed67654119fdfeac86e28b41887807b767225e0ee6054301f WHIRLPOOL dfa7d3dac9f53d8682a4761900665598b7b75b08afd283a77f43351709eb2639c44b6694d626c17be98544acdceec50b8f6409fdb69efd1bb7d4a5f945e16cba +DIST cura-2.6.0.tar.gz 10007980 SHA256 049617e8025a9e74ad4e733884a9c04319882d89e6ab346a72147995d43b44b5 SHA512 c437b284292682821d3e7c6fe67dfbf9e397588a604d0608fcc89019d02529720a929881d1ad0531fedba2f4b3efc98c1890624a4261dcccacbcfa24246d6e54 WHIRLPOOL 099378e95d0bd28f4df8e341f078a3f86c887c1799d4cfa84fa7d01cc50a9f9aa857a59f7c1d3f7ae240d11268eb2e82e6031f9390b83e97805d410ff4868975 diff --git a/media-gfx/cura/cura-2.6.0.ebuild b/media-gfx/cura/cura-2.6.0.ebuild new file mode 100644 index 00000000000..0f92d0ff5de --- /dev/null +++ b/media-gfx/cura/cura-2.6.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python3_{4,5,6} ) +inherit cmake-utils fdo-mime gnome2-utils python-single-r1 + +MY_PN=Cura +MY_PV=${PV/_beta} + +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" + +LICENSE="AGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+usb" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libarcus:=[python,${PYTHON_USEDEP}] + dev-python/uranium[${PYTHON_USEDEP}] + sci-libs/scipy[${PYTHON_USEDEP}] + usb? ( dev-python/pyserial[${PYTHON_USEDEP}] ) + ~media-gfx/curaengine-${PV}" +DEPEND="${RDEPEND} + sys-devel/gettext" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" +PATCHES=( "${FILESDIR}/${PN}-2.3.1-fix-install-paths.patch" ) +DOCS=( README.md ) + +src_configure() { + local mycmakeargs=( + -DPYTHON_SITE_PACKAGES_DIR="$(python_get_sitedir)" ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + doicon icons/*.png + python_optimize "${D}${get_libdir}" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +}