[narval] logilab.packaging has been renamed to lgp
authorDavid Douard <david.douard@logilab.fr>
Fri, 24 Jul 2015 15:58:49 +0200
changeset 1828 4dde56c26e53
parent 1827 604c6af48cd6
child 1833 f35b5bf8bdb3
[narval] logilab.packaging has been renamed to lgp
__pkginfo__.py
_narval/checkers/apycot/lgp.py
_narval/checkers/apycot/python.py
_narval/preprocessors/apycot/distutils.py
debian/control
--- a/__pkginfo__.py	Wed May 13 23:16:51 2015 +0200
+++ b/__pkginfo__.py	Fri Jul 24 15:58:49 2015 +0200
@@ -29,7 +29,7 @@
 __recommends__ = {'cubicweb-tracker': None,
                   'cubicweb-nosylist': '>= 0.5.0',
                   'cubicweb-jqplot': '>= 0.1.2',
-                  'logilab-packaging': None,
+                  'logilab-packaging': '>= 1.2.0',
                   'coverage': None,
                   }
 
--- a/_narval/checkers/apycot/lgp.py	Wed May 13 23:16:51 2015 +0200
+++ b/_narval/checkers/apycot/lgp.py	Fri Jul 24 15:58:49 2015 +0200
@@ -5,7 +5,7 @@
 import apycotlib as apycot
 from checkers.apycot import BaseChecker, AbstractFilteredFileChecker
 
-from logilab.packaging.lgp import *
+from lgp import *
 
 class FilePath(object):
     def __init__(self, path, host=None, **kwargs):
--- a/_narval/checkers/apycot/python.py	Wed May 13 23:16:51 2015 +0200
+++ b/_narval/checkers/apycot/python.py	Fri Jul 24 15:58:49 2015 +0200
@@ -45,7 +45,7 @@
         return config['install_path']
     modname = config.get('python_modname')
     if not modname and exists(join(test.tmpdir, test.project_path(), '__pkginfo__.py')):
-        from logilab.packaging.lib.pkginfo import PackageInfo
+        from lgp.lib.pkginfo import PackageInfo
         pkginfo = PackageInfo(directory=test.project_path())
         modname = pkginfo.modname
         distname = pkginfo.distname or modname
--- a/_narval/preprocessors/apycot/distutils.py	Wed May 13 23:16:51 2015 +0200
+++ b/_narval/preprocessors/apycot/distutils.py	Fri Jul 24 15:58:49 2015 +0200
@@ -33,7 +33,7 @@
     if tested_pyversions:
         pyversions = set(splitstrip(tested_pyversions))
     elif config.get('use_pkginfo_python_versions'):
-        from logilab.packaging.lib.pkginfo import PackageInfo
+        from lgp.lib.pkginfo import PackageInfo
         try:
             pkginfodir = dirname(test.environ['pkginfo'])
         except KeyError:
--- a/debian/control	Wed May 13 23:16:51 2015 +0200
+++ b/debian/control	Fri Jul 24 15:58:49 2015 +0200
@@ -42,6 +42,6 @@
 Recommends:
  pylint,
  python-coverage,
- logilab-packaging,
+ python-lgp,
 Description: apycot extensions for the narval agent
  Provides a basic set of Narval checkers for Continuous Integration.