[repoapi] move get_repository function into a new repoapi module
This new module aims to host the function of the new API replacing the old
DBAPI. `get_repository` is still needed hence moved to the new module.
Related to #2503918
Source: %(distname)s
Section: web
Priority: optional
Maintainer: %(author)s <%(author-email)s>
Build-Depends: debhelper (>= 7), python (>= 2.6), python-support
Standards-Version: 3.9.3
XS-Python-Version: >= 2.6
Package: %(distname)s
Architecture: all
Depends: cubicweb-common (>= %(version)s), ${python:Depends}
Description: %(shortdesc)s
CubicWeb is a semantic web application framework.
.
%(longdesc)s
.
This package will install all the components you need to run the
%(distname)s application (cube :)..