svn commit: r567605 - in head/graphics: . py-pandana
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Mar 7 22:09:47 UTC 2021
Author: sunpoet
Date: Sun Mar 7 22:09:42 2021
New Revision: 567605
URL: https://svnweb.freebsd.org/changeset/ports/567605
Log:
Add py-pandana 0.6
Pandana is a Python library for network analysis that uses contraction
hierarchies to calculate super-fast travel accessibility metrics and shortest
paths. The numerical code is in C++.
WWW: https://udst.github.io/pandana/
WWW: https://github.com/UDST/pandana
Added:
head/graphics/py-pandana/
head/graphics/py-pandana/Makefile (contents, props changed)
head/graphics/py-pandana/distinfo (contents, props changed)
head/graphics/py-pandana/pkg-descr (contents, props changed)
Modified:
head/graphics/Makefile
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Sun Mar 7 22:09:35 2021 (r567604)
+++ head/graphics/Makefile Sun Mar 7 22:09:42 2021 (r567605)
@@ -851,6 +851,7 @@
SUBDIR += py-openimageio
SUBDIR += py-openshadinglanguage
SUBDIR += py-osmnet
+ SUBDIR += py-pandana
SUBDIR += py-photocollage
SUBDIR += py-piexif
SUBDIR += py-pillow
Added: head/graphics/py-pandana/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/py-pandana/Makefile Sun Mar 7 22:09:42 2021 (r567605)
@@ -0,0 +1,32 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pandana
+PORTVERSION= 0.6
+CATEGORIES= graphics python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Python library for network analysis
+
+LICENSE= AGPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.25.2:lang/cython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=1.8,1:math/py-numpy@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.8,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=0.17,1:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.18:science/py-scikit-learn@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tables>=3.1<3.7:devel/py-tables@${PY_FLAVOR}
+
+USES= compiler:c++11-lang python:3.7+
+USE_PYTHON= autoplist concurrent cython distutils
+
+CFLAGS+= -DNO_TR1_MEMORY
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pandana/cyaccess.so
+
+.include <bsd.port.mk>
Added: head/graphics/py-pandana/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/py-pandana/distinfo Sun Mar 7 22:09:42 2021 (r567605)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1614794178
+SHA256 (pandana-0.6.tar.gz) = 2166974da455d5217a7a248af1f34a94a4b895fc6cc85c2b0002431eccef532a
+SIZE (pandana-0.6.tar.gz) = 410810
Added: head/graphics/py-pandana/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/py-pandana/pkg-descr Sun Mar 7 22:09:42 2021 (r567605)
@@ -0,0 +1,6 @@
+Pandana is a Python library for network analysis that uses contraction
+hierarchies to calculate super-fast travel accessibility metrics and shortest
+paths. The numerical code is in C++.
+
+WWW: https://udst.github.io/pandana/
+WWW: https://github.com/UDST/pandana
More information about the svn-ports-all
mailing list