commit:     617c54030bb49bdefca2237d90aa259cb9a4e04f
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 18:41:07 2021 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 18:41:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=617c5403

dev-python/os-brick: fix installing to /usr/etc

Closes: https://bugs.gentoo.org/785472
Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --force
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 .../os-brick/{os-brick-4.0.1.ebuild => os-brick-4.0.1-r1.ebuild}   | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/os-brick/os-brick-4.0.1.ebuild 
b/dev-python/os-brick/os-brick-4.0.1-r1.ebuild
similarity index 89%
rename from dev-python/os-brick/os-brick-4.0.1.ebuild
rename to dev-python/os-brick/os-brick-4.0.1-r1.ebuild
index 12b80504c96..dfc56644fd2 100644
--- a/dev-python/os-brick/os-brick-4.0.1.ebuild
+++ b/dev-python/os-brick/os-brick-4.0.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -32,3 +32,8 @@ RDEPEND="
        >=dev-python/tenacity-6.0.0[${PYTHON_USEDEP}]
        >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}]
 "
+
+python_prepare_all() {
+       sed -i -e 's/\tetc/\t\/etc/g' setup.cfg || die
+       distutils-r1_python_prepare_all
+}

Reply via email to