diff options
author | adam <adam@pkgsrc.org> | 2019-11-28 06:24:29 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-11-28 06:24:29 +0000 |
commit | c662fd7aaa7ed7a5723b8def988c4d8124e5e7c0 (patch) | |
tree | c0b401ec925207ded5ace312e64234c9fbe7317b /geography | |
parent | c851a5ca86e83a94e1fbc5f80c7ac46af5c7d234 (diff) | |
download | pkgsrc-c662fd7aaa7ed7a5723b8def988c4d8124e5e7c0.tar.gz |
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.
Diffstat (limited to 'geography')
-rw-r--r-- | geography/py-country/Makefile | 6 | ||||
-rw-r--r-- | geography/py-country/PLIST | 25 | ||||
-rw-r--r-- | geography/py-country/distinfo | 10 |
3 files changed, 33 insertions, 8 deletions
diff --git a/geography/py-country/Makefile b/geography/py-country/Makefile index e9d0af8e461..a80f5c8d367 100644 --- a/geography/py-country/Makefile +++ b/geography/py-country/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2019/05/31 12:37:04 adam Exp $ +# $NetBSD: Makefile,v 1.6 2019/11/28 06:24:29 adam Exp $ -DISTNAME= pycountry-18.12.8 +DISTNAME= pycountry-19.8.18 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} CATEGORIES= geography python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycountry/} @@ -14,6 +14,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= # none +PYTHON_VERSIONS_INCOMPATIBLE= 27 + do-test: cd ${WRKSRC}/src/pycountry/tests && pytest-${PYVERSSUFFIX} diff --git a/geography/py-country/PLIST b/geography/py-country/PLIST index eff241d6dc8..b70fd7efb96 100644 --- a/geography/py-country/PLIST +++ b/geography/py-country/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2019/05/31 12:37:04 adam Exp $ +@comment $NetBSD: PLIST,v 1.5 2019/11/28 06:24:29 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -13,6 +13,7 @@ ${PYSITELIB}/pycountry/databases/iso3166-2.json ${PYSITELIB}/pycountry/databases/iso3166-3.json ${PYSITELIB}/pycountry/databases/iso4217.json ${PYSITELIB}/pycountry/databases/iso639-3.json +${PYSITELIB}/pycountry/databases/iso639-5.json ${PYSITELIB}/pycountry/db.py ${PYSITELIB}/pycountry/db.pyc ${PYSITELIB}/pycountry/db.pyo @@ -35,6 +36,7 @@ ${PYSITELIB}/pycountry/locales/ar/LC_MESSAGES/iso15924.mo ${PYSITELIB}/pycountry/locales/ar/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/ar/LC_MESSAGES/iso3166-3.mo ${PYSITELIB}/pycountry/locales/ar/LC_MESSAGES/iso3166.mo +${PYSITELIB}/pycountry/locales/ar/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/ar/LC_MESSAGES/iso639-3.mo ${PYSITELIB}/pycountry/locales/ar/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/as/LC_MESSAGES/iso3166-1.mo @@ -61,6 +63,7 @@ ${PYSITELIB}/pycountry/locales/be/LC_MESSAGES/iso3166-2.mo ${PYSITELIB}/pycountry/locales/be/LC_MESSAGES/iso3166-3.mo ${PYSITELIB}/pycountry/locales/be/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/be/LC_MESSAGES/iso4217.mo +${PYSITELIB}/pycountry/locales/be/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/bg/LC_MESSAGES/iso15924.mo ${PYSITELIB}/pycountry/locales/bg/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/bg/LC_MESSAGES/iso3166-2.mo @@ -142,6 +145,7 @@ ${PYSITELIB}/pycountry/locales/da/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/da/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/da/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/da/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/da/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/da/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/de/LC_MESSAGES/iso15924.mo ${PYSITELIB}/pycountry/locales/de/LC_MESSAGES/iso3166-1.mo @@ -151,6 +155,7 @@ ${PYSITELIB}/pycountry/locales/de/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/de/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/de/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/de/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/de/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/de/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/dv/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/dz/LC_MESSAGES/iso3166-1.mo @@ -165,6 +170,7 @@ ${PYSITELIB}/pycountry/locales/el/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/el/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/el/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/el/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/el/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/el/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/en/LC_MESSAGES/iso3166-2.mo ${PYSITELIB}/pycountry/locales/en/LC_MESSAGES/iso3166_2.mo @@ -192,6 +198,7 @@ ${PYSITELIB}/pycountry/locales/et/LC_MESSAGES/iso3166-3.mo ${PYSITELIB}/pycountry/locales/et/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/et/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/et/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/et/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/et/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/eu/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/eu/LC_MESSAGES/iso3166-2.mo @@ -227,6 +234,7 @@ ${PYSITELIB}/pycountry/locales/fr/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/fr/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/fr/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/fr/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/fr/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/fr/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/frp/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/fur/LC_MESSAGES/iso3166-1.mo @@ -264,6 +272,7 @@ ${PYSITELIB}/pycountry/locales/haw/LC_MESSAGES/iso3166-3.mo ${PYSITELIB}/pycountry/locales/haw/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/he/LC_MESSAGES/iso15924.mo ${PYSITELIB}/pycountry/locales/he/LC_MESSAGES/iso3166-1.mo +${PYSITELIB}/pycountry/locales/he/LC_MESSAGES/iso3166-2.mo ${PYSITELIB}/pycountry/locales/he/LC_MESSAGES/iso3166-3.mo ${PYSITELIB}/pycountry/locales/he/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/he/LC_MESSAGES/iso639-3.mo @@ -288,6 +297,7 @@ ${PYSITELIB}/pycountry/locales/hu/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/hu/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/hu/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/hu/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/hu/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/hu/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/hy/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/hy/LC_MESSAGES/iso3166-3.mo @@ -304,6 +314,7 @@ ${PYSITELIB}/pycountry/locales/id/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/id/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/id/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/id/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/id/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/id/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/io/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/is/LC_MESSAGES/iso15924.mo @@ -313,6 +324,7 @@ ${PYSITELIB}/pycountry/locales/is/LC_MESSAGES/iso3166-3.mo ${PYSITELIB}/pycountry/locales/is/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/is/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/is/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/is/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/is/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/it/LC_MESSAGES/iso15924.mo ${PYSITELIB}/pycountry/locales/it/LC_MESSAGES/iso3166-1.mo @@ -322,6 +334,7 @@ ${PYSITELIB}/pycountry/locales/it/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/it/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/it/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/it/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/it/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/it/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/iu/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/ja/LC_MESSAGES/iso15924.mo @@ -436,6 +449,8 @@ ${PYSITELIB}/pycountry/locales/nb/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/nb/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/nb/LC_MESSAGES/iso639-3.mo ${PYSITELIB}/pycountry/locales/nb/LC_MESSAGES/iso639_3.mo +${PYSITELIB}/pycountry/locales/nb_NO/LC_MESSAGES/iso3166-2.mo +${PYSITELIB}/pycountry/locales/nb_NO/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/ne/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/ne/LC_MESSAGES/iso3166-3.mo ${PYSITELIB}/pycountry/locales/ne/LC_MESSAGES/iso3166.mo @@ -447,6 +462,7 @@ ${PYSITELIB}/pycountry/locales/nl/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/nl/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/nl/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/nl/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/nl/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/nl/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/nn/LC_MESSAGES/iso15924.mo ${PYSITELIB}/pycountry/locales/nn/LC_MESSAGES/iso3166-1.mo @@ -492,6 +508,7 @@ ${PYSITELIB}/pycountry/locales/pl/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/pl/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/pl/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/pl/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/pl/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/pl/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/ps/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/ps/LC_MESSAGES/iso3166-3.mo @@ -540,6 +557,7 @@ ${PYSITELIB}/pycountry/locales/sc/LC_MESSAGES/iso3166-2.mo ${PYSITELIB}/pycountry/locales/sc/LC_MESSAGES/iso3166-3.mo ${PYSITELIB}/pycountry/locales/sc/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/sc/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/sc/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/sd/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/si/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/si/LC_MESSAGES/iso3166-3.mo @@ -577,6 +595,7 @@ ${PYSITELIB}/pycountry/locales/sr/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/sr/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/sr/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/sr/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/sr/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/sr/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/sr@latin/LC_MESSAGES/iso15924.mo ${PYSITELIB}/pycountry/locales/sr@latin/LC_MESSAGES/iso3166-1.mo @@ -586,6 +605,7 @@ ${PYSITELIB}/pycountry/locales/sr@latin/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/sr@latin/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/sr@latin/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/sr@latin/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/sr@latin/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/sr@latin/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/sv/LC_MESSAGES/iso15924.mo ${PYSITELIB}/pycountry/locales/sv/LC_MESSAGES/iso3166-1.mo @@ -595,6 +615,7 @@ ${PYSITELIB}/pycountry/locales/sv/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/sv/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/sv/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/sv/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/sv/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/sv/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/sw/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/sw/LC_MESSAGES/iso3166-3.mo @@ -663,6 +684,7 @@ ${PYSITELIB}/pycountry/locales/uk/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/uk/LC_MESSAGES/iso3166_2.mo ${PYSITELIB}/pycountry/locales/uk/LC_MESSAGES/iso4217.mo ${PYSITELIB}/pycountry/locales/uk/LC_MESSAGES/iso639-3.mo +${PYSITELIB}/pycountry/locales/uk/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/uk/LC_MESSAGES/iso639_3.mo ${PYSITELIB}/pycountry/locales/ur/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/uz/LC_MESSAGES/iso3166-1.mo @@ -715,6 +737,7 @@ ${PYSITELIB}/pycountry/locales/zh_HK/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/zh_HK/LC_MESSAGES/iso3166-3.mo ${PYSITELIB}/pycountry/locales/zh_HK/LC_MESSAGES/iso3166.mo ${PYSITELIB}/pycountry/locales/zh_HK/LC_MESSAGES/iso4217.mo +${PYSITELIB}/pycountry/locales/zh_Hant/LC_MESSAGES/iso639-5.mo ${PYSITELIB}/pycountry/locales/zh_TW/LC_MESSAGES/iso15924.mo ${PYSITELIB}/pycountry/locales/zh_TW/LC_MESSAGES/iso3166-1.mo ${PYSITELIB}/pycountry/locales/zh_TW/LC_MESSAGES/iso3166-2.mo diff --git a/geography/py-country/distinfo b/geography/py-country/distinfo index a2464cf99b7..0f3c9f68a74 100644 --- a/geography/py-country/distinfo +++ b/geography/py-country/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2019/05/31 12:37:04 adam Exp $ +$NetBSD: distinfo,v 1.6 2019/11/28 06:24:29 adam Exp $ -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 +SHA1 (pycountry-19.8.18.tar.gz) = e31b27737cd7c76fe1606bc86a3df30e91762b3f +RMD160 (pycountry-19.8.18.tar.gz) = 0e9482df019b54a8d9fb0b5acf5a6c41b23b2a47 +SHA512 (pycountry-19.8.18.tar.gz) = 39ba06629eeea55460424d06992ca5f1e5bf6168b219dc4880ec326f6aa0c92a4fdc54d4143a8b8bb1490149af793e760e291c6d704104a57ba91e88228ab669 +Size (pycountry-19.8.18.tar.gz) = 10003160 bytes |