git: 4595401094a8 - main - devel/py-flatbuffers: Update to 1.12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:43:52 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4595401094a8aa403b71c28cf882be605d4070a4
commit 4595401094a8aa403b71c28cf882be605d4070a4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 12:59:38 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:36:54 +0000
devel/py-flatbuffers: Update to 1.12
- Update version requirement of RUN_DEPENDS
- Update pkg-descr
Changes: https://github.com/google/flatbuffers/releases
---
devel/py-flatbuffers/Makefile | 18 ++++++++----------
devel/py-flatbuffers/distinfo | 6 +++---
devel/py-flatbuffers/pkg-descr | 6 ++++++
3 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/devel/py-flatbuffers/Makefile b/devel/py-flatbuffers/Makefile
index 2a30b85d678d..bdf206f70a28 100644
--- a/devel/py-flatbuffers/Makefile
+++ b/devel/py-flatbuffers/Makefile
@@ -1,5 +1,5 @@
PORTNAME= flatbuffers
-PORTVERSION= 1.11
+PORTVERSION= 1.12
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -8,20 +8,18 @@ MAINTAINER= sunpoet@FreeBSD.org
COMMENT= FlatBuffers serialization format for Python
LICENSE= APACHE20
-#LICENSE_FILE= Not packaged in PyPI sdist
-USES= cpe python:3.6+
+USES= cpe python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+MAKE_ENV= VERSION=${PORTVERSION}
+NO_ARCH= yes
+
CPE_VENDOR= google
-USE_PYTHON= autoplist distutils
OPTIONS_DEFINE= NUMPY
-
NUMPY_DESC= Support scalar vectors as numpy arrays
-NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
-
-MAKE_ENV+= VERSION=${PORTVERSION}
-
-NO_ARCH= yes
+NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
.include <bsd.port.mk>
diff --git a/devel/py-flatbuffers/distinfo b/devel/py-flatbuffers/distinfo
index 3597359f0c32..92dda806a407 100644
--- a/devel/py-flatbuffers/distinfo
+++ b/devel/py-flatbuffers/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1559472952
-SHA256 (flatbuffers-1.11.tar.gz) = f24185db54193540e3d684dc98aa7c2d89882341641548ceb36fd2589fef6c4e
-SIZE (flatbuffers-1.11.tar.gz) = 10711
+TIMESTAMP = 1647264530
+SHA256 (flatbuffers-1.12.tar.gz) = 63bb9a722d5e373701913e226135b28a6f6ac200d5cc7b4d919fa38d73b44610
+SIZE (flatbuffers-1.12.tar.gz) = 11286
diff --git a/devel/py-flatbuffers/pkg-descr b/devel/py-flatbuffers/pkg-descr
index eca252df1355..b134916d621d 100644
--- a/devel/py-flatbuffers/pkg-descr
+++ b/devel/py-flatbuffers/pkg-descr
@@ -1,3 +1,9 @@
+FlatBuffers is a cross platform serialization library architected for maximum
+memory efficiency. It allows you to directly access serialized data without
+parsing/unpacking it first, while still having great forwards/backwards
+compatibility.
+
Python runtime library for use with the Flatbuffers serialization format.
WWW: https://google.github.io/flatbuffers/
+WWW: https://github.com/google/flatbuffers