On Tue, Sep 28, 2010 at 1:30 PM, Dmitry Pryanishnikov <lynx.r...@gmail.com> wrote: > Hello! > > I'm trying to install Python additional ports (e.g. www/py-httplib2) > for different Python versions (2.6 and 3.1) in the same system using > the portmaster. Those packages (py26-httplib2 vs py31-httplib2) do not > conflict (they may be used simultaneously, don't overwrite each > other's files etc.). But they have single origin, which seems to > confuse the portmaster: > > PYTHON_VERSION=python2.6 portmaster www/py-httplib2 > ... > ===>>> Installation of www/py-httplib2 (py26-httplib2-0.6.0) complete > > Then > > PYTHON_VERSION=python3.1 portmaster www/py-httplib2 > ... > ===>>> Upgrade of py26-httplib2-0.6.0 to py31-httplib2-0.6.0 complete > > So portmaster thinks that it's an upgrade, and removes py26-httplib2, > which is not correct - I want to keep both packages: > > py26-httplib2-0.6.0 A comprehensive HTTP client library > py31-httplib2-0.6.0 A comprehensive HTTP client library > > Am I missing some portmaster's tunable, or it just doesn't support > such ports yet? > The simplest way to solve this problem is for you to create a www/py26-httplib2 port:
md /usr/ports/www/py26-httplib2 then create /usr/ports/www/py26-httplib2/Makefile with these contents: # Local Ports Makefile for: py26-httplib2 PYTHON_VERSION=python2.6 MASTERDIR= ${.CURDIR}/../py-httplib2 .include "${MASTERDIR}/Makefile" Finally, deinstall your py26-httplib2 install, and re-install from www/py26-httplib2. Scot _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"