Skip to content

Commit

Permalink
dev-python/kivy-garden: fixing filename conflict
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Slawomir Lis committed Feb 8, 2017
1 parent 53297d4 commit 57657ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev-python/kivy-garden/files/remove_bat.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
license='MIT',
packages=['garden'],
- scripts=['bin/garden', 'bin/garden.bat'],
+ scripts=['bin/garden'],
+ scripts=['bin/kivy-garden'],
install_requires=['requests'],
)
11 changes: 10 additions & 1 deletion dev-python/kivy-garden/kivy-garden-0.1.4.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand Down Expand Up @@ -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"
}

0 comments on commit 57657ab

Please sign in to comment.