aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-05 05:14:13 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-09-05 06:11:20 +0000
commitdb9484283630f298a43ce509281e6a20ac1769a2 (patch)
treec2a23cecd5720171df38cc4f05d8e73f5f1199cf
parentb520fe44586012d234134d46101608318182fb0a (diff)
science/py-sarpy: Add py-sarpy 1.3.58
SarPy is a basic Python library to read, write, and do simple processing of complex SAR data using the NGA SICD format (standards linked below). It has been released by NGA to encourage the use of SAR data standards throughout the international SAR community. SarPy complements the SIX library (C++) and the MATLAB SAR Toolbox, which are implemented in other languages but have similar goals.
-rw-r--r--science/Makefile1
-rw-r--r--science/py-sarpy/Makefile24
-rw-r--r--science/py-sarpy/distinfo3
-rw-r--r--science/py-sarpy/pkg-descr6
4 files changed, 34 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile
index 01ee51c6684c..733014a88c7b 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -420,6 +420,7 @@
SUBDIR += py-rmf
SUBDIR += py-rmsd
SUBDIR += py-ruffus
+ SUBDIR += py-sarpy
SUBDIR += py-scikit-fuzzy
SUBDIR += py-scikit-learn
SUBDIR += py-scikit-optimize
diff --git a/science/py-sarpy/Makefile b/science/py-sarpy/Makefile
new file mode 100644
index 000000000000..f1af957cc781
--- /dev/null
+++ b/science/py-sarpy/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= sarpy
+PORTVERSION= 1.3.58
+CATEGORIES= science python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Read, write and process complex SAR and other associated data
+WWW= https://github.com/ngageoint/sarpy
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.11.0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=0:science/py-scipy@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/science/py-sarpy/distinfo b/science/py-sarpy/distinfo
new file mode 100644
index 000000000000..c3d45548c850
--- /dev/null
+++ b/science/py-sarpy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724084488
+SHA256 (sarpy-1.3.58.tar.gz) = 4086ca9d0e9808e55b917cb9618511a2e7ef1150cc38cc30293e18766a1c0f93
+SIZE (sarpy-1.3.58.tar.gz) = 1279174
diff --git a/science/py-sarpy/pkg-descr b/science/py-sarpy/pkg-descr
new file mode 100644
index 000000000000..2ffdaafcfc92
--- /dev/null
+++ b/science/py-sarpy/pkg-descr
@@ -0,0 +1,6 @@
+SarPy is a basic Python library to read, write, and do simple processing of
+complex SAR data using the NGA SICD format (standards linked below). It has been
+released by NGA to encourage the use of SAR data standards throughout the
+international SAR community. SarPy complements the SIX library (C++) and the
+MATLAB SAR Toolbox, which are implemented in other languages but have similar
+goals.