aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-11-05 10:18:04 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-11-05 10:23:36 +0000
commit2c0c0ef0bd5bf9a5ce03900124a9991580a8044f (patch)
treeaafb2e32cbe35912b73129a1af80aef2956b3d86
parent118735f0b2f37faa6300af04e8b0f412a1d21253 (diff)
science/py-pysal: Add py-pysal 25.7
PySAL, the Python spatial analysis library, is an open source cross-platform library for geospatial data science with an emphasis on geospatial vector data written in Python. It supports the development of high level applications for spatial analysis, such as - detection of spatial clusters, hot-spots, and outliers - construction of graphs from spatial data - spatial regression and statistical modeling on geographically embedded networks - spatial econometrics - exploratory spatio-temporal data analysis
-rw-r--r--MOVED1
-rw-r--r--science/Makefile1
-rw-r--r--science/py-pysal/Makefile62
-rw-r--r--science/py-pysal/distinfo3
-rw-r--r--science/py-pysal/pkg-descr10
5 files changed, 76 insertions, 1 deletions
diff --git a/MOVED b/MOVED
index 17433a23f2da..c15bbcf0fb44 100644
--- a/MOVED
+++ b/MOVED
@@ -4493,7 +4493,6 @@ games/hedgewars-server||2025-06-04|Depends on expired lang/ghc810, does not buil
lang/ghc810||2025-06-04|Old version, unsupported upstream
audio/mp3check||2025-06-06|Has expired: Depends on expired audio/id3tool
audio/id3tool||2025-06-06|Has expired: Can't read ID3v2 tags which have been around for 20+ years and discontinued in 2005 feature-wise according to readme file
-science/py-pysal||2025-06-06|Has expired: Depends on expired math/py-spvcm
textproc/xincluder||2025-06-06|Has expired: Depends on expiring java/jdom
math/py-spvcm||2025-06-06|Has expired: Upstream repository has been archived on Jul 9, 2024
sysutils/screen50|sysutils/screen|2025-06-09|Replace the screen metaport with screen50, renaming screen50 to screen
diff --git a/science/Makefile b/science/Makefile
index 3462aaf49dd6..3e8dbded3d60 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -418,6 +418,7 @@
SUBDIR += py-pyphot
SUBDIR += py-pyprecice
SUBDIR += py-pyqubo
+ SUBDIR += py-pysal
SUBDIR += py-pyscf
SUBDIR += py-pyteomics
SUBDIR += py-qcelemental
diff --git a/science/py-pysal/Makefile b/science/py-pysal/Makefile
new file mode 100644
index 000000000000..8b1a1cf157ea
--- /dev/null
+++ b/science/py-pysal/Makefile
@@ -0,0 +1,62 @@
+PORTNAME= pysal
+PORTVERSION= 25.7
+CATEGORIES= science python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Meta Package for PySAL - A library of spatial analysis functions
+WWW= https://pysal.org/pysal/ \
+ https://github.com/pysal/pysal
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}access>=1.1.9:science/py-access@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.10:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}esda>=2.7.1:science/py-esda@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}geopandas>=0.10.0:graphics/py-geopandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}giddy>=2.3.6:graphics/py-giddy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}inequality>=1.1.2:science/py-inequality@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}libpysal>=4.13.0:science/py-libpysal@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mapclassify>=2.10.0:graphics/py-mapclassify@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mgwr>=2.2.1:graphics/py-mgwr@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}momepy>=0.10.0:graphics/py-momepy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=1.22,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>=22:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=1.4:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.0.2:devel/py-platformdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pointpats>=2.5.1:graphics/py-pointpats@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.27:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.1:science/py-scikit-learn@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scipy>=1.8,1:science/py-scipy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}segregation>=2.5.2:science/py-segregation@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}shapely>=2.0.1:devel/py-shapely@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}spaghetti>=1.7.6:science/py-spaghetti@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}spglm>=1.1.0:math/py-spglm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}spint>=1.0.7:math/py-spint@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}splot>=1.1.7:math/py-splot@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}spopt>=0.7.0:math/py-spopt@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}spreg>=1.8.3:math/py-spreg@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tobler>=0.12.1:science/py-tobler@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= PLUS
+PLUS_DESC= Extra features
+
+PLUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}joblib>=1.2:devel/py-joblib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}networkx>=2.7,2:math/py-networkx@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numba>=0.55:devel/py-numba@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyarrow>=7.0:databases/py-pyarrow@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=2.0:databases/py-sqlalchemy20@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xarray>=2022.3:devel/py-xarray@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}zstd>=0:archivers/py-zstd@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/science/py-pysal/distinfo b/science/py-pysal/distinfo
new file mode 100644
index 000000000000..8dfb4ce03b7d
--- /dev/null
+++ b/science/py-pysal/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1755202412
+SHA256 (pysal-25.7.tar.gz) = ca1452a1d57811cbc4708002a38ece6fe58b8597f966b310731e2e4014ddf21b
+SIZE (pysal-25.7.tar.gz) = 5454676
diff --git a/science/py-pysal/pkg-descr b/science/py-pysal/pkg-descr
new file mode 100644
index 000000000000..be3e218a7ef0
--- /dev/null
+++ b/science/py-pysal/pkg-descr
@@ -0,0 +1,10 @@
+PySAL, the Python spatial analysis library, is an open source cross-platform
+library for geospatial data science with an emphasis on geospatial vector data
+written in Python. It supports the development of high level applications for
+spatial analysis, such as
+- detection of spatial clusters, hot-spots, and outliers
+- construction of graphs from spatial data
+- spatial regression and statistical modeling on geographically embedded
+ networks
+- spatial econometrics
+- exploratory spatio-temporal data analysis