--- /dev/null
+--- 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',
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 )