diff --git a/finance/Makefile b/finance/Makefile index bd2b7c359d8c..d89d8eda439d 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -1,151 +1,152 @@ COMMENT = Monetary, financial, and related applications SUBDIR += R-cran-AER SUBDIR += R-cran-PerformanceAnalytics SUBDIR += R-cran-RFinanceYJ SUBDIR += R-cran-TTR SUBDIR += R-cran-fBasics SUBDIR += R-cran-fGarch SUBDIR += R-cran-gmm SUBDIR += R-cran-lmtest SUBDIR += R-cran-plm SUBDIR += R-cran-quantmod SUBDIR += R-cran-strucchange SUBDIR += R-cran-timeDate SUBDIR += R-cran-timeSeries SUBDIR += R-cran-tseries SUBDIR += R-cran-urca SUBDIR += R-cran-vars SUBDIR += alkimia SUBDIR += aqbanking SUBDIR += beancount SUBDIR += beanie SUBDIR += chiapos SUBDIR += cointop SUBDIR += electrum SUBDIR += expense SUBDIR += fabric SUBDIR += fava SUBDIR += fixc SUBDIR += frontaccounting SUBDIR += frontaccounting24 SUBDIR += gnucash SUBDIR += gnucash-docs SUBDIR += grisbi SUBDIR += homebank SUBDIR += hs-hledger SUBDIR += hs-hledger-ui SUBDIR += hs-hledger-web SUBDIR += jgnash SUBDIR += kmymoney SUBDIR += kraft SUBDIR += ktoblzcheck SUBDIR += ledger SUBDIR += ledgersmb12 SUBDIR += libbtc SUBDIR += libofx SUBDIR += libstocks SUBDIR += lnd SUBDIR += moneymanagerex SUBDIR += myphpmoney SUBDIR += nextcloud-cospend SUBDIR += odoo SUBDIR += odoo14 SUBDIR += odoo15 SUBDIR += p5-Business-CreditCard SUBDIR += p5-Business-MaxMind-CreditCardFraudDetection SUBDIR += p5-Business-OCV SUBDIR += p5-Business-OnlinePayment SUBDIR += p5-Business-OnlinePayment-2CheckOut SUBDIR += p5-Business-OnlinePayment-AuthorizeNet SUBDIR += p5-Business-OnlinePayment-BankOfAmerica SUBDIR += p5-Business-OnlinePayment-Beanstream SUBDIR += p5-Business-OnlinePayment-Cardstream SUBDIR += p5-Business-OnlinePayment-Jettis SUBDIR += p5-Business-OnlinePayment-LinkPoint SUBDIR += p5-Business-OnlinePayment-MerchantCommerce SUBDIR += p5-Business-OnlinePayment-Network1Financial SUBDIR += p5-Business-OnlinePayment-OCV SUBDIR += p5-Business-OnlinePayment-PayConnect SUBDIR += p5-Business-OnlinePayment-PaymenTech SUBDIR += p5-Business-OnlinePayment-PaymentsGateway SUBDIR += p5-Business-OnlinePayment-SurePay SUBDIR += p5-Business-OnlinePayment-TCLink SUBDIR += p5-Business-OnlinePayment-VirtualNet SUBDIR += p5-Business-OnlinePayment-eSec SUBDIR += p5-Business-OnlinePayment-iAuthorizer SUBDIR += p5-Business-PayPal-IPN SUBDIR += p5-Business-Stripe SUBDIR += p5-Business-TW-Invoice-U420 SUBDIR += p5-Business-TW-TSIB-CStorePayment SUBDIR += p5-Business-TW-TSIB-VirtualAccount SUBDIR += p5-Business-WorldPay-Junior SUBDIR += p5-Data-Currency SUBDIR += p5-Finance-Amortization SUBDIR += p5-Finance-Bitcoin SUBDIR += p5-Finance-Currency-Convert SUBDIR += p5-Finance-Currency-Convert-WebserviceX SUBDIR += p5-Finance-Currency-Convert-XE SUBDIR += p5-Finance-Quote SUBDIR += p5-Finance-QuoteHist SUBDIR += p5-Finance-QuoteTW SUBDIR += p5-Finance-TW-EmergingQuote SUBDIR += p5-Finance-TW-TSEQuote SUBDIR += p5-Finance-YahooQuote SUBDIR += p5-Locale-Currency-Format SUBDIR += p5-Math-Financial SUBDIR += p5-PayflowPro SUBDIR += pear_Payment_DTA SUBDIR += prestashop SUBDIR += py-Nasdaq-Data-Link SUBDIR += py-alpha-vantage SUBDIR += py-backtrader SUBDIR += py-bitcoin SUBDIR += py-bt SUBDIR += py-ccxt SUBDIR += py-degiro-connector SUBDIR += py-ebaysdk SUBDIR += py-exchange-calendars SUBDIR += py-ffn SUBDIR += py-financedatabase SUBDIR += py-finnhub-python SUBDIR += py-finviz SUBDIR += py-finvizfinance SUBDIR += py-fredapi SUBDIR += py-fundamentalanalysis SUBDIR += py-investiny SUBDIR += py-investpy SUBDIR += py-mplfinance SUBDIR += py-ofxparse SUBDIR += py-pandas-market-calendars SUBDIR += py-pandas-ta SUBDIR += py-pycoin SUBDIR += py-pycoingecko SUBDIR += py-python-binance SUBDIR += py-python-bitcoinlib SUBDIR += py-python-obelisk + SUBDIR += py-pytrends SUBDIR += py-quantecon SUBDIR += py-stocksera SUBDIR += py-stripe SUBDIR += py-ta-lib SUBDIR += py-technical SUBDIR += py-thepassiveinvestor SUBDIR += py-tradingview-ta SUBDIR += py-valinvest SUBDIR += py-vatnumber SUBDIR += py-yahooquery SUBDIR += py-yfinance SUBDIR += py-ystockquote SUBDIR += qtbitcointrader SUBDIR += quantlib SUBDIR += quickfix SUBDIR += rubygem-money SUBDIR += skrooge SUBDIR += sql-ledger SUBDIR += ticker SUBDIR += tickrs SUBDIR += venice SUBDIR += weberp SUBDIR += xtrader .include 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.