#48994: py-bob @2.0.5 New release --------------------------------+---------------------- Reporter: tiagofrepereira@… | Owner: devans@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: py-bob | --------------------------------+---------------------- Changes (by devans@…): * owner: macports-tickets@… => devans@… * status: new => assigned Comment: As mentioned in my ticket #46465, I've dowloaded your submitted ports and have begun testing. First let me thank you for porting the new bob to MacPorts. It's truly a monumental amount of work! I've run into a few issues, however, some stylistic and some more substantial. Minor issues: * port names contain '.'. MacPorts common usage is to use '-' instead to separate name components. * the port group python sets some parameters for you particularly categories and dependencies. In particular, the port group sets the primary category to python and adds a depends_lib for the appropriate python version. Normal practice is to use categories-append and depends_lib-append to append any additional categories and dependencies that my be required. In particular, you are overriding python as the primary category with science. MacPorts practice is that all python ports should be in the python category. So you should just append your additional categories. Note also that the name of the containing directory for all your ports should be the same as the primary category (python). * you use 'revision 0' throughout. This is the default value so it is common practice to avoid explicitly setting the revision to 0 and only add the revision statement when incrementing the revision. If the version number is incremented the revision is reset to 0 and any revision statement removed. * currently there is an effort underway to add support, if possible, for python35. If your ports are compatible with python35 and the appropriate dependencies exist in MacPorts you might want to add this to your python.versions statement. None of the above are show stoppers so I went ahead and attempted to build py-bob. The first dependency py-bob.blitz failed during configuration due to a missing dependency on boost so that needs to be added. Note also that boost has different variants depending on which version of python was used to build its python libraries. Default is boost +python27. MacPorts doesn't allow you to specify a dependency by variant so you should probably check to ensure that the proper variant of boost is installed depending on your ports' python version. This can be done by using the active_variants port group as follows: {{{ PortGroup active_variants 1.1 ... require_active_variants port:boost python${python.version} }}} This will perform a check during dependency checking at the beginning of the configure phase to determine if the installed version of boost uses the specified variant and will fail with an appropriate message to the user if not. So that's where I am right now. Since I'm the one that asked for these ports, I'm taking ownership of this ticket and will commit these ports for you when the various issues are resolved and they build without error. Thanks again for your help in contributing your significant software package to MacPorts. Let me know if you have any questions. Dave -- Ticket URL: <https://trac.macports.org/ticket/48994#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X