Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2023 18:55:59 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0315c33dd32c - main - finance/py-python-binance: New port: Binance REST API python implementation
Message-ID:  <202304091855.339ItxA0014684@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 0315c33dd32c59cca059b4f234632dcd35f4e3bf
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-09 18:55:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-09 18:55:57 +0000

    finance/py-python-binance: New port: Binance REST API python implementation
---
 finance/Makefile                    |  1 +
 finance/py-python-binance/Makefile  | 27 +++++++++++++++++++++++++++
 finance/py-python-binance/distinfo  |  3 +++
 finance/py-python-binance/pkg-descr |  4 ++++
 4 files changed, 35 insertions(+)

diff --git a/finance/Makefile b/finance/Makefile
index c221ee7a3b7f..d06896d98b3d 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -120,6 +120,7 @@
     SUBDIR += py-pandas-ta
     SUBDIR += py-pycoin
     SUBDIR += py-pycoingecko
+    SUBDIR += py-python-binance
     SUBDIR += py-python-bitcoinlib
     SUBDIR += py-python-obelisk
     SUBDIR += py-quantecon
diff --git a/finance/py-python-binance/Makefile b/finance/py-python-binance/Makefile
new file mode 100644
index 000000000000..612f9b39df70
--- /dev/null
+++ b/finance/py-python-binance/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	python-binance
+DISTVERSION=	1.0.17
+CATEGORIES=	finance python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Binance REST API python implementation
+WWW=		https://python-binance.readthedocs.io/en/latest/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.8:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}dateparser>0:devel/py-dateparser@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ujson>0:devel/py-ujson@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}websockets>0:devel/py-websockets@${PY_FLAVOR}
+
+USES=		python:3.5+
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/finance/py-python-binance/distinfo b/finance/py-python-binance/distinfo
new file mode 100644
index 000000000000..a5f7c55ab387
--- /dev/null
+++ b/finance/py-python-binance/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681065857
+SHA256 (python-binance-1.0.17.tar.gz) = 364a0ff0d2892867d6851d90e8567c54a194fc62783f20da766a5c7655f57746
+SIZE (python-binance-1.0.17.tar.gz) = 68466
diff --git a/finance/py-python-binance/pkg-descr b/finance/py-python-binance/pkg-descr
new file mode 100644
index 000000000000..a08fd3c9f213
--- /dev/null
+++ b/finance/py-python-binance/pkg-descr
@@ -0,0 +1,4 @@
+python-binance is an unofficial Python wrapper for the Binance exchange REST
+API v3. I am in no way affiliated with Binance, use at your own risk.
+
+It is suitable to automate interactions with Binance.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304091855.339ItxA0014684>