git: 4e22caf2477a - main - finance/py-degiro-connector: New port: Library to access Degiro's API

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 27 Dec 2022 07:51:16 UTC
The branch main has been updated by yuri:

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

commit 4e22caf2477a09ff5d219226aaa481c5e3d00fdd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-27 07:44:21 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-27 07:51:00 +0000

    finance/py-degiro-connector: New port: Library to access Degiro's API
---
 finance/Makefile                      |  1 +
 finance/py-degiro-connector/Makefile  | 31 +++++++++++++++++++++++++++++++
 finance/py-degiro-connector/distinfo  |  3 +++
 finance/py-degiro-connector/pkg-descr |  4 ++++
 4 files changed, 39 insertions(+)

diff --git a/finance/Makefile b/finance/Makefile
index a307eb77d3cb..8b9719e15234 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -102,6 +102,7 @@
     SUBDIR += py-bitcoin
     SUBDIR += py-bt
     SUBDIR += py-ccxt
+    SUBDIR += py-degiro-connector
     SUBDIR += py-ebaysdk
     SUBDIR += py-exchange-calendars
     SUBDIR += py-ffn
diff --git a/finance/py-degiro-connector/Makefile b/finance/py-degiro-connector/Makefile
new file mode 100644
index 000000000000..2bed0effe6d1
--- /dev/null
+++ b/finance/py-degiro-connector/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	degiro-connector
+DISTVERSION=	2.0.22
+CATEGORIES=	finance python
+MASTER_SITES=	CHEESESHOP # no tests
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Library to access Degiro's API
+WWW=		https://github.com/chavithra/degiro-connector
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}grpcio>=1.49.1:devel/py-grpcio@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}onetimepass>=1.0.1:www/py-onetimepass@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=1.1.5:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}protobuf>=4.21.7:devel/py-protobuf@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.26.0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wrapt>=1.12.1:devel/py-wrapt@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python:3.6+
+USE_PYTHON=	distutils autoplist
+
+#USE_GITHUB=	yes
+#GH_ACCOUNT=	chavithra
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/finance/py-degiro-connector/distinfo b/finance/py-degiro-connector/distinfo
new file mode 100644
index 000000000000..1a368596cc6c
--- /dev/null
+++ b/finance/py-degiro-connector/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1672126775
+SHA256 (degiro-connector-2.0.22.tar.gz) = 46b81492426994052c5deb6e86148f6cb32d433d8e2c5e72e8fdc493da057d82
+SIZE (degiro-connector-2.0.22.tar.gz) = 108206
diff --git a/finance/py-degiro-connector/pkg-descr b/finance/py-degiro-connector/pkg-descr
new file mode 100644
index 000000000000..2a193d2fbb51
--- /dev/null
+++ b/finance/py-degiro-connector/pkg-descr
@@ -0,0 +1,4 @@
+degiro-connector is yet another library to access Degiro's API.
+
+It allows access to bond, ETF, futures, stocks, options, etc
+information.