From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DE841158089 for ; Thu, 21 Sep 2023 09:54:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 291B32BC072; Thu, 21 Sep 2023 09:54:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DADA72BC072 for ; Thu, 21 Sep 2023 09:54:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2562335D85 for ; Thu, 21 Sep 2023 09:54:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DEA7F122A for ; Thu, 21 Sep 2023 09:54:20 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1695290054.4e95fea282722097cc11e7e3be6f8b93c0f45e38.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyproj/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyproj/Manifest dev-python/pyproj/pyproj-3.6.1.ebuild X-VCS-Directories: dev-python/pyproj/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4e95fea282722097cc11e7e3be6f8b93c0f45e38 X-VCS-Branch: master Date: Thu, 21 Sep 2023 09:54:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1975e675-d233-443b-ad02-202e09f70a59 X-Archives-Hash: 24c65967a4a82157e087c33b2c538af7 commit: 4e95fea282722097cc11e7e3be6f8b93c0f45e38 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 21 06:02:38 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 21 09:54:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e95fea2 dev-python/pyproj: Bump to 3.6.1 Closes: https://bugs.gentoo.org/911736 Signed-off-by: Michał Górny gentoo.org> dev-python/pyproj/Manifest | 1 + dev-python/pyproj/pyproj-3.6.1.ebuild | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/pyproj/Manifest b/dev-python/pyproj/Manifest index be235bf1c216..43bfc94e36e5 100644 --- a/dev-python/pyproj/Manifest +++ b/dev-python/pyproj/Manifest @@ -1 +1,2 @@ DIST pyproj-3.6.0.gh.tar.gz 238966 BLAKE2B 441904a343b7abab19e9d17a1bcb053d4f5606886b1325cfadcdd8456b61871bee4d13c49802008aea5c5864c40ef15a4a7681969890368a1991ba696b76ab78 SHA512 e713de94331022112049e76f7f56d24439a0dee339e8419acf8b023b3234a7c2ba468bed880749036fca2a93b289575ebb74854ba178f3b6debae8aa53befcf7 +DIST pyproj-3.6.1.gh.tar.gz 239568 BLAKE2B e396e7c13dfc90f8a8eaf93b7bc0e62921779930d9c42b21ce8afa95597b13e527c179096600f40140d6d00d0f425580fccc34ae55a4e8c985d1b618554c9db4 SHA512 19c55e7ab99aae70bc318246146dc98ba75cc4884de798392f590df48c6a83e1b80504fd9c555ffd9d19262eb93cdf2c46e4805a3ae6dc07b3eaa4669f025ff0 diff --git a/dev-python/pyproj/pyproj-3.6.1.ebuild b/dev-python/pyproj/pyproj-3.6.1.ebuild new file mode 100644 index 000000000000..5157fb21ee1d --- /dev/null +++ b/dev-python/pyproj/pyproj-3.6.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to the PROJ library" +HOMEPAGE=" + https://github.com/pyproj4/pyproj/ + https://pypi.org/project/pyproj/ +" +SRC_URI=" + https://github.com/pyproj4/pyproj/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux" + +DEPEND=" + >=sci-libs/proj-9.0.0:= +" +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + ${DEPEND} +" +BDEPEND=" + >=dev-python/cython-3[${PYTHON_USEDEP}] + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/shapely[${PYTHON_USEDEP}] + dev-python/xarray[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_configure() { + # Avoid greedily trying -L/usr/lib, etc + # https://github.com/pyproj4/pyproj/blob/main/setup.py#L76 + export PROJ_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" + export PROJ_INCDIR="${ESYSROOT}/usr/include" +} + +python_test() { + rm -rf pyproj || die + epytest -m "not network" test +}