sys-cluster/nova: Fix DoublePrefixInPath
authorMichał Górny <mgorny@gentoo.org>
Thu, 29 Aug 2019 10:16:22 +0000 (12:16 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 29 Aug 2019 10:39:04 +0000 (12:39 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-cluster/nova/nova-18.2.2.ebuild
sys-cluster/nova/nova-19.0.2.ebuild
sys-cluster/nova/nova-2018.2.9999.ebuild
sys-cluster/nova/nova-2019.1.9999.ebuild

index 123609323504ed6b0185ee7efba3aede5816e0c0..f57c926d0e3e51249e7f3f17e54427f06e33510c 100644 (file)
@@ -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() {
index ffc81bcc8570c584e22efe3ffd44c57547797547..d25e3939bb401840a0018ef6c0dd7f02f37a756b 100644 (file)
@@ -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() {
index f0694e7ed9a01b267351b9fbb6e41d856533bf14..dd30ccf5b5503a4169d1ffc46cdf5e208bf8bae3 100644 (file)
@@ -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() {
index a28cdc16dcc1f75f35ca919b17085226a3819d68..da689ce9ff4639085f2b636b4f1c694bcdd0f61a 100644 (file)
@@ -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() {