git: ae5c2c20fc3b - main - devel/py-packaging21: Add py-packaging21 21.3 (copied from py-packaging)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:04:39 UTC
The branch main has been updated by sunpoet:

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

commit ae5c2c20fc3bdf57609996fd3adec581cfa93778
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:20:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:58:46 +0000

    devel/py-packaging21: Add py-packaging21 21.3 (copied from py-packaging)
    
    - Add PORTSCOUT
---
 devel/Makefile                 |  1 +
 devel/py-packaging21/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-packaging21/distinfo  |  3 +++
 devel/py-packaging21/pkg-descr |  1 +
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index e8e54e018fa7..7608273bf87f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4972,6 +4972,7 @@
     SUBDIR += py-ovsdbapp
     SUBDIR += py-p4python
     SUBDIR += py-packaging
+    SUBDIR += py-packaging21
     SUBDIR += py-parallax
     SUBDIR += py-param
     SUBDIR += py-parameterized
diff --git a/devel/py-packaging21/Makefile b/devel/py-packaging21/Makefile
new file mode 100644
index 000000000000..fa9328e86b4f
--- /dev/null
+++ b/devel/py-packaging21/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	packaging
+PORTVERSION=	21.3
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	21
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Core utilities for Python packages
+WWW=		https://github.com/pypa/packaging
+
+LICENSE=	APACHE20 BSD2CLAUSE
+LICENSE_COMB=	dual
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.APACHE
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.BSD
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.2:devel/py-pyparsing@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^21\.
+
+.include <bsd.port.mk>
diff --git a/devel/py-packaging21/distinfo b/devel/py-packaging21/distinfo
new file mode 100644
index 000000000000..a32e6955f8ec
--- /dev/null
+++ b/devel/py-packaging21/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1637519884
+SHA256 (packaging-21.3.tar.gz) = dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb
+SIZE (packaging-21.3.tar.gz) = 84848
diff --git a/devel/py-packaging21/pkg-descr b/devel/py-packaging21/pkg-descr
new file mode 100644
index 000000000000..afa17674462c
--- /dev/null
+++ b/devel/py-packaging21/pkg-descr
@@ -0,0 +1 @@
+packaging provides core utilities for Python packages.