#36488: bob: update to 1.1.0 --------------------------------+--------------------------------- Reporter: andre.dos.anjos@… | Owner: ryandesign@… Type: update | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch maintainer Port: bob | --------------------------------+--------------------------------- Comment (by ryandesign@…): Replying to [comment:2 andre.dos.anjos@…]:
Thanks. I have attached the diff file. Note I have also just updated the Portfile. Looking at it I saw it referred to an non-existing tag at github.
Yes, you had set the version number to "1.1.0c0" before but the actual version number appears to be "1.1.0". Before, "port livecheck" would print "bob seems to have been updated (port version: 1.1.0c0, new version: 1.1.0)"; now it prints nothing, thus correctly indicating that the port is up to date. I removed the "name" line since the "github.setup" procedure sets it for you. Installing the port produced an error message: {{{ Error: bob: Error executing python27: invalid command name "port:py27-numpy" }}} There was a blackslash missing after the py-distribute dependencies in the python variants. Remember to test your portfile before submitting it. (In the Terminal, "cd" to the directory containing your modified portfile, then type "sudo port install" (without specifying a port name).) I slightly adjusted the variant descriptions to make them read more like checkbox or radio button labels. The checksums did not match: {{{ ---> Checksumming bob-1.1.0.tar.gz Error: Checksum (rmd160) mismatch for bob-1.1.0.tar.gz Portfile checksum: bob-1.1.0.tar.gz rmd160 8d6696bac29896e99760ecbcc4984725e5676920 Distfile checksum: bob-1.1.0.tar.gz rmd160 488fadd37b5f1c7047035d791e21863d5d258b9c Error: Checksum (sha256) mismatch for bob-1.1.0.tar.gz Portfile checksum: bob-1.1.0.tar.gz sha256 1cf7e20e6bb4e1fe96f1abdab909dc1df6c916db4eadc2ef3d356c53422a4366 Distfile checksum: bob-1.1.0.tar.gz sha256 dcdd59727185d4df85d68e644cc8f2ce6d9e9132cab3a7d8a0b981b0d7eb926a }}} I updated the portfile checksums to match the actual distfile. cmake configuration failed with: {{{ CMake Error at /opt/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find PYTHON_sphinx (missing: PYTHON_SPHINX) }}} I moved the py-sphinx dependencies from the doc variant into the python variants. Then the build failed with: {{{ CMake Error at /opt/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could NOT find PYTHON_matplotlib (missing: PYTHON_MATPLOTLIB) }}} py27-matplotlib is already declared as a dependency and is installed so this confuses me. I'm attaching my new diff for now and then I'll continue to investigate. -- Ticket URL: <https://trac.macports.org/ticket/36488#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS