-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation impossible of different version of python (or ruby) ports #582
Comments
This is due to the ports tree being a crap, and pkgng having to workaround that, this will be fix soon |
Nice, I'm happy that you take this seriously :-). I think the main problem is that pkgng install packages from their origin instead of pkgname right? |
Nearly correct. pkg queries its database using the PKGORIGIN as search criteria and thus will not behave as wanted. You cannot use PKGNAME, though, since it (at the moment) pulls in the version number, which would cause foo-1.2 and foo-1.3 to be recognized as different ports. Splitting PKGNAME is not an option either as it will complicate things all over the place.
The latter may open another can of worms with the suffix mess, we have right now. foo-nox11 and foo may install conflicting files, so the foo port would need a CONFLICTS entry for its OPTIONized variation, yay! Noone really wants this. I would however prefer the latter, given that the policy for ports is changed likewise: PKGNAMEPREFIX and PKGNAMESUFFIX are ways to indicate that a variation of a port is installed, which does not cause conflicts with other variations using the same PKGORIGIN. The prefix or suffix (or both) must be also used for the DATADIR, EXAMPLESDIR, ... so that variations of a port do not installed shared data into the same place. This also will require some cleanup operations for maintainers, but is inevitable, if you want to have that feature. |
Hello guys, Any news on that issue ? |
The python ports infrastructure now supports 'tagging' ports as being able to be installed concurrently to create conflict-free packages for different python versions: pkg still uses the ORIGIN, though. |
For my pkg 1.3.5.1 installation, antoine provided the following patch to Mk/bsd.pkgng.mk, which works fine for me:
|
it is now possible |
It's not possible to install python modules in 2 different version. For instance, with multiple repositories, I have a repository with all python 2.7 modules and all python 3.3 modules.
Then:
Try to install both:
So I try to install one first:
And then the 2.7 version:
If you want to try my repositories for this use:
http://packages.malikania.fr/FreeBSD/9.1/amd64/python2.7
http://packages.malikania.fr/FreeBSD/9.1/amd64/python3.3
The text was updated successfully, but these errors were encountered: