git: b1d7e1fda13a - main - finance/py-valinvest: New port: Value investing tool

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 31 Dec 2023 23:02:41 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1d7e1fda13a4753a7091fdfc23aae16c6000b7e

commit b1d7e1fda13a4753a7091fdfc23aae16c6000b7e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-31 22:55:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-31 23:02:33 +0000

    finance/py-valinvest: New port: Value investing tool
---
 finance/Makefile               |  1 +
 finance/py-valinvest/Makefile  | 20 ++++++++++++++++++++
 finance/py-valinvest/distinfo  |  3 +++
 finance/py-valinvest/pkg-descr |  5 +++++
 4 files changed, 29 insertions(+)

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.