From 3f5059870951ab88412f74e9663c563cfeff81a0 Mon Sep 17 00:00:00 2001 From: Jason Manley Date: Wed, 20 Jul 2022 16:30:08 -0500 Subject: [PATCH] New package: finvizfinance-0.14.3 --- srcpkgs/finvizfinance/patches/setup.py.patch | 18 +++++++++++++++ srcpkgs/finvizfinance/template | 23 ++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 srcpkgs/finvizfinance/patches/setup.py.patch create mode 100644 srcpkgs/finvizfinance/template diff --git a/srcpkgs/finvizfinance/patches/setup.py.patch b/srcpkgs/finvizfinance/patches/setup.py.patch new file mode 100644 index 000000000000..599bf5f9d99f --- /dev/null +++ b/srcpkgs/finvizfinance/patches/setup.py.patch @@ -0,0 +1,18 @@ +--- a/setup.py 2022-07-20 16:25:14.945476061 -0500 ++++ b/setup.py 2022-07-20 16:25:32.661119877 -0500 +@@ -11,7 +11,7 @@ + + LICENSE = 'The MIT License (MIT)' + DESCRIPTION = 'Finviz Finance. Information downloader.' +-LONG_DESCRIPTION = (HERE / "README_pypi.md").read_text() ++LONG_DESCRIPTION = (HERE / "README.md").read_text() + LONG_DESC_TYPE = "text/markdown" + + INSTALL_REQUIRES = [ +@@ -43,4 +43,4 @@ + install_requires=INSTALL_REQUIRES, + packages=find_packages(), + python_requires=PYTHON_REQUIRES +- ) +\ No newline at end of file ++ ) diff --git a/srcpkgs/finvizfinance/template b/srcpkgs/finvizfinance/template new file mode 100644 index 000000000000..c2698fdacae0 --- /dev/null +++ b/srcpkgs/finvizfinance/template @@ -0,0 +1,23 @@ +# Template file for 'finvizfinance' +pkgname=finvizfinance +version=0.14.3 +revision=1 +#wrksrc= +build_style=python3-module +#configure_args="" +#make_build_args="" +#make_install_args="" +#conf_files="" +#make_dirs="/var/log/dir 0755 root root" +hostmakedepends="python3-setuptools python3-lxml" +depends="python3-requests python3-BeautifulSoup4 python3-pandas python3-lxml" +short_desc="FinViz API Python 3 Module" +maintainer="Jason Manley " +license="MIT" +homepage="https://pypi.org/project/finvizfinance/" +distfiles="${PYPI_SITE}/f/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=0e5b4dc3ccadda131064498435f85cb5c3396cdaf5f56f85202aafce995baa96 + +post_install() { + vlicense LICENSE +}