svn commit: r498544 - in head/finance: . bitcoinnodestats bitcoinnodestats/files
Kai Knoblich
kai at FreeBSD.org
Wed Apr 10 08:21:45 UTC 2019
Author: kai
Date: Wed Apr 10 08:21:43 2019
New Revision: 498544
URL: https://svnweb.freebsd.org/changeset/ports/498544
Log:
New port: finance/bitcoinnodestatus
Bitcoin node status and statistics web interface based on Django.
Features:
* Current node status overview
* Charts of peer count, upload and download history
WWW: https://github.com/bartromgens/bitcoinnodestats
Approved by: miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19784
Added:
head/finance/bitcoinnodestats/
head/finance/bitcoinnodestats/Makefile (contents, props changed)
head/finance/bitcoinnodestats/distinfo (contents, props changed)
head/finance/bitcoinnodestats/files/
head/finance/bitcoinnodestats/files/pkg-message.in (contents, props changed)
head/finance/bitcoinnodestats/pkg-descr (contents, props changed)
head/finance/bitcoinnodestats/pkg-plist (contents, props changed)
Modified:
head/finance/Makefile
Modified: head/finance/Makefile
==============================================================================
--- head/finance/Makefile Wed Apr 10 08:14:47 2019 (r498543)
+++ head/finance/Makefile Wed Apr 10 08:21:43 2019 (r498544)
@@ -24,6 +24,7 @@
SUBDIR += aqbanking
SUBDIR += beancount
SUBDIR += beanie
+ SUBDIR += bitcoinnodestats
SUBDIR += cbb
SUBDIR += cointop
SUBDIR += electrum
Added: head/finance/bitcoinnodestats/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/bitcoinnodestats/Makefile Wed Apr 10 08:21:43 2019 (r498544)
@@ -0,0 +1,43 @@
+# $FreeBSD$
+
+PORTNAME= bitcoinnodestats
+DISTVERSION= g20171121
+CATEGORIES= finance python
+
+MAINTAINER= kai at FreeBSD.org
+COMMENT= Basic Bitcoin node status and statistics web application
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=2017.3:devel/py-pytz@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-bitcoinlib>=0.8.0:finance/py-python-bitcoinlib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django111>=1.11.7:www/py-django111@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-bootstrap3>=9.1.0:www/py-django-bootstrap3@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-cron>=0.5.0:www/py-django-cron@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}django-debug-toolbar>=0:www/py-django-debug-toolbar@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}jsonfield>=2.0.2:www/py-jsonfield@${PY_FLAVOR}
+
+USES= python:3.3+ shebangfix
+USE_GITHUB= yes
+GH_ACCOUNT= bartromgens
+GH_TAGNAME= 5e8772d
+
+NO_ARCH= yes
+NO_BUILD= yes
+SHEBANGFILES= create_local_settings.py manage.py
+
+SUB_FILES= pkg-message
+SUB_LIST= DATADIR=${DATADIR} PYTHON_VER=${PYTHON_VER}
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+.for _file in ${SHEBANGFILES}
+ ${INSTALL_DATA} ${WRKSRC}/${_file} ${STAGEDIR}${DATADIR}
+.endfor
+
+.for _dir in bitcoinnodestats nodedata
+ (cd ${WRKSRC}/${_dir} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${_dir} "! -name '*.bak'")
+.endfor
+
+.include <bsd.port.mk>
Added: head/finance/bitcoinnodestats/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/bitcoinnodestats/distinfo Wed Apr 10 08:21:43 2019 (r498544)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1549669415
+SHA256 (bartromgens-bitcoinnodestats-g20171121-5e8772d_GH0.tar.gz) = 2dc24a1646701d602de07045bf1917e605adb194f3a775abb20864f6d8a9f937
+SIZE (bartromgens-bitcoinnodestats-g20171121-5e8772d_GH0.tar.gz) = 151550
Added: head/finance/bitcoinnodestats/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/bitcoinnodestats/files/pkg-message.in Wed Apr 10 08:21:43 2019 (r498544)
@@ -0,0 +1,10 @@
+================================================================================
+
+Quick start instructions:
+
+# cd %%DATADIR%%
+# python%%PYTHON_VER%% create_local_settings.py
+# python%%PYTHON_VER%% manage.py migrate
+# python%%PYTHON_VER%% manage.py runserver
+
+================================================================================
Added: head/finance/bitcoinnodestats/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/bitcoinnodestats/pkg-descr Wed Apr 10 08:21:43 2019 (r498544)
@@ -0,0 +1,7 @@
+Bitcoin node status and statistics web interface based on Django.
+
+Features:
+* Current node status overview
+* Charts of peer count, upload and download history
+
+WWW: https://github.com/bartromgens/bitcoinnodestats
Added: head/finance/bitcoinnodestats/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/finance/bitcoinnodestats/pkg-plist Wed Apr 10 08:21:43 2019 (r498544)
@@ -0,0 +1,49 @@
+%%DATADIR%%/create_local_settings.py
+%%DATADIR%%/manage.py
+%%DATADIR%%/bitcoinnodestats/__init__.py
+%%DATADIR%%/bitcoinnodestats/local_settings_example.py
+%%DATADIR%%/bitcoinnodestats/settings.py
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/css/bootstrap_cyborg.min.css
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/css/bootstrap_readable.min.css
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.eot
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.svg
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.ttf
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.woff
+%%DATADIR%%/bitcoinnodestats/static/bootstrap/fonts/glyphicons-halflings-regular.woff2
+%%DATADIR%%/bitcoinnodestats/static/css/custom.css
+%%DATADIR%%/bitcoinnodestats/static/css/plots.css
+%%DATADIR%%/bitcoinnodestats/static/js/daterangepicker.js
+%%DATADIR%%/bitcoinnodestats/static/js/plots.js
+%%DATADIR%%/bitcoinnodestats/static/media/readme.txt
+%%DATADIR%%/bitcoinnodestats/templates/base.html
+%%DATADIR%%/bitcoinnodestats/templates/footer.html
+%%DATADIR%%/bitcoinnodestats/templates/index.html
+%%DATADIR%%/bitcoinnodestats/templates/input.html
+%%DATADIR%%/bitcoinnodestats/templates/peer_table.html
+%%DATADIR%%/bitcoinnodestats/templates/plots.html
+%%DATADIR%%/bitcoinnodestats/templates/status_bar.html
+%%DATADIR%%/bitcoinnodestats/urls.py
+%%DATADIR%%/bitcoinnodestats/views.py
+%%DATADIR%%/bitcoinnodestats/wsgi.py
+%%DATADIR%%/nodedata/__init__.py
+%%DATADIR%%/nodedata/admin.py
+%%DATADIR%%/nodedata/apps.py
+%%DATADIR%%/nodedata/cronjobs.py
+%%DATADIR%%/nodedata/management/__init__.py
+%%DATADIR%%/nodedata/management/commands/__init__.py
+%%DATADIR%%/nodedata/management/commands/prune_data.py
+%%DATADIR%%/nodedata/migrations/0001_initial.py
+%%DATADIR%%/nodedata/migrations/0002_auto_20160510_1613.py
+%%DATADIR%%/nodedata/migrations/0003_rawnodedata_datetime_created.py
+%%DATADIR%%/nodedata/migrations/0004_rawnodedata_peerinfo_json.py
+%%DATADIR%%/nodedata/migrations/0005_rawnodedata_networkinfo_json.py
+%%DATADIR%%/nodedata/migrations/0006_peer.py
+%%DATADIR%%/nodedata/migrations/0007_auto_20160512_0240.py
+%%DATADIR%%/nodedata/migrations/0008_peer_peer_json.py
+%%DATADIR%%/nodedata/migrations/0009_rawnodedata_node_up.py
+%%DATADIR%%/nodedata/migrations/0010_remove_peer_peer_json.py
+%%DATADIR%%/nodedata/migrations/__init__.py
+%%DATADIR%%/nodedata/models.py
+%%DATADIR%%/nodedata/settings.py
+%%DATADIR%%/nodedata/tests.py
+%%DATADIR%%/nodedata/views.py
More information about the svn-ports-head
mailing list