From 57657abd8917f571a5689ad0482da149f5cdd6a6 Mon Sep 17 00:00:00 2001 From: Slawomir Lis Date: Tue, 7 Feb 2017 20:55:57 +0100 Subject: dev-python/kivy-garden: fixing filename conflict Reported in #607938. Original "garden" tool is renamed to "kivy-garden". Corresponding einfo message added. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-python/kivy-garden/files/remove_bat.patch | 2 +- dev-python/kivy-garden/kivy-garden-0.1.4.ebuild | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'dev-python') diff --git a/dev-python/kivy-garden/files/remove_bat.patch b/dev-python/kivy-garden/files/remove_bat.patch index f178f2b1314f..5c116608aa79 100644 --- a/dev-python/kivy-garden/files/remove_bat.patch +++ b/dev-python/kivy-garden/files/remove_bat.patch @@ -5,6 +5,6 @@ license='MIT', packages=['garden'], - scripts=['bin/garden', 'bin/garden.bat'], -+ scripts=['bin/garden'], ++ scripts=['bin/kivy-garden'], install_requires=['requests'], ) diff --git a/dev-python/kivy-garden/kivy-garden-0.1.4.ebuild b/dev-python/kivy-garden/kivy-garden-0.1.4.ebuild index e05a0ea598f1..8388475f6fa3 100644 --- a/dev-python/kivy-garden/kivy-garden-0.1.4.ebuild +++ b/dev-python/kivy-garden/kivy-garden-0.1.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -26,3 +26,12 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/garden-${PV}" PATCHES=( "${FILESDIR}/remove_bat.patch" ) + +src_prepare() { + distutils-r1_src_prepare + mv "${S}/bin/garden" "${S}/bin/kivy-garden" +} + +pkg_postinst() { + einfo "Kivy's garden tool is installed as kivy-garden" +} -- cgit v1.2.3-65-gdbad