unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: attila.lendvai@gmail.com
To: 73305@debbugs.gnu.org
Cc: Attila Lendvai <attila@lendvai.name>,
	Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>,
	Tanguy Le Carrour <tanguy@bioneland.org>,
	jgart <jgart@dismail.de>
Subject: [bug#73305] [PATCH v2 2/2] gnu: python-pycurl: Build from git.
Date: Sun, 24 Nov 2024 12:28:19 +0100	[thread overview]
Message-ID: <5002234a8b312381fd91d7d8a8db32a2b28b95f0.1732447697.git.attila@lendvai.name> (raw)
In-Reply-To: <9877ca71d1919b41b32f3fbd2058d996d3b02053.1732447697.git.attila@lendvai.name>

From: Attila Lendvai <attila@lendvai.name>

Change-Id: I1b347c04022970ffe42a87530e525a83745ff84c
---
 gnu/packages/python-web.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2270ccdd14..0d484da959 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2019,10 +2019,15 @@ (define-public python-pycurl
     (version "7.45.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "pycurl" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pycurl/pycurl")
+             (commit (string-append
+                      "REL_" (string-replace-substring version "." "_")))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1ji46b924caa4saxvjxs9h673yy0kif297nxpnjn84r7w05mjc2p"))))
+        (base32
+         "1dzdramcgf63m1zg8glhqa3ik9anzjy954mshk7s3z3gsi21n8fp"))))
     (build-system pyproject-build-system)
     (arguments
      '(#:test-flags
-- 
2.46.0





  reply	other threads:[~2024-11-24 11:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-16 20:53 [bug#73305] [PATCH 1/2] gnu: python-pycurl: Fix build by running the tests single-threaded attila.lendvai
2024-11-24 11:28 ` [bug#73305] [PATCH v2 " attila.lendvai
2024-11-24 11:28   ` attila.lendvai [this message]
2024-11-24 14:28 ` [bug#73305] [PATCH " Sharlatan Hellseher
2024-11-24 14:53 ` bug#73305: " Sharlatan Hellseher

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=5002234a8b312381fd91d7d8a8db32a2b28b95f0.1732447697.git.attila@lendvai.name \
    --to=attila.lendvai@gmail.com \
    --cc=73305@debbugs.gnu.org \
    --cc=attila@lendvai.name \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    --cc=sharlatanus@gmail.com \
    --cc=tanguy@bioneland.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).