From d0895370071f3d7c1ce4a37d8f0e2604b290b1d9 Mon Sep 17 00:00:00 2001 From: cinerea0 Date: Sat, 10 Feb 2024 17:38:51 -0500 Subject: [PATCH] gdown: update to 5.1.0 --- .../gdown/patches/remove-hatch-plugin.patch | 25 +++++++++++++++++++ srcpkgs/gdown/template | 11 ++++---- 2 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/gdown/patches/remove-hatch-plugin.patch diff --git a/srcpkgs/gdown/patches/remove-hatch-plugin.patch b/srcpkgs/gdown/patches/remove-hatch-plugin.patch new file mode 100644 index 0000000000000..367e785e0543d --- /dev/null +++ b/srcpkgs/gdown/patches/remove-hatch-plugin.patch @@ -0,0 +1,25 @@ +# 'hatch-fancy-pypi-readme' is not really necessary to build +diff --git a/pyproject.toml b/pyproject.toml +index 06e6cc88252..5628a8df080 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["hatchling>=1.20.0", "hatch-vcs", "hatch-fancy-pypi-readme"] ++requires = ["hatchling>=1.20.0", "hatch-vcs"] + build-backend = "hatchling.build" + + [project] +@@ -53,12 +53,6 @@ test = [ + [project.urls] + Homepage = "https://github.com/wkentaro/gdown" + +-[tool.hatch.metadata.hooks.fancy-pypi-readme] +-content-type = "text/markdown" +-fragments = [ +- { path = "README.md" }, +-] +- + [tool.hatch.version] + source = "vcs" + diff --git a/srcpkgs/gdown/template b/srcpkgs/gdown/template index 46a56c4ffb38c..5b54e284c72d4 100644 --- a/srcpkgs/gdown/template +++ b/srcpkgs/gdown/template @@ -1,9 +1,9 @@ # Template file for 'gdown' pkgname=gdown -version=4.7.1 -revision=2 +version=5.1.0 +revision=1 build_style=python3-pep517 -hostmakedepends="python3-setuptools python3-wheel" +hostmakedepends="hatchling hatch-vcs python3-setuptools python3-wheel" depends="python3-filelock python3-requests python3-six python3-tqdm python3-pysocks python3-BeautifulSoup4" checkdepends="${depends} python3-pytest" @@ -12,8 +12,9 @@ maintainer="travankor " license="MIT" homepage="https://github.com/wkentaro/gdown" changelog="https://github.com/wkentaro/gdown/releases" -distfiles="https://github.com/wkentaro/gdown/archive/refs/tags/v${version}.tar.gz" -checksum=15ba108245126ded919f08cc24550403721c853870dc520e5036366504829cca +distfiles="${PYPI_SITE}/g/gdown/gdown-${version}.tar.gz" +checksum=550a72dc5ca2819fe4bcc15d80d05d7c98c0b90e57256254b77d0256b9df4683 +make_check=no # tests download random files from google drive and hang post_install() { vlicense LICENSE