From nobody Mon Dec 26 20:08:03 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NgpkC5qZJz1HZc8; Mon, 26 Dec 2022 20:08:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NgpkC47H1z3y0s; Mon, 26 Dec 2022 20:08:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672085283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BFAgwGs29u3QNNo3UJCNq80BnXjUZHP0AaGtObnK3W4=; b=Gc8KkWUz6QQybVk7GfmIH9/03YrV8PWpTqQT3u+t9PR6c+EPtuj/qWKudIxDkxoG7hkKvL NqresgYCQjfMxtAFVH2UdwE6MLrGfI5d5Sk0cAw8O3KGAs/OqJY+0o25+Spna77gTeCrJv EBePskNhvY2rwq24ulREfqIFo5/EhSC3hZBzsGzISMreS6znbmuqv7uIQbNiPjzxFwq11Y NWfwlnwauwPf5RWBlaEjp0VtjsTr5mbROd4u5Lv6V4Ywl0SKbBp1Z7tFPVfF3ditPoHUvw dTc9XY3CikQ6/utmY/spFvMsIlEs2w9DkCGUdpFlhImfnOlJYnjRCY4jWwKHLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672085283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BFAgwGs29u3QNNo3UJCNq80BnXjUZHP0AaGtObnK3W4=; b=fKo2R3qbtbs3TaE1QVDsu17Btg1MQCgtka/6WQZYX+x3e9J6DqddQLKYUV1A45ayx47VNR xriKM9mJjU7QaQngcodKff3sMW3yB752a3B7yL5KkvVRWg9+aZcY0kRlq7x8xSALxb4/Wx vAkyfyEOEQbYMTtTpzzJ5UoTfgbniX7VryjW5Se4dfGCFo9RzTW0uo64KRIpjhTJIfuTN9 4xtSy+XaDJbA88IlPooK0iHPZYjmnciZoEpsldsfvoHWFT4jf/LvWMcZ+0iCRHpOjaKg6M m3WokkvI4s9rGYJnSjGoZsVLlmRjFEQd5Zh+pEeHoV6GKFiKIrLbqGTjIDukyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672085283; a=rsa-sha256; cv=none; b=WvtAiCZfibDZjkNG8kERVCP6aO8wSIfev/zF1I3PirmbvB5AWGwgGSbbGXnx2k2/5X8LPn MApaH+h7UqYgXvSBsIYKb9oAqh2cWx8RV4idU3rvgeW7SjYEApP1AposPy9kozoghMs7of inFyEsawjbo7koqM4CqFeh+l04QMrMSyMRZd3PwxaL4PfqR6i5XhiLcp/fc3hPSTZ69rnS y+zBacB8RM5ofsrIpzn2cUYsT39dm0fZidL4HNLhOCmQn8s52twFtynUHlwAoYZo+LfqKj uSDe8pxWcV7CnHNQquPYzgtguwlfPLhu3vFl0feikky3AEh7gosG9dhUdU/8bQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NgpkC32FszkMm; Mon, 26 Dec 2022 20:08:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BQK83V6083817; Mon, 26 Dec 2022 20:08:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BQK836f083816; Mon, 26 Dec 2022 20:08:03 GMT (envelope-from git) Date: Mon, 26 Dec 2022 20:08:03 GMT Message-Id: <202212262008.2BQK836f083816@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 0f81236993c2 - main - finance/py-alpha-vantage: New port: Module to get stock data from the Alpha Vantage Api List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f81236993c20222aec17f000da4e94962471a50 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f81236993c20222aec17f000da4e94962471a50 commit 0f81236993c20222aec17f000da4e94962471a50 Author: Yuri Victorovich AuthorDate: 2022-12-26 20:07:19 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-26 20:07:50 +0000 finance/py-alpha-vantage: New port: Module to get stock data from the Alpha Vantage Api --- finance/Makefile | 1 + finance/py-alpha-vantage/Makefile | 31 +++++++++++++++++++++++++++++++ finance/py-alpha-vantage/distinfo | 3 +++ finance/py-alpha-vantage/pkg-descr | 8 ++++++++ 4 files changed, 43 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index e595d128ce5e..838e79161ddc 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -97,6 +97,7 @@ SUBDIR += prestashop SUBDIR += py-Nasdaq-Data-Link SUBDIR += py-TA-Lib + SUBDIR += py-alpha-vantage SUBDIR += py-backtrader SUBDIR += py-bitcoin SUBDIR += py-ebaysdk diff --git a/finance/py-alpha-vantage/Makefile b/finance/py-alpha-vantage/Makefile new file mode 100644 index 000000000000..b0180deb36c6 --- /dev/null +++ b/finance/py-alpha-vantage/Makefile @@ -0,0 +1,31 @@ +PORTNAME= alpha-vantage +DISTVERSION= 2.3.1 +CATEGORIES= finance python +#MASTER_SITES= CHEESESHOP # no tests +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Module to get stock data from the Alpha Vantage Api +WWW= https://github.com/RomelTorres/alpha_vantage + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.8+ +USE_PYTHON= distutils autoplist pytest # tests fail to run, see https://github.com/RomelTorres/alpha_vantage/issues/340 + +USE_GITHUB= yes +GH_ACCOUNT= RomelTorres +GH_PROJECT= alpha_vantage + +NO_ARCH= yes + +TEST_WRLSRC= ${WRKSRC}/test_alpha_vantage + +.include diff --git a/finance/py-alpha-vantage/distinfo b/finance/py-alpha-vantage/distinfo new file mode 100644 index 000000000000..ff3e7f22d27a --- /dev/null +++ b/finance/py-alpha-vantage/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672084829 +SHA256 (RomelTorres-alpha_vantage-2.3.1_GH0.tar.gz) = ceb46b8bfbba441f85d48b32649c7308280760bf970188707ba9248705dbeba7 +SIZE (RomelTorres-alpha_vantage-2.3.1_GH0.tar.gz) = 557043 diff --git a/finance/py-alpha-vantage/pkg-descr b/finance/py-alpha-vantage/pkg-descr new file mode 100644 index 000000000000..986b0548cbad --- /dev/null +++ b/finance/py-alpha-vantage/pkg-descr @@ -0,0 +1,8 @@ +alpha-vantage is a Python module to get stock data/cryptocurrencies from the +Alpha Vantage API. + +Alpha Vantage delivers a free API for real time financial data and most used +finance indicators in a simple json or pandas format. This module implements +a python interface to the free API provided by Alpha Vantage. It requires a +free API key, that can be requested from +http://www.alphavantage.co/support/#api-key.