From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QPx9J4CVkWF+gAEAgWs5BA (envelope-from ) for ; Mon, 15 Nov 2021 00:02:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GD8II4CVkWE/JgAAbx9fmQ (envelope-from ) for ; Sun, 14 Nov 2021 23:02:24 +0000 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 8129B5AD7 for ; Mon, 15 Nov 2021 00:02:23 +0100 (CET) Received: from localhost ([::1]:60234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmOVy-0004dg-G5 for larch@yhetil.org; Sun, 14 Nov 2021 18:02:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmOVe-0004dX-Ec for guix-patches@gnu.org; Sun, 14 Nov 2021 18:02:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmOVe-0008Uo-5q for guix-patches@gnu.org; Sun, 14 Nov 2021 18:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmOVd-0004va-V8 for guix-patches@gnu.org; Sun, 14 Nov 2021 18:02:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51854] [PATCH] gnu: Add python-rtree. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Nov 2021 23:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51854 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51854@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163693088118891 (code B ref -1); Sun, 14 Nov 2021 23:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Nov 2021 23:01:21 +0000 Received: from localhost ([127.0.0.1]:51976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmOUz-0004ud-4C for submit@debbugs.gnu.org; Sun, 14 Nov 2021 18:01:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:33644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmOUt-0004uP-WC for submit@debbugs.gnu.org; Sun, 14 Nov 2021 18:01:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmOUt-0004Vw-CC for guix-patches@gnu.org; Sun, 14 Nov 2021 18:01:15 -0500 Received: from mout01.posteo.de ([185.67.36.65]:53279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmOUq-0008S7-Cl for guix-patches@gnu.org; Sun, 14 Nov 2021 18:01:15 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 105CA24002B for ; Mon, 15 Nov 2021 00:01:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636930868; bh=JKrrQkm4WbAIawmrslksIpqq9o08orQuUUtHgo3HuNg=; h=From:To:Cc:Subject:Date:From; b=knYYTGqt6RKHnCW9Y5loeNxuXbU7e9lBJ01VNmXeUksG/I30NnY/1oyOKKqcpImd9 8RyEwHoouKsXtfXk6YDDAxC9fErkGyxyfRHcyRl8syiatiJWS+ay/xGMvkmdXsULTR nY0wIBzDtyFYkXJLLwNqwuUwDRkMcWgxsQZJMhuq4JDFx8hA1Sq+Cfmn3oxY8zS7uH 48liveRZHwGTN9xk+a7UMoubVUiOtq+j7hN2ZNtVD/9x5u8tTKDvFZldS487snjf+8 sbBxTy5z6cGepLk6XUg48ErvfvJQqbmUvd4SWvqbR70iy3Cx46embyUKMQtcSGxfXJ +CRIwVH7Y4xyA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hsnqk2vnPz6tnx; Mon, 15 Nov 2021 00:01:05 +0100 (CET) From: Vinicius Monego Date: Sun, 14 Nov 2021 23:00:52 +0000 Message-Id: <20211114230052.723681-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636930944; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=+7NBIW65S0AfhdNKNngHCrQclt+o7KKN7huBrdj26gU=; b=tX+Uv7nc+loQhpDp+jnJBKs007djiX5mCWgzTkgX/tL/jY0q5wIEcg+s9X8AEY8CMbX3F3 btU1/jcrVJVVozvDpszas0ZSaeXKjTOx61pM+pcdt6EjRPspOo8E6744hP5DxzpwpLbhVs tjZWZ5P9QU7+f3WNamqrCmTcyMgt2nMkMeSowNDbmC42x3oH4D+WmV9+YBopzeGeLuLeUF EV/etFjBnByMOU9i77Wpho9KUBesE2gESDLp9jU3cpRVcu7x0zet4zeGmrE9SELco+Ro5/ C4YL0X3y4lYNV7G/VFrQiP1YnJx8jw8jA/tMnjl9Ptq5tiohS/6t6NyFU47n2A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636930944; a=rsa-sha256; cv=none; b=R5OilPz5QDYlkFLwNAPOHo8RVky8jp+jexwQUndSEyiMFzUdC/uWW1LVKKHyHf3iPMeKD1 COCaYSQ7B5xMaigESqTrfNa3OdUniehp5q5sPPiEgLdP8YRzT8+KPiT1UhASj285CL0Ejj CPyfgDSLcOwHoDwAcJbalJH6czinGaAqn4i2xVKVMFY9HlZiOaAwT7nQJVq0f9/RnFwt0G 2YnqbpbfZZ+JWTK1TgR48eVwZg+qfZex9Be0scBgaWo9P1VEBcJICYpX9e50oENf1T5bDM hRO0HeCrkl66/h81nIZGnL+bxvj1hLLVfbG0gqTie4DwFIT+9RSC9q58BKA8Zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=knYYTGqt; 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: -0.74 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=knYYTGqt; 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: 8129B5AD7 X-Spam-Score: -0.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: vIxzgEI5uS9d * gnu/packages/geo.scm (python-rtree): New variable. --- gnu/packages/geo.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index adfec13b4f..d70e2f6cc3 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -92,6 +92,7 @@ #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-science) @@ -1468,6 +1469,42 @@ persisted. ") (license license:expat))) +(define-public python-rtree + (package + (name "python-rtree") + (version "0.9.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Rtree" version)) + (sha256 + (base32 "0gna530vy6rh76035cqh7i2lx199cvxjrzjczg9rm6k96k5751xy")))) + (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")))) + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (native-inputs + `(("python-numpy" ,python-numpy) + ("python-pytest" ,python-pytest) + ("python-wheel" ,python-wheel))) + (inputs + `(("libspatialindex" ,libspatialindex))) + (home-page "https://github.com/Toblerity/rtree") + (synopsis "R-Tree spatial index for Python GIS") + (description + "RTree is a Python package with bindings for @code{libspatialindex}.") + (license license:expat))) + (define-public java-jmapviewer (package (name "java-jmapviewer") base-commit: 193d7b5b450d2004c26720e488a9cce930542e9e -- 2.30.2