git: f2c9189cb9fc - main - dns/py-tldextract: Add missing dependency

From: Dan Langille <dvl_at_FreeBSD.org>
Date: Wed, 15 Jun 2022 13:43:07 UTC
The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f2c9189cb9fcfaa450904f49fb64f81eee2c5503

commit f2c9189cb9fcfaa450904f49fb64f81eee2c5503
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2022-06-15 13:41:34 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2022-06-15 13:41:34 +0000

    dns/py-tldextract: Add missing dependency
    
    Add sysutils/py-filelock as RUN_DEPENDS
    Add LICENSE_FILE
    
    Reported by:    sunpoet
---
 dns/py-tldextract/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dns/py-tldextract/Makefile b/dns/py-tldextract/Makefile
index b520db5c4f37..cc36797dc4a4 100644
--- a/dns/py-tldextract/Makefile
+++ b/dns/py-tldextract/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	tldextract
 PORTVERSION=	3.3.0
+PORTREVISION=	1
 CATEGORIES=	dns python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,13 +11,15 @@ MAINTAINER=	dvl@FreeBSD.org
 COMMENT=	Separate the TLD from the registered domain and subdomains of a URL
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}idna>=2.0:dns/py-idna@${PY_FLAVOR} \
 	        ${PYTHON_PKGNAMEPREFIX}requests>=2.1.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests-file>=1.4:www/py-requests-file@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}requests-file>=1.4:www/py-requests-file@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}filelock>0:sysutils/py-filelock@${PY_FLAVOR}
 
-USES=	python:3.6+
+USES=	python:3.7+
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes