From c7ad0ab012d36fbc9422f43d6402c5c08ffeeb28 Mon Sep 17 00:00:00 2001 From: Jason Manley Date: Tue, 19 Jul 2022 18:34:10 -0500 Subject: [PATCH 1/2] New package: finviz-1.44 --- srcpkgs/finviz/template | 13 +++++++++++++ .../patches/CHANGELOG.md.patch | 10 ++++++++++ .../python3-user_agent/patches/release.py.patch | 8 ++++++++ srcpkgs/python3-user_agent/template | 17 +++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 srcpkgs/finviz/template create mode 100644 srcpkgs/python3-user_agent/patches/CHANGELOG.md.patch create mode 100644 srcpkgs/python3-user_agent/patches/release.py.patch 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/patches/CHANGELOG.md.patch b/srcpkgs/python3-user_agent/patches/CHANGELOG.md.patch new file mode 100644 index 000000000000..6fbca2ba0c97 --- /dev/null +++ b/srcpkgs/python3-user_agent/patches/CHANGELOG.md.patch @@ -0,0 +1,10 @@ +--- a/CHANGELOG.md 2020-11-06 19:12:15.000000000 -0600 ++++ b/CHANGELOG.md 2022-07-20 15:50:50.468908085 -0500 +@@ -1,6 +1,6 @@ + # Change Log of user_agent Library + +-## [0.1.20] - Unreleased ++## [0.1.10] - 2021-12-04 + ### Changed + + ## [0.1.9] - 2017-08-05 diff --git a/srcpkgs/python3-user_agent/patches/release.py.patch b/srcpkgs/python3-user_agent/patches/release.py.patch new file mode 100644 index 000000000000..38641b717e68 --- /dev/null +++ b/srcpkgs/python3-user_agent/patches/release.py.patch @@ -0,0 +1,8 @@ +--- a/test/release.py 2021-12-04 07:55:41.000000000 -0600 ++++ b/test/release.py 2022-07-20 16:08:34.049161879 -0500 +@@ -24,4 +24,4 @@ + print(ver_history) + assert 'unreleased' not in ver_dates[release] + assert re_date.match(ver_dates[release]) +- assert ver_history.index(release) == 1 ++ assert ver_history.index(release) == 0 diff --git a/srcpkgs/python3-user_agent/template b/srcpkgs/python3-user_agent/template new file mode 100644 index 000000000000..05a93652d3f2 --- /dev/null +++ b/srcpkgs/python3-user_agent/template @@ -0,0 +1,17 @@ +# 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_install() { + vlicense LICENSE +} From 11ecb19e265041b94c05ad2090feb79b215b4677 Mon Sep 17 00:00:00 2001 From: Jason Manley Date: Tue, 19 Jul 2022 18:34:10 -0500 Subject: [PATCH 2/2] New package: finviz-1.44 --- srcpkgs/finviz/template | 4 ++++ srcpkgs/python3-user_agent/template | 1 + 2 files changed, 5 insertions(+) diff --git a/srcpkgs/finviz/template b/srcpkgs/finviz/template index 406e008f3b25..cff131dddf30 100644 --- a/srcpkgs/finviz/template +++ b/srcpkgs/finviz/template @@ -5,6 +5,10 @@ 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" +<<<<<<< HEAD +======= +checkdepends="tox python3-pytest python3-user_agent" +>>>>>>> e01ff85158 (New package: finviz-1.44) short_desc="FinViz Python API" maintainer="Jason Manley " license="GPL-3.0-or-later" diff --git a/srcpkgs/python3-user_agent/template b/srcpkgs/python3-user_agent/template index 05a93652d3f2..d7f40398a3d7 100644 --- a/srcpkgs/python3-user_agent/template +++ b/srcpkgs/python3-user_agent/template @@ -5,6 +5,7 @@ revision=1 wrksrc="user_agent-${version}" build_style=python3-module hostmakedepends="python3 python3-setuptools python3-six python3-pytest" +checkdepends="tox python3-pytest python3-ConfigArgParse" short_desc="Python 3 user-agent module" maintainer="Jason Manley " license="MIT"