summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
+}