tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Change version number of python built-in module packages



On Tue, Jun 04, 2013 at 12:25:54AM +0000, David Holland wrote:
> On Tue, Jun 04, 2013 at 09:14:10AM +0900, OBATA Akio wrote:
>  > >>The problem is py-Tk's buildlink3.mk:
>  > >>
>  > >>  BUILDLINK_ABI_DEPENDS.pytk+=    ${PYPKGPREFIX}-Tk>=2.7.5nb1
>  > > [...]
>  > > I suggest replacing it, where included, with a plain
>  > >   DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
>  > > line.
>  > 
>  > Yes, it's the fix, and py-Tk/buildlink3.mk must be removed.
>  > 
>  > > Does anyone see a problem with that?
> 
> Does this work for *all* the built-in module packages? Are we sure
> there aren't any that have real buildlink contents?

I checked the PLISTs of the packages that were in the original mail
and they all only contain modules. I'm not sure if you mean any other
packages, but for these it's rather clear that replacing with DEPENDS
should be fine.

# cat databases/py-sqlite3/PLIST 
@comment $NetBSD: PLIST,v 1.2 2011/05/04 11:38:05 obache Exp $
${PYLIB}/lib-dynload/_sqlite3.so
# cat devel/py-curses/PLIST     
@comment $NetBSD: PLIST,v 1.3 2011/05/04 11:38:05 obache Exp $
${PYLIB}/lib-dynload/_curses.so
# cat devel/py-cursespanel/PLIST 
@comment $NetBSD: PLIST,v 1.2 2011/05/04 11:38:05 obache Exp $
${PYLIB}/lib-dynload/_curses_panel.so
# cat devel/py-readline/PLIST 
@comment $NetBSD: PLIST,v 1.2 2011/05/04 11:38:05 obache Exp $
${PYLIB}/lib-dynload/readline.so
# cat textproc/py-expat/PLIST 
@comment $NetBSD: PLIST,v 1.3 2011/05/04 11:38:06 obache Exp $
${PYLIB}/lib-dynload/pyexpat.so
# cat textproc/py-cElementTree/PLIST 
@comment $NetBSD: PLIST,v 1.2 2011/05/04 11:38:05 obache Exp $
${PYLIB}/lib-dynload/_elementtree.so

 Thomas


Home | Main Index | Thread Index | Old Index