[MacPorts] #47125: port submission: py-pkykde4
#47125: port submission: py-pkykde4 -------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: py-pykde4 -------------------------+-------------------------------- It's taken me a while, but here is port:py-pykde4, finally. It installs PyKDE4 for Python versions 2.7 and 3.2-3.4 . Some examples are included in the project, and I'll be uploading a real-world example later today. I tried to make this depend on the Python portgroup, but it turned out too cumbersome to reset the configure and build settings to appropriate values. Tested on OS X 10.9 with Qt 4.8.6 (installed in "concurrent" mode) and KDE 4.14.5 . -- Ticket URL: <https://trac.macports.org/ticket/47125> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pkykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Comment (by rjvbertin@…): Aargh, could someone please change the title to "port submission: py- pykde4" ?? -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Comment (by larryv@…): Don’t bother with Python 3.2 and 3.3, which are deprecated. -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Comment (by nicos@…): Nice work getting this one to compile. I never could get past some of the errors. There are some small syntax issues in the Portfile, though. Just in case, it is also possible to use the command "port lint" to automatically detect several of them. - Openmaintainer should not be used alone. It should be either nomaintainer, or $NAME openmaintainer. Do you intend to take maintainership? - Homepage is required. - This may not be that important, especially as the patches were borrowed from another platform, but from their name, several of them should not be needed as we intentionally do not support certain python versions. I wonder if it would be worth cleaning them up, but I did not look it up in details yet. -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Comment (by rjvbertin@…): It was not the easiest project to get to build and function, no :) - There appears to be no real homepage, so I picked a page that seems to be the best alternative to one. - the python3.3.diff patch appears to be unnecessary, indeed. The other one (kubuntu*3.2support.diff) actually concerns all Python versions starting with 3.2, so that one we'll want to leave in... I've also added a -docs subport as an additional dependency for the +docs variants. Since there's no Python-version-specific documentation the +docs variants would install the same documentation, which would be overkill if it were possible. -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Comment (by larryv@…): Replying to [comment:4 rjvbertin@…]:
I've also added a -docs subport as an additional dependency for the +docs variants.
There’s no reason to keep the +docs variants around if they just add a new dependency. -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Comment (by rjvbertin@…): True, but they're provided by the kde4 PortGroup ... they can't be undefined, right? -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Comment (by nicos@…): The docs subport seems overkill to me. It complicates the Portfile, and does not change the additional dependency. The only thing it provides is the ability to build the documentation independently from the main port, which is not really needed. Why not using the variant directly? -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Comment (by rjvbertin@…): I guess I didn't realise one could fine-tune the behaviour of a variant defined in the PortGroup (can one?!)... -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Comment (by nicos@…): In principle, it should be possible to modify the requirements, such as by using "depends_build-delete", but it did not seem to work in this case, for a reason I don't really get. If you have a reason to keep the subport, I'll take a final look at the port before committing it. -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#47125: port submission: py-pykde4 --------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: py-pykde4 | --------------------------+-------------------------------- Changes (by nicos@…): * status: new => closed * resolution: => fixed Comment: Port committed in r135592. -- Ticket URL: <https://trac.macports.org/ticket/47125#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts