git: 2cb1f5b416be - main - devel/py-fields: New port: Totally different take on container boilerplate

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 05 Feb 2023 21:04:28 UTC
The branch main has been updated by yuri:

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

commit 2cb1f5b416bed820cacef03f7a4d80328fcd8105
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-05 21:03:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-05 21:04:13 +0000

    devel/py-fields: New port: Totally different take on container boilerplate
---
 devel/Makefile            |  1 +
 devel/py-fields/Makefile  | 19 +++++++++++++++++++
 devel/py-fields/distinfo  |  3 +++
 devel/py-fields/pkg-descr |  1 +
 4 files changed, 24 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index e1d1e785f8bf..54381f4d2dad 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4563,6 +4563,7 @@
     SUBDIR += py-fastnumbers
     SUBDIR += py-fastprogress
     SUBDIR += py-fbprophet
+    SUBDIR += py-fields
     SUBDIR += py-filebytes
     SUBDIR += py-filedepot
     SUBDIR += py-filemagic
diff --git a/devel/py-fields/Makefile b/devel/py-fields/Makefile
new file mode 100644
index 000000000000..d262dcab3ee9
--- /dev/null
+++ b/devel/py-fields/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	fields
+PORTVERSION=	5.0.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Totally different take on container boilerplate
+WWW=		https://github.com/ionelmc/python-fields
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.6+
+USE_PYTHON=	distutils autoplist pytest # tests fail to run, see https://github.com/ionelmc/python-fields/issues/9
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-fields/distinfo b/devel/py-fields/distinfo
new file mode 100644
index 000000000000..aaaf95f00d7d
--- /dev/null
+++ b/devel/py-fields/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1675629458
+SHA256 (fields-5.0.0.tar.gz) = 31d4aa03d8d44e35df13c431de35136997f047a924a597d84f7bc209e1be5727
+SIZE (fields-5.0.0.tar.gz) = 36232
diff --git a/devel/py-fields/pkg-descr b/devel/py-fields/pkg-descr
new file mode 100644
index 000000000000..824e09d29e13
--- /dev/null
+++ b/devel/py-fields/pkg-descr
@@ -0,0 +1 @@
+python-fields is a totally different take on container boilerplate.