py-django-phonenumber-field: updated to 7.3.0

7.3.0

Add support for Django 5.0
Document phone number extension handling
Make PhoneNumberPrefixSelect use the provided region
Update Italian locale


7.2.0

BREAKING: Add a DB converter for the model field, fixing values_list() of PhoneNumberFields
Use public attributes and methods from phonenumbers
Remove zip_safe flag from setup.cfg
feat: Add mypy to CI
Drop support for Python 3.7
Show support for Python 3.11
Add support for Python 3.12


7.1.0

Update Norwegian translations
Drop support for Django 4.0, add Django 4.2

Miscellaneous

Update python and Django matrix
Add common virtualenv locations to flake8 exclude and .gitignore
Document E164 lack of support for phone extensions
Strip trailing line from beautifulsoup prettify output
This commit is contained in:
adam 2024-02-08 14:41:41 +00:00
parent 8f2301585c
commit bbab672da7
3 changed files with 36 additions and 29 deletions

View File

@ -1,33 +1,25 @@
# $NetBSD: Makefile,v 1.5 2023/09/28 22:31:07 joerg Exp $
# $NetBSD: Makefile,v 1.6 2024/02/08 14:41:41 adam Exp $
DISTNAME= django-phonenumber-field-4.0.0
DISTNAME= django-phonenumber-field-7.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_GITHUB:=stefanfoulis/}
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-phonenumber-field/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/stefanfoulis/django-phonenumber-field
COMMENT= Django library for managing phone numbers
LICENSE= mit
GITHUB_PROJECT= django-phonenumber-field
GITHUB_TAG= ${PKGVERSION_NOREV}
DEPENDS+= ${PYPKGPREFIX}-babel-[0-9]*:../../devel/py-babel
DEPENDS+= ${PYPKGPREFIX}-django>=3:../../www/py-django3
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=42:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4:../../devel/py-setuptools_scm
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-django>=3.2:../../www/py-django
# phonenumbers
DEPENDS+= ${PYPKGPREFIX}-phonenumbers>=7.0.2:../../textproc/py-phonenumbers
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
post-extract:
chmod -R g-w ${WRKSRC}
PYTHON_VERSIONS_INCOMPATIBLE= 27
do-test:
cd ${WRKSRC} && ${PREFIX}/bin/coverage-${PYVERSSUFFIX} run -m django test --settings=tests.settings
.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"

View File

@ -1,18 +1,22 @@
@comment $NetBSD: PLIST,v 1.1 2020/08/04 00:31:23 joerg Exp $
${PYSITELIB}/django_phonenumber_field-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO
${PYSITELIB}/django_phonenumber_field-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
${PYSITELIB}/django_phonenumber_field-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
${PYSITELIB}/django_phonenumber_field-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/not-zip-safe
${PYSITELIB}/django_phonenumber_field-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/requires.txt
${PYSITELIB}/django_phonenumber_field-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/top_level.txt
@comment $NetBSD: PLIST,v 1.2 2024/02/08 14:41:41 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/phonenumber_field/__init__.py
${PYSITELIB}/phonenumber_field/__init__.pyc
${PYSITELIB}/phonenumber_field/__init__.pyo
${PYSITELIB}/phonenumber_field/formfields.py
${PYSITELIB}/phonenumber_field/formfields.pyc
${PYSITELIB}/phonenumber_field/formfields.pyo
${PYSITELIB}/phonenumber_field/locale/ar/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/ar/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/az/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/az/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/bg/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/bg/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/bn/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/bn/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/cs/LC_MESSAGES/django.mo
@ -25,6 +29,10 @@ ${PYSITELIB}/phonenumber_field/locale/eo/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/eo/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/es/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/es/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/es_AR/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/es_AR/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/fa/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/fa/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/fi/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/fi/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/fr/LC_MESSAGES/django.mo
@ -33,10 +41,14 @@ ${PYSITELIB}/phonenumber_field/locale/he/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/he/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/hy/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/hy/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/id/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/id/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/it/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/it/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/ko/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/ko/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/lt/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/lt/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/nb/LC_MESSAGES/django.mo
${PYSITELIB}/phonenumber_field/locale/nb/LC_MESSAGES/django.po
${PYSITELIB}/phonenumber_field/locale/nl/LC_MESSAGES/django.mo
@ -75,6 +87,9 @@ ${PYSITELIB}/phonenumber_field/serializerfields.pyo
${PYSITELIB}/phonenumber_field/validators.py
${PYSITELIB}/phonenumber_field/validators.pyc
${PYSITELIB}/phonenumber_field/validators.pyo
${PYSITELIB}/phonenumber_field/version.py
${PYSITELIB}/phonenumber_field/version.pyc
${PYSITELIB}/phonenumber_field/version.pyo
${PYSITELIB}/phonenumber_field/widgets.py
${PYSITELIB}/phonenumber_field/widgets.pyc
${PYSITELIB}/phonenumber_field/widgets.pyo

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2021/10/26 11:30:32 nia Exp $
$NetBSD: distinfo,v 1.5 2024/02/08 14:41:41 adam Exp $
BLAKE2s (django-phonenumber-field-4.0.0.tar.gz) = a41628257c60b1be5892efe82349345edabac4c866b80fadcd33e227fdfcfe76
SHA512 (django-phonenumber-field-4.0.0.tar.gz) = 0b6a621ff3aa241aeca4eae5eb22f742ddace15d32602161c0829d58dd47c830ea2e351e46f45dda8a80d4bef58324353990eb42aab58e54a5f4457510eb68a0
Size (django-phonenumber-field-4.0.0.tar.gz) = 22016 bytes
BLAKE2s (django-phonenumber-field-7.3.0.tar.gz) = 6886a129efb391fc119de627a918082a63a65f362ad30c3389bec22e7d66e197
SHA512 (django-phonenumber-field-7.3.0.tar.gz) = 8460259cb6adc5a6b968f81d31e8b62681ef8b485a3bd96bd618ca0f599353ceedf337bc2b5eb5db276d982bf88f821369ef1611d160c0071427da28c45bfd8d
Size (django-phonenumber-field-7.3.0.tar.gz) = 43005 bytes