summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawomir Lis <slis@gentoo.org>2017-02-07 20:55:57 +0100
committerSlawomir Lis <slis@gentoo.org>2017-02-08 06:13:21 +0100
commit57657abd8917f571a5689ad0482da149f5cdd6a6 (patch)
tree5374552789594b8a276a757e2fd52795582691c9 /dev-python/kivy-garden
parentnet-im/bitlbee: ppc stable (bug 607764). (diff)
downloadgentoo-57657abd8917f571a5689ad0482da149f5cdd6a6.tar.gz
gentoo-57657abd8917f571a5689ad0482da149f5cdd6a6.tar.bz2
gentoo-57657abd8917f571a5689ad0482da149f5cdd6a6.zip
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
Diffstat (limited to 'dev-python/kivy-garden')
-rw-r--r--dev-python/kivy-garden/files/remove_bat.patch2
-rw-r--r--dev-python/kivy-garden/kivy-garden-0.1.4.ebuild11
2 files changed, 11 insertions, 2 deletions
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"
+}