From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UBfUGcOehmKJpwAAbAwnHQ (envelope-from ) for ; Thu, 19 May 2022 21:47:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QKS8GMOehmK6GwAAG6o9tA (envelope-from ) for ; Thu, 19 May 2022 21:47:15 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 07CED239DF for ; Thu, 19 May 2022 21:47:14 +0200 (CEST) Received: from localhost ([::1]:47690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrm77-0005aq-VV for larch@yhetil.org; Thu, 19 May 2022 15:47:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrm6w-0005ZU-6b for guix-patches@gnu.org; Thu, 19 May 2022 15:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrm6v-0002QC-UI for guix-patches@gnu.org; Thu, 19 May 2022 15:47:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrm6v-000387-S0 for guix-patches@gnu.org; Thu, 19 May 2022 15:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55528] [PATCH 1/2] gnu: python-rtree: Update to 1.0.0. Resent-From: Felix Gruber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 19 May 2022 19:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55528 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55528@debbugs.gnu.org Cc: Felix Gruber Received: via spool by 55528-submit@debbugs.gnu.org id=B55528.165298957911958 (code B ref 55528); Thu, 19 May 2022 19:47:01 +0000 Received: (at 55528) by debbugs.gnu.org; 19 May 2022 19:46:19 +0000 Received: from localhost ([127.0.0.1]:36642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrm6F-00036n-IO for submit@debbugs.gnu.org; Thu, 19 May 2022 15:46:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrm6C-00036Z-Tr for 55528@debbugs.gnu.org; Thu, 19 May 2022 15:46:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4B52A240109 for <55528@debbugs.gnu.org>; Thu, 19 May 2022 21:46:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1652989571; bh=oBSF8vvvc5n2gX0FY5uoLmj9t6p4VZM15av/Hs5Lcvk=; h=From:To:Cc:Subject:Date:From; b=gFAkZsu1Ca+Ci44Zc9aqxCuWU8OPpw0ZC2igClXT4aHJamKTKK9o9twafSbt6ntW8 Fy/OoE2PC26bGoBo3Lo+zWcJ31c1eeJaJ8TZZflqcWoxm5k/swc6mexlF+ndd24aH5 f+SLgNPWia4BNWoM0pfPgpON+iqNieLAVGbZp5xtl3MPEpS2fOrrAVGDX6Per7y63P 3VWsdoVQOt5BIKfLS8e4g1vjww5SfayUeDCZIm04/W5jtY3F+BSEZIiYgo8wnHi38d xZvbA94zavjiGeOOn8kdibM0JrCLfPV6i+b5aAtunV8ICIyMgSXULxWEc5na13pUo9 ytQ1OP+cLdWtA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4L40hy4Np0z9rxG; Thu, 19 May 2022 21:46:10 +0200 (CEST) From: Felix Gruber Date: Thu, 19 May 2022 19:46:05 +0000 Message-Id: <20220519194606.4548-1-felgru@posteo.net> In-Reply-To: <20220519194407.4435-1-felgru@posteo.net> References: <20220519194407.4435-1-felgru@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652989635; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Qx0rQrxtZJPl5TlrP8BMnIjZN9QtWyqbB61w/FCeQyw=; b=LdgRNxe1GPWbDXFaIYLLACprA58MFMdt1I13I3UZAcrS1JEkqeXvL6fWg/3PjAD7U12X92 v3kG4u/D2UQUkd01KdipCFxAZqBJkPxATSqI+BGEUkqWU96wA7u2dqNnfFycaDWZXmpDDl 9Ut0I0z65KXLCXSem8MKjYCNo2gpibaynZ/T/ZVVKYY67mbXF5egnMimDBq5vNQo+lS77s ISgmMdsBTKVHuIaZz2IzfTq2Eg0w39Qz71ln9YIFiAmt3FpA7rpFveD69fR0/d/W1Upj12 PgzoUZCJMzf8TiBLxflnUJhL3uuRODL0Ri+4xqW2sAobrwlt2Gi8Oi6g7c1zyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652989635; a=rsa-sha256; cv=none; b=mpLLf5SnDMlMLvFJlfT5q51Mo7SzW4f1Qfk0sfzX+bBe/g2ELJkniGmeltjjwDvYBl2T58 tIXS3rDKzB1IZ5ZpYBIgFrVEz4tUZiEaXzdDA9UwVPaL4SacTrnfUGfxOYgCvGWPOZ+cJS 6Uqa34A/JmYJbNTnBCCB/vC7RgfE5vSuYxf9SjC/HfsKcN3a2HC1HBZ85gObYZdyc3wZrZ yIS2E2amz4ZcqMpitdIsQYft7Y7TwJ8Ecm8cHQpg+VQzfN6onQCL7pdgr2WPqw/fj8uglp wiV/YckP3pfZaUF8LJFI62i1DhopLVeWUergz4r28Hv6G/vzwXAt0u0/SCGS1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gFAkZsu1; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gFAkZsu1; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 07CED239DF X-Spam-Score: 7.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: lLxk7Fe+4hD7 * gnu/packages/geo.scm (python-rtree): Update to 1.0.0. [arguments]: Fix 'find-libspatialindex phase. --- gnu/packages/geo.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 0c9240eea7..37a3e6d179 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1486,27 +1486,28 @@ persisted. (define-public python-rtree (package (name "python-rtree") - (version "0.9.7") + (version "1.0.0") (source (origin (method url-fetch) (uri (pypi-uri "Rtree" version)) (sha256 - (base32 "0gna530vy6rh76035cqh7i2lx199cvxjrzjczg9rm6k96k5751xy")))) + (base32 "10lnhf67c9pb0yisxdqmb52dy6lj1za1h9d4p69v0ihk2a138j6h")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'find-libspatialindex (lambda* (#:key inputs #:allow-other-keys) - (setenv "SPATIALINDEX_C_LIBRARY" - (string-append (assoc-ref inputs "libspatialindex") - "/lib/libspatialindex.so")))) + (let ((libspatialindex (assoc-ref inputs "libspatialindex"))) + (substitute* "rtree/finder.py" + (("find_library\\(\"spatialindex_c\"\\)") + (string-append "\"" libspatialindex + "/lib/libspatialindex_c.so\"")))))) (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (lambda* (#:key outputs tests? #:allow-other-keys) (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest"))))))) + (invoke "pytest"))))))) (native-inputs (list python-numpy python-pytest python-wheel)) (inputs -- 2.30.2