mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-apps/gcp: Replace sed with patch
Package-Manager: Portage-2.3.67, Repoman-2.3.15 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
13
sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
Normal file
13
sys-apps/gcp/files/gcp-0.2.1-gentoo-fhs.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -41,9 +41,8 @@
|
||||
# 'console_scripts': ['gcp=gcp:main'],
|
||||
# },
|
||||
data_files=[
|
||||
- ('man/man1', ["gcp.1"]),
|
||||
+ ('share/man/man1', ["gcp.1"]),
|
||||
('share/locale/fr/LC_MESSAGES', ['i18n/fr/LC_MESSAGES/gcp.mo']),
|
||||
- ('share/doc/%s' % name, ['CHANGELOG', 'LICENSE', 'README.md']),
|
||||
],
|
||||
install_requires=['PyGObject', 'dbus-python'],
|
||||
python_requires='>=3',
|
||||
@@ -21,12 +21,4 @@ RDEPEND="
|
||||
dev-python/progressbar[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
sed \
|
||||
-e "s|'LICENSE', ||g" \
|
||||
-e "s|man/man1|share/man/man1|g" \
|
||||
-e "/share\/doc\/%s/d" \
|
||||
-i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.2.1-gentoo-fhs.patch )
|
||||
|
||||
Reference in New Issue
Block a user