commit:     538afbd1c53cf40109c6be036ec28c2cb0ef94bc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 10:16:22 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 10:39:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=538afbd1

sys-cluster/nova: Fix DoublePrefixInPath

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-cluster/nova/nova-18.2.2.ebuild      | 4 ++--
 sys-cluster/nova/nova-19.0.2.ebuild      | 4 ++--
 sys-cluster/nova/nova-2018.2.9999.ebuild | 4 ++--
 sys-cluster/nova/nova-2019.1.9999.ebuild | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-cluster/nova/nova-18.2.2.ebuild 
b/sys-cluster/nova/nova-18.2.2.ebuild
index 12360932350..f57c926d0e3 100644
--- a/sys-cluster/nova/nova-18.2.2.ebuild
+++ b/sys-cluster/nova/nova-18.2.2.ebuild
@@ -242,8 +242,8 @@ python_install_all() {
 python_install() {
        distutils-r1_python_install
        # copy migration conf file (not coppied on install via setup.py script)
-       insinto "$(python_get_sitedir)/db/sqlalchemy/migrate_repo/"
-       doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg"
+       python_moduleinto db/sqlalchemy/migrate_repo
+       python_domodule nova/db/sqlalchemy/migrate_repo/migrate.cfg
 }
 
 pkg_postinst() {

diff --git a/sys-cluster/nova/nova-19.0.2.ebuild 
b/sys-cluster/nova/nova-19.0.2.ebuild
index ffc81bcc857..d25e3939bb4 100644
--- a/sys-cluster/nova/nova-19.0.2.ebuild
+++ b/sys-cluster/nova/nova-19.0.2.ebuild
@@ -244,8 +244,8 @@ python_install_all() {
 python_install() {
        distutils-r1_python_install
        # copy migration conf file (not coppied on install via setup.py script)
-       insinto "$(python_get_sitedir)/db/sqlalchemy/migrate_repo/"
-       doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg"
+       python_moduleinto db/sqlalchemy/migrate_repo
+       python_domodule nova/db/sqlalchemy/migrate_repo/migrate.cfg
 }
 
 pkg_postinst() {

diff --git a/sys-cluster/nova/nova-2018.2.9999.ebuild 
b/sys-cluster/nova/nova-2018.2.9999.ebuild
index f0694e7ed9a..dd30ccf5b55 100644
--- a/sys-cluster/nova/nova-2018.2.9999.ebuild
+++ b/sys-cluster/nova/nova-2018.2.9999.ebuild
@@ -242,8 +242,8 @@ python_install_all() {
 python_install() {
        distutils-r1_python_install
        # copy migration conf file (not coppied on install via setup.py script)
-       insinto "$(python_get_sitedir)/db/sqlalchemy/migrate_repo/"
-       doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg"
+       python_moduleinto db/sqlalchemy/migrate_repo
+       python_domodule nova/db/sqlalchemy/migrate_repo/migrate.cfg
 }
 
 pkg_postinst() {

diff --git a/sys-cluster/nova/nova-2019.1.9999.ebuild 
b/sys-cluster/nova/nova-2019.1.9999.ebuild
index a28cdc16dcc..da689ce9ff4 100644
--- a/sys-cluster/nova/nova-2019.1.9999.ebuild
+++ b/sys-cluster/nova/nova-2019.1.9999.ebuild
@@ -244,8 +244,8 @@ python_install_all() {
 python_install() {
        distutils-r1_python_install
        # copy migration conf file (not coppied on install via setup.py script)
-       insinto "$(python_get_sitedir)/db/sqlalchemy/migrate_repo/"
-       doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg"
+       python_moduleinto db/sqlalchemy/migrate_repo
+       python_domodule nova/db/sqlalchemy/migrate_repo/migrate.cfg
 }
 
 pkg_postinst() {

Reply via email to