head	1.11;
access;
symbols
	pkgsrc-2026Q1:1.11.0.16
	pkgsrc-2026Q1-base:1.11
	pkgsrc-2025Q4:1.11.0.14
	pkgsrc-2025Q4-base:1.11
	pkgsrc-2025Q3:1.11.0.12
	pkgsrc-2025Q3-base:1.11
	pkgsrc-2025Q2:1.11.0.10
	pkgsrc-2025Q2-base:1.11
	pkgsrc-2025Q1:1.11.0.8
	pkgsrc-2025Q1-base:1.11
	pkgsrc-2024Q4:1.11.0.6
	pkgsrc-2024Q4-base:1.11
	pkgsrc-2024Q3:1.11.0.4
	pkgsrc-2024Q3-base:1.11
	pkgsrc-2024Q2:1.11.0.2
	pkgsrc-2024Q2-base:1.11
	pkgsrc-2024Q1:1.10.0.2
	pkgsrc-2024Q1-base:1.10
	pkgsrc-2023Q4:1.9.0.6
	pkgsrc-2023Q4-base:1.9
	pkgsrc-2023Q3:1.9.0.4
	pkgsrc-2023Q3-base:1.9
	pkgsrc-2023Q2:1.9.0.2
	pkgsrc-2023Q2-base:1.9
	pkgsrc-2023Q1:1.8.0.12
	pkgsrc-2023Q1-base:1.8
	pkgsrc-2022Q4:1.8.0.10
	pkgsrc-2022Q4-base:1.8
	pkgsrc-2022Q3:1.8.0.8
	pkgsrc-2022Q3-base:1.8
	pkgsrc-2022Q2:1.8.0.6
	pkgsrc-2022Q2-base:1.8
	pkgsrc-2022Q1:1.8.0.4
	pkgsrc-2022Q1-base:1.8
	pkgsrc-2021Q4:1.8.0.2
	pkgsrc-2021Q4-base:1.8
	pkgsrc-2021Q3:1.6.0.16
	pkgsrc-2021Q3-base:1.6
	pkgsrc-2021Q2:1.6.0.14
	pkgsrc-2021Q2-base:1.6
	pkgsrc-2021Q1:1.6.0.12
	pkgsrc-2021Q1-base:1.6
	pkgsrc-2020Q4:1.6.0.10
	pkgsrc-2020Q4-base:1.6
	pkgsrc-2020Q3:1.6.0.8
	pkgsrc-2020Q3-base:1.6
	pkgsrc-2020Q2:1.6.0.6
	pkgsrc-2020Q2-base:1.6
	pkgsrc-2020Q1:1.6.0.2
	pkgsrc-2020Q1-base:1.6
	pkgsrc-2019Q4:1.6.0.4
	pkgsrc-2019Q4-base:1.6
	pkgsrc-2019Q3:1.5.0.4
	pkgsrc-2019Q3-base:1.5
	pkgsrc-2019Q2:1.5.0.2
	pkgsrc-2019Q2-base:1.5
	pkgsrc-2019Q1:1.4.0.6
	pkgsrc-2019Q1-base:1.4
	pkgsrc-2018Q4:1.4.0.4
	pkgsrc-2018Q4-base:1.4
	pkgsrc-2018Q3:1.4.0.2
	pkgsrc-2018Q3-base:1.4
	pkgsrc-2018Q2:1.3.0.4
	pkgsrc-2018Q2-base:1.3
	pkgsrc-2018Q1:1.3.0.2
	pkgsrc-2018Q1-base:1.3
	pkgsrc-2017Q4:1.2.0.2
	pkgsrc-2017Q4-base:1.2
	pkgsrc-2017Q3:1.1.0.4
	pkgsrc-2017Q3-base:1.1;
locks; strict;
comment	@# @;


1.11
date	2024.06.14.18.54.20;	author adam;	state Exp;
branches;
next	1.10;
commitid	aZMN4EW8YPuh0ZdF;

1.10
date	2024.02.05.21.35.29;	author adam;	state Exp;
branches;
next	1.9;
commitid	kb6PoBFn50bB4iXE;

1.9
date	2023.04.25.13.09.23;	author adam;	state Exp;
branches;
next	1.8;
commitid	J7Ujmem8OsmQsumE;

1.8
date	2021.10.26.10.45.14;	author nia;	state Exp;
branches;
next	1.7;
commitid	nGGqKjC3EN5BdjeD;

1.7
date	2021.10.07.14.09.30;	author nia;	state Exp;
branches;
next	1.6;
commitid	mDGUL6hZHRQBXSbD;

1.6
date	2019.11.28.06.24.29;	author adam;	state Exp;
branches;
next	1.5;
commitid	wQjHN0jJo3I4dAMB;

1.5
date	2019.05.31.12.37.04;	author adam;	state Exp;
branches;
next	1.4;
commitid	w4pM49SUDnUD5mpB;

1.4
date	2018.07.05.11.39.10;	author adam;	state Exp;
branches;
next	1.3;
commitid	C7WvRA3jTnRtnWIA;

1.3
date	2018.02.27.13.08.03;	author adam;	state Exp;
branches;
next	1.2;
commitid	BPUfMg7JfQb9ZusA;

1.2
date	2017.09.28.05.04.35;	author adam;	state Exp;
branches;
next	1.1;
commitid	TK6h42CWJ3UbcV8A;

1.1
date	2017.08.27.12.27.13;	author adam;	state Exp;
branches;
next	;
commitid	gnpSXhB8KADAFQ4A;


desc
@@


1.11
log
@py-country: updated to 24.6.1

24.6.1 (2024-06-01)
-------------------

- **Breaking change**: Reverted the fallback to name when country common_name
  or official_name attributes not available, which was added in 23.12.11.

- Fixed import of importlib_metadata to importlib.metadata

- Fixed bug causing parent subdivision codes to be returned with additional
  country code preceding (i.e. GB-GB-ENG instead of GB-ENG)

- Update to iso-codes 4.16.0. (Thanks to musicinmybrain!)
@
text
@$NetBSD: distinfo,v 1.10 2024/02/05 21:35:29 adam Exp $

BLAKE2s (pycountry-24.6.1.tar.gz) = fc44f0df0a005f24dac65e3201dab1b3ee684193e112cdff1df1c204b2c94c93
SHA512 (pycountry-24.6.1.tar.gz) = 36d8f68b830d74259a5f9ac1c9c97c1b228b0072613229e6f579ea5af587ab1cd25f0637a2cdd1dbf2ae8225e2aa2958d25f1e6df42d577da821d85c4c49ae93
Size (pycountry-24.6.1.tar.gz) = 6043910 bytes
@


1.10
log
@py-country: updated to 23.12.11

23.12.11 (2023-12-11)
---------------------

- Added fallback to name when common_name or official_name country attributes are missing

- Added support for adding and removing country records, as well as casting to dict

- Improve performance speed by checking for non-ascii chars before removing accents

- Added search_fuzzy method to subdivisions

- Added type hinting, created py.typed file, and added mypy checks to CI


23.12.7 (2023-12-07)
--------------------

- Dropped support for end-of-life Python 3.6 and 3.7.

- Added support for Python 3.11 and Python 3.12.

- Added dependency on importlib-resources for Python 3.8.

- Dropped implicit dependency on setuptools for pkg_resources.
  (Thanks to D3X!)

- Update to iso-codes 4.15.0. (Thanks to alanorth!)

- Removes iso3166.mo files and opts for newer iso3166-1.mo and iso3166-3.mo
  files for Country and Historic Country Translations respectively.

  Warning: This requires an update in your application code when you previously
  used to access the iso3166 gettext data.
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.9 2023/04/25 13:09:23 adam Exp $
d3 3
a5 3
BLAKE2s (pycountry-23.12.11.tar.gz) = fdba0cc3ceb15d6f4a6267bebd4ed22e10421287c1511909f5dd8d9dac0d26a1
SHA512 (pycountry-23.12.11.tar.gz) = 25b5a74c0dd8115473571976a64b6fed7010f62c1b3b4c1888b9e13a7cf4f533173f51d4652d55c426adee4e0ff119bb6e3132d04dce150b9d1ca4b11366c579
Size (pycountry-23.12.11.tar.gz) = 5927399 bytes
@


1.9
log
@py-country: updated to 22.3.5

22.3.5 (2022-03-05)
-------------------

- Update to iso-codes 4.9.0.


22.1.10 (2022-01-10)
--------------------

- Update to iso-codes 4.8.0. (Thanks to llimeht!)


20.7.3 (2020-07-03)
-------------------

- Fix bug 37: (accidental) unconditional pkg_resources import.
  (thanks, crbunney)

20.7.2 (2020-07-02)
-------------------

- Add (auto-generated) __version__ attribute to the main module.

- Add fuzzy search to historic countries.

- Update to iso-codes 4.5.0.

- Clean up the normalization (lower casing) of values in indexes and searches.

- Smaller cleanups and build environment version bumps.

- Python 3-only cleanups and updated Python minor version compatibility
  (thanks, Djailla)

- Remove defunct bugtracker link from README (thanks, jwilk)

- Moved to Git/Github; switched from Bitbucket Pipelines to Travis builds.
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.8 2021/10/26 10:45:14 nia Exp $
d3 3
a5 3
BLAKE2s (pycountry-22.3.5.tar.gz) = db20faaf3bad9e36981aed14236999cc2269826d198a3d30efe2603f8523b73a
SHA512 (pycountry-22.3.5.tar.gz) = 07dc507ee94f1880727761df197f81704386d9246163c9a5872f47083d37c7d1205dfbd28c6663ef0731a0b05277ade03a1a1929ab84087e0e85c05028c68b89
Size (pycountry-22.3.5.tar.gz) = 10141551 bytes
@


1.8
log
@geography: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.7 2021/10/07 14:09:30 nia Exp $
d3 3
a5 3
BLAKE2s (pycountry-19.8.18.tar.gz) = 37a55aa2183eb796b4fafea1c969d29b2802249feee0392efb7b33a781b7b5b7
SHA512 (pycountry-19.8.18.tar.gz) = 39ba06629eeea55460424d06992ca5f1e5bf6168b219dc4880ec326f6aa0c92a4fdc54d4143a8b8bb1490149af793e760e291c6d704104a57ba91e88228ab669
Size (pycountry-19.8.18.tar.gz) = 10003160 bytes
@


1.7
log
@geography: Remove SHA1 hashes for distfiles
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.6 2019/11/28 06:24:29 adam Exp $
d3 1
a3 1
RMD160 (pycountry-19.8.18.tar.gz) = 0e9482df019b54a8d9fb0b5acf5a6c41b23b2a47
@


1.6
log
@py-country: updated to 19.8.18

19.8.18:
- Fix installation on systems that don't have UTF-8
  as default encoding.
- Remove superfluous print debugging output.

19.7.15:
- Update to iso-codes 4.3.
- Add support for ISO 639-5 (Language Families and Groups).
- Drop support for Python 2.
- Add `search_fuzzy()` function to the countries database. This allows
  for dealing with user searches that aren't really aware of ISO 3166 (so,
  like, actual human beings). A bit of character normalization and prioritizing
  matches between multiple criteria allows building somewhat reasonable
  suggestion/autocompletion lists.
  Caveat emptor: no attention has been paid to performance in this feature.
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.5 2019/05/31 12:37:04 adam Exp $
a2 1
SHA1 (pycountry-19.8.18.tar.gz) = e31b27737cd7c76fe1606bc86a3df30e91762b3f
@


1.5
log
@py-country: updated to 18.12.8

18.12.8:
WARNING: This release contains a subtle but important API change that may break integrations!
Looking at 13416 I realized that I made a terrible API design choice with respect to how the get function should behave in Python. Probably under the influence of either too little or too much whiskey I went and implemented get so that it raises a KeyError instead of doing the Pythonic thing and returning None and allowing to customize the default. There was a bit of back-and-forth around this code in previous releases (specifically touching edge cases to have the Subdivision API behave “reasonably”, although there doesn’t seem to be one right way there.)
Anyway, when preparing this release and reviewing 13416 and the other related issues and changes from the past I noticed my mistake an decide to fix it going forward.
So, from now on get will behave as expected in Python and yes, this means you will have to update your integration code carefully now checking for None returns instead of expecting KeyErrors. This is work, but I think it’s worthwhile to uphold this convention within the Python community.

* Switch API from “get + KeyError” to ” get + default=None”. This is a subtle API-breaking change. Please update carefully.
* Update to iso-codes 4.1.
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.4 2018/07/05 11:39:10 adam Exp $
d3 4
a6 4
SHA1 (pycountry-18.12.8.tar.gz) = 5d2fd540cd254f980abf2459b6dcc56741d5303f
RMD160 (pycountry-18.12.8.tar.gz) = 1aef86ce0594ec4f5b5f87cc56cf6c9e8c2be171
SHA512 (pycountry-18.12.8.tar.gz) = 9797688ada8ea54c1a56a2cf4d0ad765001816c822c40077953fa71e3af285114c4b5beaf739a24432b9c6ea794952ce347a40ae0bcd9a2c00d12ddc7b45261e
Size (pycountry-18.12.8.tar.gz) = 10026953 bytes
@


1.4
log
@py-country: updated to 18.5.26

18.5.26:
Fix 13394: incorrect KeyError shadowing in Subdivisions.get()
Fix 13398: make lazy loading thread-safe.

18.5.20:
Update to iso-codes 3.79.
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.3 2018/02/27 13:08:03 adam Exp $
d3 4
a6 4
SHA1 (pycountry-18.5.26.tar.gz) = a9217298215cdcd6535597eeaaec67e78072bc36
RMD160 (pycountry-18.5.26.tar.gz) = 1e329727bebb5aa08feacc3604a4d5e86b164b1b
SHA512 (pycountry-18.5.26.tar.gz) = 9760175a7926347920542a2fd2420cc3d4f36ac11df5aa6f7aaabbd9b46dd9cb61801933133a589ed35fd2e279db2a70e98340d8cf8856987dc88d6fdb715437
Size (pycountry-18.5.26.tar.gz) = 9779056 bytes
@


1.3
log
@py-country: updated to 18.2.23

18.2.23:
Update to iso-codes 3.78.
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.2 2017/09/28 05:04:35 adam Exp $
d3 4
a6 4
SHA1 (pycountry-18.2.23.tar.gz) = c6c7ad095bee3174181debbe8e3a360229bbd323
RMD160 (pycountry-18.2.23.tar.gz) = d2e76c63eb853d1a91d5974dc530353d67ec41d3
SHA512 (pycountry-18.2.23.tar.gz) = 09cccc4a33cfead80140bb79669a9f1cc677bb73faf68ccf07a9ccc1bea95210b681db7815d00731ba276513d3cf160a55e75f97c565307456bca21138ed8dd3
Size (pycountry-18.2.23.tar.gz) = 9692841 bytes
@


1.2
log
@py-country: update to 17.9.23

17.9.23:
- Update to iso-codes 3.76
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.1 2017/08/27 12:27:13 adam Exp $
d3 4
a6 4
SHA1 (pycountry-17.9.23.tar.gz) = ca133fb1d438451ac0f197b079c0c297a604a7a5
RMD160 (pycountry-17.9.23.tar.gz) = 37aa188a36288e13a65330eee91551fa6659f8de
SHA512 (pycountry-17.9.23.tar.gz) = 168e2d2693629a39a85a4c6aa7187323693ca73d6af0cc947d3536ae373eca602e7e3add91ba114966db4ebf52118ef3d6a3dbf8339734ec68682bab559beeb5
Size (pycountry-17.9.23.tar.gz) = 9208478 bytes
@


1.1
log
@PkgSrc: Renamed geography/py-pycountry to geography/py-country

17.5.14:
Update to iso-codes 3.75, which fixes 13389 again. (bad parent codes for GB).
Switch from building on drone.io (discontinued service) to bitbucket’s Pipelines.
Update pytest dependencies to get rid of API warnings.

17.01.08:
Update to iso-codes 3.73, which fixes 13389 (bad parent codes for CZ).

17.01.02:
Return empty lists from the subdivision database if the country exists but does not have any subdivisions. Fixes 13374.
Some typo fixes. Thanks to @@VictorMireyev.
Update to iso-codes-3.72.
@
text
@d1 1
a1 1
$NetBSD: distinfo,v 1.2 2015/11/03 00:08:45 agc Exp $
d3 4
a6 4
SHA1 (pycountry-17.5.14.tar.gz) = 3c4dc1eabb09c771a5193ac18fb7256ef030c215
RMD160 (pycountry-17.5.14.tar.gz) = a915f898d99f4f871ddde7c77f8ff4b7eba6bc59
SHA512 (pycountry-17.5.14.tar.gz) = bf5a13ce128f9512287f09c3edb565a3493bf490e420a01c8a45bbb96cfb2482674e8c81cf4db909a92db647f4ba71d03f4aca51995f6c64e4eb59f5c617bcea
Size (pycountry-17.5.14.tar.gz) = 9203433 bytes
@

