[153306] trunk/dports/devel/libphonenumber-cpp

devans at macports.org devans at macports.org
Wed Sep 28 15:45:18 PDT 2016


Revision: 153306
          https://trac.macports.org/changeset/153306
Author:   devans at macports.org
Date:     2016-09-28 15:45:17 -0700 (Wed, 28 Sep 2016)
Log Message:
-----------
libphonenumber-cpp: update to version 7.7.1, remove upstreamed patch.

Modified Paths:
--------------
    trunk/dports/devel/libphonenumber-cpp/Portfile

Removed Paths:
-------------
    trunk/dports/devel/libphonenumber-cpp/files/patch-src-phonenumberutil_test.cc.diff

Modified: trunk/dports/devel/libphonenumber-cpp/Portfile
===================================================================
--- trunk/dports/devel/libphonenumber-cpp/Portfile	2016-09-28 22:35:01 UTC (rev 153305)
+++ trunk/dports/devel/libphonenumber-cpp/Portfile	2016-09-28 22:45:17 UTC (rev 153306)
@@ -7,7 +7,7 @@
 
 cmake.out_of_source yes
 
-github.setup        googlei18n libphonenumber 7.7.0 libphonenumber-
+github.setup        googlei18n libphonenumber 7.7.1 libphonenumber-
 
 name                libphonenumber-cpp
 license             Apache-2
@@ -18,8 +18,8 @@
 categories          devel
 platforms           darwin
 
-checksums           rmd160  395fad895c81ce05df4adfa5a332abfe55843a8b \
-                    sha256  ea66f856f9d9903947e25044c64ee2026185eb432aa1c5b798e54afd4671da38
+checksums           rmd160  8785e39460b3ab4e64492622797e7e388991ead1 \
+                    sha256  a1952cc5b5e485d78ad5fe66903c93f6557d5bd0469bf07dba38d203532955d3
 
 dist_subdir         ${name}/${version}_1
 worksrcdir          ${worksrcdir}/cpp
@@ -35,8 +35,7 @@
     system "/usr/bin/unzip -d ${gtest_dir} ${gtest_dir}/${gtest_archive}"
 }
 
-patchfiles          patch-cpp-CMakeLists.txt.diff \
-                    patch-src-phonenumberutil_test.cc.diff
+patchfiles          patch-cpp-CMakeLists.txt.diff
 
 depends_build-append \
                     port:pkgconfig

Deleted: trunk/dports/devel/libphonenumber-cpp/files/patch-src-phonenumberutil_test.cc.diff
===================================================================
--- trunk/dports/devel/libphonenumber-cpp/files/patch-src-phonenumberutil_test.cc.diff	2016-09-28 22:35:01 UTC (rev 153305)
+++ trunk/dports/devel/libphonenumber-cpp/files/patch-src-phonenumberutil_test.cc.diff	2016-09-28 22:45:17 UTC (rev 153306)
@@ -1,29 +0,0 @@
---- test/phonenumbers/phonenumberutil_test.cc.orig	2016-09-13 15:25:31.000000000 +0900
-+++ test/phonenumbers/phonenumberutil_test.cc	2016-09-13 15:25:50.000000000 +0900
-@@ -1157,7 +1157,7 @@
-   // added before dialing from a mobile phone for regular length numbers, but
-   // not for short numbers.
-   test_number.set_country_code(36);
--  test_number.set_national_number(301234567L);
-+  test_number.set_national_number(301234567ULL);
-   phone_util_.FormatNumberForMobileDialing(
-       test_number, RegionCode::HU(), false, &formatted_number);
-   EXPECT_EQ("06301234567", formatted_number);
-@@ -1176,7 +1176,7 @@
-   // numbers are always output in international format, but short numbers are
-   // in national format.
-   test_number.set_country_code(1);
--  test_number.set_national_number(6502530000L);
-+  test_number.set_national_number(6502530000ULL);
-   phone_util_.FormatNumberForMobileDialing(
-       test_number, RegionCode::US(), false, &formatted_number);
-   EXPECT_EQ("+16502530000", formatted_number);
-@@ -1365,7 +1365,7 @@
- 
-   // A mobile number in Argentina also has an area code.
-   number.set_country_code(54);
--  number.set_national_number(91187654321);
-+  number.set_national_number(91187654321ULL);
-   EXPECT_EQ(3, phone_util_.GetLengthOfGeographicalAreaCode(number));
- 
-   // Google Sydney, which has area code "2".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160928/40d5e087/attachment-0001.html>


More information about the macports-changes mailing list