aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 12:59:38 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 13:36:54 +0000
commit4595401094a8aa403b71c28cf882be605d4070a4 (patch)
treed8e25a5a9245d1f5f136699fb9889671b7512bbe
parent45b2bf8922a58051ae2a741e4b0469e19d0ee7d9 (diff)
downloadports-4595401094a8aa403b71c28cf882be605d4070a4.tar.gz
ports-4595401094a8aa403b71c28cf882be605d4070a4.zip
devel/py-flatbuffers: Update to 1.12
- Update version requirement of RUN_DEPENDS - Update pkg-descr Changes: https://github.com/google/flatbuffers/releases
-rw-r--r--devel/py-flatbuffers/Makefile18
-rw-r--r--devel/py-flatbuffers/distinfo6
-rw-r--r--devel/py-flatbuffers/pkg-descr6
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