aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-12-31 22:55:00 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-12-31 23:02:33 +0000
commitb1d7e1fda13a4753a7091fdfc23aae16c6000b7e (patch)
tree01eb202dbc9c0cbd57491bf282ce25a4ae988000
parent3f0c87bcff758e57b66994cb1b856b199eef5f66 (diff)
downloadports-b1d7e1fda13a4753a7091fdfc23aae16c6000b7e.tar.gz
ports-b1d7e1fda13a4753a7091fdfc23aae16c6000b7e.zip
finance/py-valinvest: New port: Value investing tool
-rw-r--r--finance/Makefile1
-rw-r--r--finance/py-valinvest/Makefile20
-rw-r--r--finance/py-valinvest/distinfo3
-rw-r--r--finance/py-valinvest/pkg-descr5
4 files changed, 29 insertions, 0 deletions
diff --git a/finance/Makefile b/finance/Makefile
index 2a253977596f..196415199fc0 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -129,6 +129,7 @@
SUBDIR += py-ta-lib
SUBDIR += py-technical
SUBDIR += py-tradingview-ta
+ SUBDIR += py-valinvest
SUBDIR += py-vatnumber
SUBDIR += py-yfinance
SUBDIR += py-ystockquote
diff --git a/finance/py-valinvest/Makefile b/finance/py-valinvest/Makefile
new file mode 100644
index 000000000000..e1dfdba6b9c2
--- /dev/null
+++ b/finance/py-valinvest/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= valinvest
+DISTVERSION= 0.0.2
+CATEGORIES= finance python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Value investing tool
+WWW= https://github.com/astro30/valinvest
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2022.12.7:security/py-certifi@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/finance/py-valinvest/distinfo b/finance/py-valinvest/distinfo
new file mode 100644
index 000000000000..84b1b1a9edbc
--- /dev/null
+++ b/finance/py-valinvest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1704052341
+SHA256 (valinvest-0.0.2.tar.gz) = 9614aaf8019e015c20ea48867ede8a6ea10e1c6410e787314066d7b2e5aeb7dc
+SIZE (valinvest-0.0.2.tar.gz) = 11978
diff --git a/finance/py-valinvest/pkg-descr b/finance/py-valinvest/pkg-descr
new file mode 100644
index 000000000000..e3b1ebc18589
--- /dev/null
+++ b/finance/py-valinvest/pkg-descr
@@ -0,0 +1,5 @@
+valinvest is a value investing tool based on Warren Buffett, Joseph Piotroski
+and Benjamin Graham thoughts.
+
+The Financial API used by valinvest to get financial data has been rewritten
+and now requires a API Key in order to make request.