git: 48947271f601 - main - devel/py-pyscaffold: Add py-pyscaffold 4.2.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:44:23 UTC
The branch main has been updated by sunpoet:

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

commit 48947271f6016500a4cfc241bb557e07a9e07005
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:27:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:10 +0000

    devel/py-pyscaffold: Add py-pyscaffold 4.2.1
    
    PyScaffold is a project generator for bootstrapping high quality Python
    packages, ready to be shared on PyPI and installable via pip. It is easy to use
    and encourages the adoption of the best tools and practices of the Python
    ecosystem, helping you and your team to stay sane, happy and productive. The
    best part? It is stable and has been used by thousands of developers for over
    half a decade!
    
    WWW: https://github.com/pyscaffold/pyscaffold
---
 devel/Makefile                |  1 +
 devel/py-pyscaffold/Makefile  | 33 +++++++++++++++++++++++++++++++++
 devel/py-pyscaffold/distinfo  |  3 +++
 devel/py-pyscaffold/pkg-descr |  8 ++++++++
 4 files changed, 45 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 42eb39e75526..c83b19eda8c7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5079,6 +5079,7 @@
     SUBDIR += py-pyrfc3339
     SUBDIR += py-pyro
     SUBDIR += py-pyrsistent
+    SUBDIR += py-pyscaffold
     SUBDIR += py-pysdl2
     SUBDIR += py-pyshp
     SUBDIR += py-pysimdjson
diff --git a/devel/py-pyscaffold/Makefile b/devel/py-pyscaffold/Makefile
new file mode 100644
index 000000000000..0a62851f0a05
--- /dev/null
+++ b/devel/py-pyscaffold/Makefile
@@ -0,0 +1,33 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	pyscaffold
+PORTVERSION=	4.2.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	PyScaffold-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Template tool for putting up the scaffold of a Python project
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}configupdater>=3.0<4:devel/py-configupdater@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=20.7:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}platformdirs>=2<3:devel/py-platformdirs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=5:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tomlkit>=0.7.0<2:textproc/py-tomlkit@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-pyscaffold/distinfo b/devel/py-pyscaffold/distinfo
new file mode 100644
index 000000000000..2e9a7dae681b
--- /dev/null
+++ b/devel/py-pyscaffold/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1652122531
+SHA256 (PyScaffold-4.2.1.tar.gz) = c8cfa9983503f31b301f4b0bec0a8f41518f9a3a3853471ce94f9f9dc770a3e2
+SIZE (PyScaffold-4.2.1.tar.gz) = 5233297
diff --git a/devel/py-pyscaffold/pkg-descr b/devel/py-pyscaffold/pkg-descr
new file mode 100644
index 000000000000..983f5b77656d
--- /dev/null
+++ b/devel/py-pyscaffold/pkg-descr
@@ -0,0 +1,8 @@
+PyScaffold is a project generator for bootstrapping high quality Python
+packages, ready to be shared on PyPI and installable via pip. It is easy to use
+and encourages the adoption of the best tools and practices of the Python
+ecosystem, helping you and your team to stay sane, happy and productive. The
+best part? It is stable and has been used by thousands of developers for over
+half a decade!
+
+WWW: https://github.com/pyscaffold/pyscaffold