On Sun, 03 Jul 2016 14:37:55 +0200, David Coppa <[email protected]> wrote:
> Il 3 luglio 2016 13:32:10 CEST, Daniel Jakots <[email protected]> ha > scritto: > >On Sun, 03 Jul 2016 13:17:10 +0200, Solène RAPENNE <[email protected]> > >wrote: > > > >> Stuart Henderson writes: > >> > >> > What happens if you do this? > >> > > >> > $ python2.7 > >> > Python 2.7.11 (default, Jun 8 2016, 15:24:44) > >> > [GCC 4.2.1 20070719 ] on openbsd6 > >> > Type "help", "copyright", "credits" or "license" for more > >> > information. > >> >>>> import configobj > >> >>>> > >> > > >> > ? > >> > > >> > (Also check pkg_info | grep py-configobj, but it should be there > >> > because it's a dependency of puddletag..) > >> > >> I see py-configobj in my pkg_info outputs but I can't import > >configobj > >> in python console > >> > >> > >> solene@T400:~% python2.7 > >> Python 2.7.11 (default, Jun 29 2016, 14:27:37) > >> [GCC 4.2.1 20070719 ] on openbsd6 > >> Type "help", "copyright", "credits" or "license" for more > >information. > >> >>> import configobj > >> Traceback (most recent call last): > >> File "<stdin>", line 1, in <module> > >> File "/usr/local/lib/python2.7/site-packages/configobj.py", line > >> 22, in <module> import six > >> ImportError: No module named six > >> > > > >$ grep > >req /usr/ports/pobj/py-configobj-5.0.6/configobj-5.0.6/setup.py > > install_requires=['six'], > > > >I checked with Solène, pkg_add py-six solves her problem. > > > >Index: Makefile > >=================================================================== > >RCS file: /cvs/ports/devel/py-configobj/Makefile,v > >retrieving revision 1.13 > >diff -u -p -r1.13 Makefile > >--- Makefile 6 Jan 2016 16:23:47 -0000 1.13 > >+++ Makefile 3 Jul 2016 11:29:07 -0000 > >@@ -5,6 +5,7 @@ COMMENT= config file reader and writer > > MODPY_EGG_VERSION = 5.0.6 > > DISTNAME= configobj-${MODPY_EGG_VERSION} > > PKGNAME= py-${DISTNAME} > >+REVISION= 0 > > > > CATEGORIES= devel > > > >@@ -16,6 +17,8 @@ PERMIT_PACKAGE_CDROM= Yes > > MODULES= lang/python > > > > MODPY_PI= Yes > >+ > >+RUN_DEPENDS= devel/py-six${MODPY_FLAVOR} > > > > NO_TEST= Yes > > > > Ok dcoppa@ It's in. Thanks!
