head	1.10;
access;
symbols
	pkgsrc-2026Q1:1.10.0.2
	pkgsrc-2026Q1-base:1.10
	pkgsrc-2025Q4:1.9.0.6
	pkgsrc-2025Q4-base:1.9
	pkgsrc-2025Q3:1.9.0.4
	pkgsrc-2025Q3-base:1.9
	pkgsrc-2025Q2:1.9.0.2
	pkgsrc-2025Q2-base:1.9
	pkgsrc-2025Q1:1.8.0.4
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.8.0.2
	pkgsrc-2024Q4-base:1.8
	pkgsrc-2024Q3:1.6.0.6
	pkgsrc-2024Q3-base:1.6
	pkgsrc-2024Q2:1.6.0.4
	pkgsrc-2024Q2-base:1.6
	pkgsrc-2024Q1:1.6.0.2
	pkgsrc-2024Q1-base:1.6
	pkgsrc-2023Q4:1.5.0.2
	pkgsrc-2023Q4-base:1.5
	pkgsrc-2023Q3:1.4.0.2
	pkgsrc-2023Q3-base:1.4
	pkgsrc-2023Q2:1.3.0.12
	pkgsrc-2023Q2-base:1.3
	pkgsrc-2023Q1:1.3.0.10
	pkgsrc-2023Q1-base:1.3
	pkgsrc-2022Q4:1.3.0.8
	pkgsrc-2022Q4-base:1.3
	pkgsrc-2022Q3:1.3.0.6
	pkgsrc-2022Q3-base:1.3
	pkgsrc-2022Q2:1.3.0.4
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.3.0.2
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.2.0.12
	pkgsrc-2021Q4-base:1.2
	pkgsrc-2021Q3:1.2.0.10
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.2.0.8
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.6
	pkgsrc-2021Q1-base:1.2
	pkgsrc-2020Q4:1.2.0.4
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.2.0.2
	pkgsrc-2020Q3-base:1.2;
locks; strict;
comment	@# @;


1.10
date	2025.12.26.16.40.40;	author adam;	state Exp;
branches;
next	1.9;
commitid	hPsEgyJpvodpgWnG;

1.9
date	2025.04.14.18.45.20;	author adam;	state Exp;
branches;
next	1.8;
commitid	cXvkWkjNqftlb3RF;

1.8
date	2024.11.26.10.25.55;	author adam;	state Exp;
branches;
next	1.7;
commitid	4ksiJJWllRT0T8zF;

1.7
date	2024.11.11.07.29.19;	author wiz;	state Exp;
branches;
next	1.6;
commitid	1fBDq3LwS98NncxF;

1.6
date	2024.02.08.14.41.41;	author adam;	state Exp;
branches;
next	1.5;
commitid	0dFDjs7W5PNtGDXE;

1.5
date	2023.09.28.22.31.07;	author joerg;	state Exp;
branches;
next	1.4;
commitid	5URbJhIZkCESyAGE;

1.4
date	2023.07.13.10.03.28;	author wiz;	state Exp;
branches;
next	1.3;
commitid	FVBRhonHqK8MTCwE;

1.3
date	2022.01.04.20.55.20;	author wiz;	state Exp;
branches;
next	1.2;
commitid	CYyhdK9qtoffkmnD;

1.2
date	2020.08.16.22.59.50;	author joerg;	state Exp;
branches;
next	1.1;
commitid	EB9HwGYqZLUBilkC;

1.1
date	2020.08.04.00.31.23;	author joerg;	state Exp;
branches;
next	;
commitid	MK8b1dimBSXRdGiC;


desc
@@


1.10
log
@py-django-phonenumber-field: updated to 8.4.0

8.4.0

Handle empty values in SplitPhoneNumberField with max_length
Update supported Python and Django versions
@
text
@# $NetBSD: Makefile,v 1.9 2025/04/14 18:45:20 adam Exp $

DISTNAME=	django_phonenumber_field-8.4.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
CATEGORIES=	www python
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

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=3.4:../../devel/py-setuptools_scm
DEPENDS+=	${PYPKGPREFIX}-django>=4.2:../../www/py-django
# phonenumbers
DEPENDS+=	${PYPKGPREFIX}-phonenumbers>=7.0.2:../../textproc/py-phonenumbers

USE_LANGUAGES=	# none

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.9
log
@py-django-phonenumber-field: updated to 8.1.0

8.1.0

Remove non-geo phone numbers from the SplitPhoneNumberWidget

The phone number prefix field allows to select a world region, and maps to its prefix (e.g. get +33 for France). It was incorrectly offering regions reserved for very specific use and which cannot be mapped to a world region. Example prefixes include 800 (Universal International Freephone Service), 808 (Universal International Shared Cost Number), 870 (Global Mobile Satellite System), and others.
If such a prefix was selected, the field would plainly crash. Since the prefix purpose is to let users select a world region, prevent from selecting non-geo options in the prefix list. Please open an issue if you would like to see this use case supported.

Document how to customize SplitPhoneNumberField fields

Clarify translations context for error messages
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2024/11/26 10:25:55 adam Exp $
d3 1
a3 1
DISTNAME=	django_phonenumber_field-8.1.0
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-django>=3.2:../../www/py-django
@


1.8
log
@py-django-phonenumber-field: updated to 8.0.0

8.0.0

Breaking changes

Remove PhoneNumberInternationalFallbackWidget

Use phonenumber_field.widgets.RegionalPhoneNumberWidget instead.

Move validation from widgets to the form fields

Previously, the widgets were validating the phone number, leaving no room for the django regular validation procedure. If you performed custom validation on PhoneNumberFields, see the migration guide below.

Other changes

Drop support for Django 4.1
docs: Fix representation of serializer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2024/11/11 07:29:19 wiz Exp $
d3 1
a3 1
DISTNAME=	django_phonenumber_field-8.0.0
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=42:../../devel/py-setuptools
@


1.7
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2024/02/08 14:41:41 adam Exp $
d3 2
a4 2
DISTNAME=	django-phonenumber-field-7.3.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
d19 1
a19 3
USE_LANGUAGES=		# none

PYTHON_VERSIONS_INCOMPATIBLE=	27
@


1.6
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/09/28 22:31:07 joerg Exp $
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.5
log
@Fix permissions when building as root
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/07/13 10:03:28 wiz Exp $
d3 1
a3 1
DISTNAME=	django-phonenumber-field-4.0.0
a4 1
PKGREVISION=	2
d6 1
a6 1
MASTER_SITES=	${MASTER_SITE_GITHUB:=stefanfoulis/}
d13 5
a17 5
GITHUB_PROJECT=	django-phonenumber-field
GITHUB_TAG=	${PKGVERSION_NOREV}

DEPENDS+=	${PYPKGPREFIX}-babel-[0-9]*:../../devel/py-babel
DEPENDS+=	${PYPKGPREFIX}-django>=3:../../www/py-django3
a18 3
TEST_DEPENDS+=	${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage

PYTHON_VERSIONS_INCOMPATIBLE=	27
d22 1
a22 5
post-extract:
	chmod -R g-w ${WRKSRC}

do-test:
	cd ${WRKSRC} && ${PREFIX}/bin/coverage-${PYVERSSUFFIX} run -m django test --settings=tests.settings
d24 1
a24 1
.include "../../lang/python/egg.mk"
@


1.4
log
@*: switch django users to py-django3
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/01/04 20:55:20 wiz Exp $
d26 3
@


1.3
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/08/16 22:59:50 joerg Exp $
d5 1
a5 1
PKGREVISION=	1
d18 1
a18 1
DEPENDS+=	${PYPKGPREFIX}-django>=1.11.3:../../www/py-django
@


1.2
log
@Fix package name.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/08/04 00:31:23 joerg Exp $
d5 1
@


1.1
log
@Add py-django-phnumber-field-4.0.0:

django-phonenumber-field is a Django library which interfaces with
python-phonenumbers to validate, pretty print and convert phone numbers.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	django-phnumber-field-4.0.0
@

