./textproc/py-phonenumbers, Library for formatting, storing and validating phone numbers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.8.3, Package name: py27-phonenumbers-8.8.3, Maintainer: pkgsrc-users

Python version of Google's common library for parsing, formatting, storing and
validating international phone numbers.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 5a39625141749ed0711d1791c72a239f6b740e4c
RMD160: 472e964802a4d29550da6d02815e3af76be31f31
Filesize: 2321.417 KB

Version history: (Expand)


CVS history: (Expand)


   2017-10-07 13:09:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-phonenumbers: update to 8.8.3

8.8.3:
The new release contains mostly metadata changes.
   2017-09-29 14:34:07 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-phonenumbers: update to 8.8.2

v8.8.2
Metadata changes:
 - Updated phone metadata for region code(s):
   CA, CR, EG, FI, HN, IS, KM, KR, LU, MV, PA, TW, UG, US, VN
 - Updated short number metadata for region code(s): IE, IR, KE, TR
 - New geocoding data for country calling code(s): 1223 (en)
 - Updated geocoding data for country calling code(s): 84 (en, vi)
 - Updated carrier data for country calling code(s): 20 (en)
   2017-09-16 21:27:31 by Thomas Klausner | Files touched by this commit (372)
Log message:
Reset maintainer
   2017-01-12 01:52:25 by Blue Rats | Files touched by this commit (3)
Log message:
What's new in 8.0.0

Merge to upstream commit 1eb06f31e1dd; relevant code changes:

    Removing the ability for .._for_region methods in shortnumberinfo.py to work \ 
on strings, as well of phone number objects. These have been marked deprecated \ 
for months. Any users of these methods should call phonenumbers.parse first to \ 
create a PhoneNumber object, and pass this in.
    Support semicolon as extension character while parsing phone numbers. This \ 
is not applicable when you are trying to find the phone numbers.

What's new in 7.7.5

Merge to upstream commit e905483f87cf; relevant code changes:

    Removing all references to possible_number_pattern other than in the \ 
metadata itself.

What's new in 7.7.4

Merge to upstream commit fedbc7020703; code changes:

    GitHub project changes:
        Changed tag to vX.Y.Z from release-X.Y.Z; this may affect ports and \ 
derived projects.
    Metadata structure changes in XML file:
        Mobile and Fixed-Line blocks are no longer assumed to inherit missing \ 
data from the GeneralDesc, but are treated like every other phone number type. \ 
This means that for the non-geographical country codes, like +800, the example \ 
number has been moved from generalDesc to the relevant number types, and the \ 
code in getExampleNumberForNonGeoEntity has been changed to look at these \ 
sub-types for an example number. This also means that the "NA" and \ 
"-1" blocks present in the metadata to indicate that no mobile or \ 
fixed-line numbers appear for the entity have been removed. There should no \ 
longer be an exampleNumber at the generalDesc level, but it should be present at \ 
every PhoneNumberDesc with data.
    Code changes:
        Using new possibleLengthInfo to decide whether a short number is the \ 
right length or not. This could result in more specific results; whereas before, \ 
a number from length 3 to length 6 may have been deemed possible, now we may \ 
exclude a number of length 5.
        Add hash (#) as a diallable character. Numbers with # in them will no \ 
longer have formatting applied in format_n_original_format, and \ 
normalize_diallable_chars_only now retains the # symbol.
        example_number_for_non_geo_entity has been changed to look at the \ 
specific number types, not just the generalDesc, for the example numbers; this \ 
is a necessary change after the metadata structure change detailed above.

What's new in 7.7.3

Merge to upstream commit ad0ce0c94501; code changes:

    Fixed phonemetadata.py not to merge from a NumberFormat's unset bool \ 
national_prefix_optional_when_formatting.

What's new in 7.7.2

Merge to upstream commit 2d0d216f6032; code changes:

    Stop setting empty preferred_domestic_carrier_code, and if we are passed \ 
such a number then treat the empty field as if unset.

What's new in 7.7.1

Merge to upstream commit 8c37310deb49; code changes:

    Switching the internal implementation of is_possible_number and related \ 
functions to use the new possibleLengths metadata. This affects a lot of \ 
countries, making is_possible_number more restrictive as more precise data is \ 
available. It also affects parsing ambiguous and invalid numbers, as we decide \ 
whether to strip a possible national prefix (1) or country code based on the \ 
length of the number and whether it is possible before or after this.
    Formatting, naming and comment tweaks to follow style guide
    Removal of unneeded _can_be_geocoded method in the timezone.py file, using \ 
phonenumberutil.py instead

What's new in 7.7.0

Merge to upstream commit 1ec4d341c3cd; no code changes that affect the Python \ 
version so this is just a version bump to stay in sync with upstream.
What's new in 7.6.1

Merge to upstream commit 7cc500f588db; code changes:

    phonemetadata.py has two more fields to represent possible lengths of phone \ 
numbers. Changed buildmetadatafromxml.py to alter the way that metadata about \ 
possible-lengths information is consumed when constructing metadata to populate \ 
these. Discussion list email

What's new in 7.6.0

Merge to upstream commit ddf60b1c175e; code changes:

    Made is_number_geographical() public and added \ 
is_number_type_geographical(), and changed the geocoder to use this when \ 
checking whether to give a detailed answer or country-level only.

What's new in 7.5.0

Merge to upstream commit 3f83454ed62b; no code changes that affect the Python \ 
version so this is just a version bump to stay in sync with upstream.
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-03-31 03:14:55 by Blue Rats | Files touched by this commit (2) | Package updated
Log message:
Updated to latest release, 7.0.4. No easily-accessible ChangeLog. Assuming
more/better/faster.
   2014-12-03 23:41:10 by Blue Rats | Files touched by this commit (3)
Log message:
====================
 What's new in 7.0.0
====================

Merge to upstream Subversion revision 715; upstream code changelog:
   - New APIs for ShortNumberInfo. The old APIs have been deprecated and will be
     removed in an upcoming release.