[PATCH saem_ref] [pkg] use new import path for cubicweb-seda

Philippe Pepiot philippe.pepiot at logilab.fr
Fri Feb 24 11:00:27 CET 2017


# HG changeset patch
# User Philippe Pepiot <philippe.pepiot at logilab.fr>
# Date 1487930142 -3600
#      Fri Feb 24 10:55:42 2017 +0100
# Node ID 7e9aca4d08ef63873707041c5db2af823ebcceda
# Parent  c3194697a71904e757bc8153302457325e25c199
# Available At https://hg.logilab.org/review/cubes/saem_ref
#              hg pull https://hg.logilab.org/review/cubes/saem_ref -r 7e9aca4d08ef
# Tested at: https://jenkins.logilab.org/job/cubicweb-saem_ref/100/
[pkg] use new import path for cubicweb-seda

diff --git a/cubicweb_saem_ref/entities/seda.py b/cubicweb_saem_ref/entities/seda.py
--- a/cubicweb_saem_ref/entities/seda.py
+++ b/cubicweb_saem_ref/entities/seda.py
@@ -23,9 +23,9 @@ from cubicweb.predicates import is_insta
 from cubes.compound.entities import IClonableAdapter
 from cubes.oaipmh import MetadataFormat
 from cubes.oaipmh.entities import OAISetSpec
-from cubes.seda.entities.custom import SEDAArchiveTransfer
-from cubes.seda.entities.profile_generation import SEDA1XSDExport
-from cubes.seda.views import export
+from cubicweb_seda.entities.custom import SEDAArchiveTransfer
+from cubicweb_seda.entities.profile_generation import SEDA1XSDExport
+from cubicweb_seda.views import export
 
 from .. import cwuri_url
 from . import oai
diff --git a/cubicweb_saem_ref/migration/0.13.0_Any.py b/cubicweb_saem_ref/migration/0.13.0_Any.py
--- a/cubicweb_saem_ref/migration/0.13.0_Any.py
+++ b/cubicweb_saem_ref/migration/0.13.0_Any.py
@@ -1,4 +1,4 @@
-from cubes.seda.dataimport import LCSV_FILES
+from cubicweb_seda.dataimport import LCSV_FILES
 from cubes.saem_ref import workflows
 
 for etype in ('SEDAProfile', 'ProfileDocument', 'ProfileArchiveObject'):
diff --git a/cubicweb_saem_ref/schema.py b/cubicweb_saem_ref/schema.py
--- a/cubicweb_saem_ref/schema.py
+++ b/cubicweb_saem_ref/schema.py
@@ -27,8 +27,8 @@ from cubicweb.schemas.base import Extern
 
 from cubes.skos.schema import ConceptScheme
 from cubicweb_eac.schema import AuthorityRecord, NameEntry
-from cubes.seda.schema import simplified_profile
-from cubes.seda.schema.seda2 import SEDAArchiveTransfer
+from cubicweb_seda.schema import simplified_profile
+from cubicweb_seda.schema.seda2 import SEDAArchiveTransfer
 
 from . import PERMISSIONS_GRAPHS, optional_relations, mandatory_rdefs
 
diff --git a/cubicweb_saem_ref/site_cubicweb.py b/cubicweb_saem_ref/site_cubicweb.py
--- a/cubicweb_saem_ref/site_cubicweb.py
+++ b/cubicweb_saem_ref/site_cubicweb.py
@@ -29,7 +29,7 @@ from cubicweb.web import request
 
 from cubes.skos import rdfio
 from cubes.skos.ccplugin import ImportSkosData
-from cubes.seda import dataimport as seda
+from cubicweb_seda import dataimport as seda
 
 from . import permanent_url, _massive_store_factory, _nohook_store_factory
 
diff --git a/cubicweb_saem_ref/views/__init__.py b/cubicweb_saem_ref/views/__init__.py
--- a/cubicweb_saem_ref/views/__init__.py
+++ b/cubicweb_saem_ref/views/__init__.py
@@ -33,7 +33,7 @@ from cubicweb.web import component, form
 from cubicweb.web.views import basecomponents, uicfg, urlrewrite, tabs, primary
 
 from cubes.squareui.views.basetemplates import basetemplates
-from cubes.seda.views import dropdown_button, has_rel_perm, widgets as sedawidgets
+from cubicweb_seda.views import dropdown_button, has_rel_perm, widgets as sedawidgets
 
 from .. import cwuri_url
 
diff --git a/cubicweb_saem_ref/views/clone.py b/cubicweb_saem_ref/views/clone.py
--- a/cubicweb_saem_ref/views/clone.py
+++ b/cubicweb_saem_ref/views/clone.py
@@ -26,7 +26,7 @@ from cubicweb.web import component
 from cubicweb.web.views import editforms
 
 from cubes.compound.views import CloneAction
-from cubes.seda.views.simplified import simplified_afs, simplified_pvs
+from cubicweb_seda.views.simplified import simplified_afs, simplified_pvs
 
 
 # hide default relation components for 'new_version_of' rtype
diff --git a/cubicweb_saem_ref/views/seda.py b/cubicweb_saem_ref/views/seda.py
--- a/cubicweb_saem_ref/views/seda.py
+++ b/cubicweb_saem_ref/views/seda.py
@@ -19,7 +19,7 @@ from cubicweb.predicates import (is_inst
                                  has_related_entities, relation_possible)
 from cubicweb.web.views import basecomponents, baseviews, ibreadcrumbs, uicfg
 
-from cubes.seda.views.simplified import simplified_afs, simplified_pvs
+from cubicweb_seda.views.simplified import simplified_afs, simplified_pvs
 
 
 # primary view configuration #######################################################################
diff --git a/test/test_seda.py b/test/test_seda.py
--- a/test/test_seda.py
+++ b/test/test_seda.py
@@ -19,7 +19,7 @@ import unittest
 
 from cubicweb.devtools.testlib import CubicWebTC
 
-from cubes.seda.entities.profile_generation import SEDA1XSDExport
+from cubicweb_seda.entities.profile_generation import SEDA1XSDExport
 
 from cubicweb_saem_ref.entities import seda  # noqa - trigger monkey-patch
 



More information about the saem-devel mailing list