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 02A0F1382C5 for ; Sun, 15 Apr 2018 14:06:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BF8DE081E; Sun, 15 Apr 2018 14:06:15 +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 EEB8EE081E for ; Sun, 15 Apr 2018 14:06:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 C23DF335C79 for ; Sun, 15 Apr 2018 14:06:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF075257 for ; Sun, 15 Apr 2018 14:06:11 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1523801130.6540867b3b8836e1dcf090ae3c1c55091af557b9.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/cura/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/cura/cura-0.15.04.4.ebuild media-gfx/cura/cura-0.15.04.5_rc5.ebuild media-gfx/cura/cura-2.1.0_beta.ebuild media-gfx/cura/cura-2.3.1.ebuild media-gfx/cura/cura-2.6.0.ebuild X-VCS-Directories: media-gfx/cura/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: 6540867b3b8836e1dcf090ae3c1c55091af557b9 X-VCS-Branch: master Date: Sun, 15 Apr 2018 14:06:11 +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: f4244004-25c5-4ecb-acd4-f66d9a612747 X-Archives-Hash: 3d7c8a7f573746f3498919ddfa3b159c commit: 6540867b3b8836e1dcf090ae3c1c55091af557b9 Author: Marty E. Plummer startmail com> AuthorDate: Wed Apr 4 03:59:52 2018 +0000 Commit: Amy Liffey gentoo org> CommitDate: Sun Apr 15 14:05:30 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6540867b media-gfx/cura: fdo-mime migration Plus some minor formatting changes to be more in accord with the rest of the ::gentoo tree, and removal of eutils in favor of desktop. Closes: https://github.com/gentoo/gentoo/pull/7800 Package-Manager: Portage-2.3.27, Repoman-2.3.9 media-gfx/cura/cura-0.15.04.4.ebuild | 17 ++++++++++------- media-gfx/cura/cura-0.15.04.5_rc5.ebuild | 18 +++++++++++------- media-gfx/cura/cura-2.1.0_beta.ebuild | 21 +++++++++++++-------- media-gfx/cura/cura-2.3.1.ebuild | 23 ++++++++++++++--------- media-gfx/cura/cura-2.6.0.ebuild | 21 +++++++++++++-------- 5 files changed, 61 insertions(+), 39 deletions(-) diff --git a/media-gfx/cura/cura-0.15.04.4.ebuild b/media-gfx/cura/cura-0.15.04.4.ebuild index 59f9fbf4f8b..fa9ddb4d251 100644 --- a/media-gfx/cura/cura-0.15.04.4.ebuild +++ b/media-gfx/cura/cura-0.15.04.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit eutils fdo-mime gnome2-utils python-single-r1 +inherit desktop gnome2-utils python-single-r1 xdg-utils MY_PV=${PV#0.} MY_PN=Cura @@ -30,9 +30,12 @@ RDEPEND="${PYTHON_DEPS} DEPEND="${RDEPEND} >=dev-python/setuptools-0.6.34[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${P}-nopower.patch" ) S="${WORKDIR}/${MY_PN}-${MY_PV}" +PATCHES=( + "${FILESDIR}/${PN}-0.15.04.4-nopower.patch" +) + src_prepare() { cat > "${T}"/cura <<- CURAEOF || die #!/bin/sh @@ -62,13 +65,13 @@ pkg_preinst() { } pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } diff --git a/media-gfx/cura/cura-0.15.04.5_rc5.ebuild b/media-gfx/cura/cura-0.15.04.5_rc5.ebuild index ac952093c02..c35602d8d18 100644 --- a/media-gfx/cura/cura-0.15.04.5_rc5.ebuild +++ b/media-gfx/cura/cura-0.15.04.5_rc5.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit eutils fdo-mime gnome2-utils python-single-r1 + +inherit desktop gnome2-utils python-single-r1 xdg-utils MY_PV=${PV#0.} MY_PV=${MY_PV/_rc/-RC} @@ -30,9 +31,12 @@ RDEPEND="${PYTHON_DEPS} DEPEND="${RDEPEND} >=dev-python/setuptools-0.6.34[${PYTHON_USEDEP}]" -PATCHES=( "${FILESDIR}/${PN}-0.15.04.4-nopower.patch" ) S="${WORKDIR}/${MY_PN}-${MY_PV}" +PATCHES=( + "${FILESDIR}/${PN}-0.15.04.4-nopower.patch" +) + src_prepare() { cat > "${T}"/cura <<- CURAEOF || die #!/bin/sh @@ -62,13 +66,13 @@ pkg_preinst() { } pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } diff --git a/media-gfx/cura/cura-2.1.0_beta.ebuild b/media-gfx/cura/cura-2.1.0_beta.ebuild index 9a28b902e3e..db1610abbb6 100644 --- a/media-gfx/cura/cura-2.1.0_beta.ebuild +++ b/media-gfx/cura/cura-2.1.0_beta.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=6 PYTHON_COMPAT=( python3_4 python3_5 ) -inherit cmake-utils fdo-mime gnome2-utils python-single-r1 + +inherit cmake-utils gnome2-utils python-single-r1 xdg-utils MY_PN=Cura MY_PV=${PV/_beta} @@ -28,7 +29,11 @@ DEPEND="${RDEPEND} sys-devel/gettext" S="${WORKDIR}/${MY_PN}-${MY_PV}" -PATCHES=( "${FILESDIR}/${P}-fix-install-paths.patch" ) + +PATCHES=( + "${FILESDIR}/${PN}-2.1.0_beta-fix-install-paths.patch" +) + DOCS=( README.md ) src_configure() { @@ -52,13 +57,13 @@ pkg_preinst() { } pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } diff --git a/media-gfx/cura/cura-2.3.1.ebuild b/media-gfx/cura/cura-2.3.1.ebuild index 39b5a6d0514..9af78aaedc3 100644 --- a/media-gfx/cura/cura-2.3.1.ebuild +++ b/media-gfx/cura/cura-2.3.1.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=6 -PYTHON_COMPAT=( python3_4 python3_5 ) -inherit cmake-utils fdo-mime gnome2-utils python-single-r1 +PYTHON_COMPAT=( python3_{4,5} ) + +inherit cmake-utils gnome2-utils python-single-r1 xdg-utils MY_PN=Cura MY_PV=${PV/_beta} @@ -29,7 +30,11 @@ DEPEND="${RDEPEND} sys-devel/gettext" S="${WORKDIR}/${MY_PN}-${MY_PV}" -PATCHES=( "${FILESDIR}/${P}-fix-install-paths.patch" ) + +PATCHES=( + "${FILESDIR}/${PN}-2.3.1-fix-install-paths.patch" +) + DOCS=( README.md ) src_configure() { @@ -53,13 +58,13 @@ pkg_preinst() { } pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } diff --git a/media-gfx/cura/cura-2.6.0.ebuild b/media-gfx/cura/cura-2.6.0.ebuild index 0f92d0ff5de..bf9f44699fb 100644 --- a/media-gfx/cura/cura-2.6.0.ebuild +++ b/media-gfx/cura/cura-2.6.0.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=6 PYTHON_COMPAT=( python3_{4,5,6} ) -inherit cmake-utils fdo-mime gnome2-utils python-single-r1 + +inherit cmake-utils gnome2-utils python-single-r1 xdg-utils MY_PN=Cura MY_PV=${PV/_beta} @@ -29,7 +30,11 @@ DEPEND="${RDEPEND} sys-devel/gettext" S="${WORKDIR}/${MY_PN}-${MY_PV}" -PATCHES=( "${FILESDIR}/${PN}-2.3.1-fix-install-paths.patch" ) + +PATCHES=( + "${FILESDIR}/${PN}-2.3.1-fix-install-paths.patch" +) + DOCS=( README.md ) src_configure() { @@ -53,13 +58,13 @@ pkg_preinst() { } pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update } pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update + xdg_desktop_database_update + xdg_mimeinfo_database_update gnome2_icon_cache_update }