Revision: 133278 https://trac.macports.org/changeset/133278 Author: adfernandes@macports.org Date: 2015-02-24 10:15:27 -0800 (Tue, 24 Feb 2015) Log Message: ----------- py-protobuf-c/cpp/java: Synchronized update to 2.6.1. All tests pass. Maintainer timeout. Closes #44804. Modified Paths: -------------- trunk/dports/devel/protobuf-c/Portfile trunk/dports/devel/protobuf-cpp/Portfile trunk/dports/devel/protobuf-java/Portfile trunk/dports/python/py-protobuf/Portfile Removed Paths: ------------- trunk/dports/python/py-protobuf/files/ Modified: trunk/dports/devel/protobuf-c/Portfile =================================================================== --- trunk/dports/devel/protobuf-c/Portfile 2015-02-24 18:12:37 UTC (rev 133277) +++ trunk/dports/devel/protobuf-c/Portfile 2015-02-24 18:15:27 UTC (rev 133278) @@ -1,9 +1,10 @@ # $Id$ PortSystem 1.0 +PortGroup github 1.0 name protobuf-c -version 0.15 +version 1.1.0 categories devel license Apache-2 maintainers landonf openmaintainer @@ -17,12 +18,11 @@ version 1.0 is released. -homepage http://code.google.com/p/protobuf-c/ -master_sites googlecode +homepage https://github.com/protobuf-c/protobuf-c +master_sites https://github.com/protobuf-c/protobuf-c/releases/download/v${version} -checksums md5 73ff0c8df50d2eee75269ad8f8c07dc8 \ - sha1 4fbd93f492c52154713de1951c0a2133ddd43abb \ - rmd160 50319bba2b173aafb96dd1fe70550d378e69f871 +checksums sha1 20bfcf3663ae56b125a5bfc3b4dca8c7f0ef1e48 \ + sha256 9a973fc04aac003f9cf2b5a90ac4b8fa294cacb4e3f0796d3b5a789a5ad46c07 platforms darwin Modified: trunk/dports/devel/protobuf-cpp/Portfile =================================================================== --- trunk/dports/devel/protobuf-cpp/Portfile 2015-02-24 18:12:37 UTC (rev 133277) +++ trunk/dports/devel/protobuf-cpp/Portfile 2015-02-24 18:15:27 UTC (rev 133278) @@ -2,9 +2,10 @@ # $Id$ PortSystem 1.0 +PortGroup github 1.0 name protobuf-cpp -version 2.5.0 +version 2.6.1 categories devel maintainers blair license BSD @@ -27,13 +28,14 @@ logical record of information, containing a series of \ name-value pairs. -homepage http://code.google.com/p/protobuf/ -master_sites googlecode:protobuf +homepage https://github.com/google/protobuf +master_sites https://github.com/google/protobuf/releases/download/v${version} +distfiles protobuf-${version}.tar.bz2 +worksrcdir protobuf-${version} -distname protobuf-${version} use_bzip2 yes -checksums sha1 62c10dcdac4b69cc8c6bb19f73db40c264cb2726 \ - sha256 13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 +checksums sha1 6421ee86d8fb4e39f21f56991daa892a3e8d314b \ + sha256 ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910 platforms darwin @@ -47,7 +49,7 @@ xinstall -d -m 755 ${docdir} - foreach f {CHANGES.txt CONTRIBUTORS.txt COPYING.txt INSTALL.txt README.txt examples} { + foreach f {CHANGES.txt CONTRIBUTORS.txt LICENSE INSTALL.txt README.md examples editors} { file copy ${worksrcpath}/${f} ${docdir} } } Modified: trunk/dports/devel/protobuf-java/Portfile =================================================================== --- trunk/dports/devel/protobuf-java/Portfile 2015-02-24 18:12:37 UTC (rev 133277) +++ trunk/dports/devel/protobuf-java/Portfile 2015-02-24 18:15:27 UTC (rev 133278) @@ -1,9 +1,10 @@ # $Id$ PortSystem 1.0 +PortGroup github 1.0 name protobuf-java -version 2.5.0 +version 2.6.1 categories devel maintainers blair license BSD @@ -26,18 +27,18 @@ logical record of information, containing a series of \ name-value pairs. -homepage http://code.google.com/p/protobuf/ -master_sites googlecode:protobuf +homepage https://github.com/google/protobuf +master_sites https://github.com/google/protobuf/releases/download/v${version} +distfiles protobuf-${version}.tar.bz2 +worksrcdir protobuf-${version} -distname protobuf-${version} -dist_subdir protobuf-cpp use_bzip2 yes -checksums sha1 62c10dcdac4b69cc8c6bb19f73db40c264cb2726 \ - sha256 13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 +checksums sha1 6421ee86d8fb4e39f21f56991daa892a3e8d314b \ + sha256 ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910 platforms darwin -depends_lib port:protobuf-cpp +depends_lib port:zlib port:protobuf-cpp depends_build port:apache-ant worksrcdir ${worksrcdir}/java Modified: trunk/dports/python/py-protobuf/Portfile =================================================================== --- trunk/dports/python/py-protobuf/Portfile 2015-02-24 18:12:37 UTC (rev 133277) +++ trunk/dports/python/py-protobuf/Portfile 2015-02-24 18:15:27 UTC (rev 133278) @@ -2,9 +2,10 @@ PortSystem 1.0 PortGroup python 1.0 +PortGroup github 1.0 name py-protobuf -version 2.5.0 +version 2.6.1 revision 1 categories-append devel maintainers blair @@ -28,14 +29,14 @@ logical record of information, containing a series of \ name-value pairs. -homepage http://code.google.com/p/protobuf/ -master_sites googlecode:protobuf +homepage https://github.com/google/protobuf +master_sites https://github.com/google/protobuf/releases/download/v${version} +distfiles protobuf-${version}.tar.bz2 +worksrcdir protobuf-${version} -distname protobuf-${version} -dist_subdir protobuf-cpp use_bzip2 yes -checksums sha1 62c10dcdac4b69cc8c6bb19f73db40c264cb2726 \ - sha256 13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 +checksums sha1 6421ee86d8fb4e39f21f56991daa892a3e8d314b \ + sha256 ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910 platforms darwin @@ -47,22 +48,9 @@ worksrcdir ${worksrcdir}/python - patchfiles patch-python-except-clause-compatibility.diff + destroot.cmd-append --cpp_implementation - # PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp is disabled until - # this bug [1] is fixed. Better to ensure that the Python - # protobuf bindings slowly and properly encode and decode data - # then quickly fail ;) - # - # [1] http://code.google.com/p/protobuf/issues/detail?id=503 - - # build.env PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp - build.cmd-append build_ext -I${prefix}/include - - # destroot.env PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp - test.run yes - # test.env PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp test.cmd "${python.bin} setup.py" - test.target test + test.target test --cpp_implementation }