git: db9484283630 - main - science/py-sarpy: Add py-sarpy 1.3.58

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 06:19:36 UTC
The branch main has been updated by sunpoet:

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

commit db9484283630f298a43ce509281e6a20ac1769a2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:14:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:11:20 +0000

    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.
---
 science/Makefile           |  1 +
 science/py-sarpy/Makefile  | 24 ++++++++++++++++++++++++
 science/py-sarpy/distinfo  |  3 +++
 science/py-sarpy/pkg-descr |  6 ++++++
 4 files changed, 34 insertions(+)

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.