mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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
This commit is contained in:
@@ -5,6 +5,6 @@
|
||||
license='MIT',
|
||||
packages=['garden'],
|
||||
- scripts=['bin/garden', 'bin/garden.bat'],
|
||||
+ scripts=['bin/garden'],
|
||||
+ scripts=['bin/kivy-garden'],
|
||||
install_requires=['requests'],
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user