Hello,
On the website pkg.opendiana.org I entered "pycairo" in Package Search. This results in some packages like : library/python-2/pycairo library/python-2/pycairo-26 library/python/pycairo library/python/pycairo-26 library/python/pycairo-27 library/python/pycairo-34 library/python/pycairo-35 Those are distinct IPS packages not versions of the same IPS package. Without knowing the details of the python Makefile rules, I think the manifests ./pycairo/pycairo-PYVER.p5m ./pycairo/pycairo-GENFRAG.p5m the PYVER is somehow replaced by the Python Version that is targeted. So producing a 37 or 39 package could produce a different package without obsoleting the old package, and perhaps using a "mediator" it is possible to deliver the same file in two different IPS packages. The mediator in this case could be the python mediator ? Unfortunately I'm not familiar with the python build framework, but if you search/grep for mediator, there are many examples. For example grep mediator */*.p5m setuptools/setuptools-PYVER.p5m:link path=usr/bin/easy_install target=easy_install-$(PYVER) mediator=python \ So the symbolic link /usr/bin/easy_install is set to the target easy_install-35 or easy_install-37 or whathever the mediator python indicates. Regards, David Stes ----- Op 2 dec 2021 om 22:03 schreef gary mills [email protected]: > I'm working on upgrading the pycairo package to the latest version, > but I've run into a conflict with the existing version. Specifically, > the conflict is with usr/include/pycairo/py3cairo.h and > usr/lib/pkgconfig/py3cairo.pc, both of which are created by both > versions. The existing version only supports python 3.5. The latest > version supports only 3.7 and 3.9. The latter are required by many > other packages. > > I could solve the conflict by obsoleting the existing pycairo package. > Is this possible? Do I need to retain it? > > If I have to retain it, I'll need the Makefile to publish packages for > python 3.5, 3.7, and 3.9, using both the existing and latest versions > of the source. How do I do that? Is it even possible? I haven't > seen any examples of doing that. > > > -- > -Gary Mills- -refurb- -Winnipeg, Manitoba, Canada- > > _______________________________________________ > oi-dev mailing list > [email protected] > https://openindiana.org/mailman/listinfo/oi-dev _______________________________________________ oi-dev mailing list [email protected] https://openindiana.org/mailman/listinfo/oi-dev
