From 7d769a4879869e93c2d90311acf6abcc72402ae6 Mon Sep 17 00:00:00 2001 From: Jason Manley Date: Tue, 19 Jul 2022 18:34:10 -0500 Subject: [PATCH] New package: finviz-1.44 --- srcpkgs/finviz/template | 13 +++++++++++++ srcpkgs/python3-user_agent/template | 21 +++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/finviz/template create mode 100644 srcpkgs/python3-user_agent/template diff --git a/srcpkgs/finviz/template b/srcpkgs/finviz/template new file mode 100644 index 000000000000..406e008f3b25 --- /dev/null +++ b/srcpkgs/finviz/template @@ -0,0 +1,13 @@ +# Template file for 'finviz' +pkgname=finviz +version=1.4.4 +revision=1 +build_style=python3-module +hostmakedepends="python3" +depends="python3-BeautifulSoup4 python3-tqdm python3-tenacity python3-aiohttp python3-cssselect python3-requests python3-lxml python3-urllib3 python3-user_agent" +short_desc="FinViz Python API" +maintainer="Jason Manley " +license="GPL-3.0-or-later" +homepage="https://github.com/mariostoev/finviz/" +distfiles="https://github.com/mariostoev/finviz/archive/refs/tags/v${version}.tar.gz" +checksum=5c36c3ebaac8376a33b629eb2daa41a37b912267a2b67b5eb98b516a2600f48f diff --git a/srcpkgs/python3-user_agent/template b/srcpkgs/python3-user_agent/template new file mode 100644 index 000000000000..4362d0e65ed9 --- /dev/null +++ b/srcpkgs/python3-user_agent/template @@ -0,0 +1,21 @@ +# Template file for 'python3-user_agent' +pkgname=python3-user_agent +version=0.1.10 +revision=1 +wrksrc="user_agent-${version}" +build_style=python3-module +hostmakedepends="python3 python3-setuptools python3-six python3-pytest" +short_desc="Python 3 user-agent module" +maintainer="Jason Manley " +license="MIT" +homepage="https://pypi.org/project/user-agent" +distfiles="${PYPI_SITE}/u/user_agent/user_agent-${version}.tar.gz" +checksum=b86537cb2a9d3bda0e2afcc654ec15b383502836877a67520654acadf73f1723 + +post_fetch() { + rm -f ${wrksrc}/test/release.py +} + +post_install() { + vlicense LICENSE +}