From nobody Mon Jan 01 23:43:20 2024 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 4T3sxN4Hwcz55sDJ; Mon, 1 Jan 2024 23:43:20 +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 4T3sxN3gPxz4fdW; Mon, 1 Jan 2024 23:43:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704152600; 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=Jhlgttp6aWRC2mj1DUIYRUqRRDeubVOnW5BzIonwXRI=; b=KnOvoX141cZnwuorBYYcRV1F2gn8HxMjX2+HkkjnuYlHvGLIZW2aKi9ZcTu/GjTLbGJTf3 lveC9taDQnCLXF4qMydw/BUbkGY8GJ4BAdwp/Kcis7f9wfJZF8Lc8v9+uBjjaE2fzzccQ8 1+/Gf8yqPvZgyxOKeiG8r+KtzqfSeqzFOnAPQMiF2qii2TF6cPEeVXADVs8XVKHZGqVC4o YtHxnskZuBXADGRwRmVmipqTRIRlS4uym+8uLzb2xWI/Sp4ZuhCvbnHq5Dnvz7d5Cv7INr aYhKUumMlbNxtWwoSckarBkv9xbfeIre/X2JpAC///xPz0m+qHhGXvxtQousMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704152600; a=rsa-sha256; cv=none; b=d+uNpkgXk1mub4nKaEoNij8uTPiqRLdky5kz7cMkmhbEcQx/s85+vu/e1wte1qiQih7iT6 eyDQxUHbLFD0CM6LaqymRlK2y+eF1hzDWWGsYY3Ha31EaVFx/R20ZyZ48IsCarLpvkp4tE JOPJAuh4y/Vnl8cpSVTdbkg9ojaftzwBRH5XoVnaZdOoQ3H20Zz3AVuZTReBq5gFFH0U7I siWERtbKct4zkA/OPeIWl2Ip/LRnr+pWWvRkdg74UIdfRzUCguPdpmWWt5ezcACQy9cSNS bcrtbwspI9c191hxZyBEv07jY/XYw+C2I44pSSVzW0MCtO4tMCxxRG9YCYhDuQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704152600; 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=Jhlgttp6aWRC2mj1DUIYRUqRRDeubVOnW5BzIonwXRI=; b=GGTEbFV0jXIsDBg0Xi9MgygDeNpBvUF6wwuchzOALIARLA8JYWXPiyHTdM4jACF1RK0s8W d609u1ariqACIss3dZOKMko/l90wSta5MYaBu2RsyRrBkLfyDSHDJmBgDSK1wAtNVPB1Qm 9kHvbDx9XlLFvtHlCY5ueZE9edhJQwOholDEfJh4KBYE+DhGP9hPKg04VYWFTyAJckM1vD l+prJnJ+oxZsb0CKw1KrFsyq2yU2mlnoZTaNKMcMCpx6cMQhgztbzXUoWAKt7lOBB+Nz7y hGcW7laTqpinMttUbsijXqH2I4CFDt7mRUhj89LVjcMeQzT2/V3xPlRBE3Kg7w== 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 4T3sxN2krczdS6; Mon, 1 Jan 2024 23:43:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 401NhK82099610; Mon, 1 Jan 2024 23:43:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 401NhK88099607; Mon, 1 Jan 2024 23:43:20 GMT (envelope-from git) Date: Mon, 1 Jan 2024 23:43:20 GMT Message-Id: <202401012343.401NhK88099607@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: 22f4628894c4 - main - finance/py-pytrends: New port: Pseudo API for Google Trends 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: 22f4628894c4b6309afe3b86e76046193a96ee4b Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=22f4628894c4b6309afe3b86e76046193a96ee4b commit 22f4628894c4b6309afe3b86e76046193a96ee4b Author: Yuri Victorovich AuthorDate: 2024-01-01 19:23:08 +0000 Commit: Yuri Victorovich CommitDate: 2024-01-01 23:43:13 +0000 finance/py-pytrends: New port: Pseudo API for Google Trends --- finance/Makefile | 1 + finance/py-pytrends/Makefile | 25 +++++++++++++++++++++++++ finance/py-pytrends/distinfo | 3 +++ finance/py-pytrends/pkg-descr | 4 ++++ 4 files changed, 33 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index bd2b7c359d8c..d89d8eda439d 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -124,6 +124,7 @@ SUBDIR += py-python-binance SUBDIR += py-python-bitcoinlib SUBDIR += py-python-obelisk + SUBDIR += py-pytrends SUBDIR += py-quantecon SUBDIR += py-stocksera SUBDIR += py-stripe diff --git a/finance/py-pytrends/Makefile b/finance/py-pytrends/Makefile new file mode 100644 index 000000000000..4e3b80ed2dd2 --- /dev/null +++ b/finance/py-pytrends/Makefile @@ -0,0 +1,25 @@ +PORTNAME= pytrends +DISTVERSION= 4.9.2 +CATEGORIES= finance python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pseudo API for Google Trends +WWW= https://github.com/GeneralMills/pytrends + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=0.25:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest # many tests fail, see https://github.com/GeneralMills/pytrends/issues/608 + +NO_ARCH= yes + +.include diff --git a/finance/py-pytrends/distinfo b/finance/py-pytrends/distinfo new file mode 100644 index 000000000000..ee1da1825be7 --- /dev/null +++ b/finance/py-pytrends/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704136383 +SHA256 (pytrends-4.9.2.tar.gz) = 691c6e36b1aeaa4754f3692bdbad0dff446e528ffb052eee2e7f139aaa2c6989 +SIZE (pytrends-4.9.2.tar.gz) = 247162 diff --git a/finance/py-pytrends/pkg-descr b/finance/py-pytrends/pkg-descr new file mode 100644 index 000000000000..5909adadf4fb --- /dev/null +++ b/finance/py-pytrends/pkg-descr @@ -0,0 +1,4 @@ +pytrends is an unofficial API for Google Trends. + +It allows simple interface for automating downloading of reports from Google +Trends.