Github messages for voidlinux
 help / color / mirror / Atom feed
From: cinerea0 <cinerea0@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] gdown: update to 5.1.0
Date: Sat, 10 Feb 2024 23:39:25 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48646@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

There is a new pull request by cinerea0 against master on the void-packages repository

https://github.com/cinerea0/void-packages gdown
https://github.com/void-linux/void-packages/pull/48646

gdown: update to 5.1.0
#### Testing the changes
- I tested the changes in this PR: **YES**



A patch file from https://github.com/void-linux/void-packages/pull/48646.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gdown-48646.patch --]
[-- Type: text/x-diff, Size: 2531 bytes --]

From d0895370071f3d7c1ce4a37d8f0e2604b290b1d9 Mon Sep 17 00:00:00 2001
From: cinerea0 <cinerea0@disroot.org>
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 <travankor@tuta.io>"
 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

             reply	other threads:[~2024-02-10 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-10 22:39 cinerea0 [this message]
2024-02-11 20:49 ` [PR PATCH] [Merged]: " cinerea0

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48646@inbox.vuxu.org \
    --to=cinerea0@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).