1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Add py-spopt 0.1.1

Spatial Optimization

Spopt is an open-source Python library for solving optimization problems with
spatial data. Originating from the region module in PySAL (Python Spatial
Analysis Library), it is under active development for the inclusion of newly
proposed models and methods for regionalization, facility location, and
transportation-oriented solutions.

WWW: https://github.com/pysal/spopt
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-02-03 19:46:13 +00:00
parent 9c63adfa4c
commit 58d021d81f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563910
4 changed files with 43 additions and 0 deletions

View File

@ -859,6 +859,7 @@
SUBDIR += py-spglm
SUBDIR += py-spint
SUBDIR += py-splot
SUBDIR += py-spopt
SUBDIR += py-spot
SUBDIR += py-spreg
SUBDIR += py-spvcm

30
math/py-spopt/Makefile Normal file
View File

@ -0,0 +1,30 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= spopt
PORTVERSION= 0.1.1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Spatial Optimization in PySAL
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}geopandas>=0.7:graphics/py-geopandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}libpysal>=0:science/py-libpysal@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}networkx>=0.1:math/py-networkx@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.3,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>=1,1:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}PuLP>=0:math/py-PuLP@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.22:science/py-scikit-learn@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>=0.11:science/py-scipy@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

3
math/py-spopt/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1612296103
SHA256 (spopt-0.1.1.tar.gz) = da865be634ff8e8c3124797601ae6d1addc9433a59f44a579e846cbe22c6f8fd
SIZE (spopt-0.1.1.tar.gz) = 50147

9
math/py-spopt/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
Spatial Optimization
Spopt is an open-source Python library for solving optimization problems with
spatial data. Originating from the region module in PySAL (Python Spatial
Analysis Library), it is under active development for the inclusion of newly
proposed models and methods for regionalization, facility location, and
transportation-oriented solutions.
WWW: https://github.com/pysal/spopt