aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordbaio <dbaio@FreeBSD.org>2017-08-30 08:47:59 +0800
committerdbaio <dbaio@FreeBSD.org>2017-08-30 08:47:59 +0800
commitcf475b88deaa486b65865953a0f48c95cbfa48fc (patch)
tree0c790362a24ce84a8bcf225929270a411111b4e4 /devel
parentf866fa54c79b7b89f89273656b3a5de7267f51e9 (diff)
downloadfreebsd-ports-gnome-cf475b88deaa486b65865953a0f48c95cbfa48fc.tar.gz
freebsd-ports-gnome-cf475b88deaa486b65865953a0f48c95cbfa48fc.tar.zst
freebsd-ports-gnome-cf475b88deaa486b65865953a0f48c95cbfa48fc.zip
New port devel/py-gtfslib: Library for reading GTFS-based transit data in Python
An open source library in python for reading GTFS files and computing various stats and indicators about Public Transport networks. WWW: https://pypi.python.org/pypi/gtfslib PR: 221730 Submitted by: lbartoletti@tuxfamily.org
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-gtfslib/Makefile27
-rw-r--r--devel/py-gtfslib/distinfo3
-rw-r--r--devel/py-gtfslib/pkg-descr4
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3ec6b4743e6c..edb87b5a79e6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4425,6 +4425,7 @@
SUBDIR += py-grizzled
SUBDIR += py-grouch
SUBDIR += py-grpcio
+ SUBDIR += py-gtfslib
SUBDIR += py-gyp
SUBDIR += py-hash_ring
SUBDIR += py-hghooks
diff --git a/devel/py-gtfslib/Makefile b/devel/py-gtfslib/Makefile
new file mode 100644
index 000000000000..e79dd038045a
--- /dev/null
+++ b/devel/py-gtfslib/Makefile
@@ -0,0 +1,27 @@
+# Created by: Loïc BARTOLETTI <lbartoletti@tuxfamily.org>
+# $FreeBSD$
+
+PORTNAME= gtfslib
+PORTVERSION= 1.0.0
+CATEGORIES= devel python databases geography
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= lbartoletti@tuxfamily.org
+COMMENT= Library for reading GTFS-based transit data in Python
+
+LICENSE= GPLv3+
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy11>=0.6.1:databases/py-sqlalchemy11 \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}docopt>=0.6:devel/py-docopt \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.18:www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}pyqtree>=0.24:devel/py-pyqtree \
+ ${PYTHON_PKGNAMEPREFIX}pyshp>=1.2.12:devel/py-pyshp
+
+NO_ARCH= yes
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-gtfslib/distinfo b/devel/py-gtfslib/distinfo
new file mode 100644
index 000000000000..d5938bff59d8
--- /dev/null
+++ b/devel/py-gtfslib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1503435799
+SHA256 (gtfslib-1.0.0.tar.gz) = d3f715c32b90ee468a13b4f9da3053b7a791d52ed5bf88a4ac2b524a3a2427b5
+SIZE (gtfslib-1.0.0.tar.gz) = 46686
diff --git a/devel/py-gtfslib/pkg-descr b/devel/py-gtfslib/pkg-descr
new file mode 100644
index 000000000000..2f1226c127ac
--- /dev/null
+++ b/devel/py-gtfslib/pkg-descr
@@ -0,0 +1,4 @@
+An open source library in python for reading GTFS files and computing various
+stats and indicators about Public Transport networks.
+
+WWW: https://pypi.python.org/pypi/gtfslib