dev-python/pyproj: Bump to 3.7.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-15 05:17:15 +02:00
parent 5de658eee5
commit f2e52160a5
2 changed files with 57 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pyproj-3.7.1.gh.tar.gz 239121 BLAKE2B 42502c9230d11988c0b14b94226b043bb83bab4885e7490b786b78883a8b73081604dd856bd64b0baf5e241774cc3d384fcc9c1bbecfce10e0fcb3f82fcfadaa SHA512 43582a052e80d1d89120a79ec2ee1b4ae9cc24d65031275286791f2bad7efc0827831d2a7482d9a37988359a26c662d38144a372fc23a45a8edd814fd78fc1b7
DIST pyproj-3.7.2.gh.tar.gz 238905 BLAKE2B 10b3e1865273aa9371ae1593e8e1a7d6fc75176acf56895a832d88718b051c48538d6fd6e5ffabd4824d99826f6e88b9aacb89869d73f88bcf92f3c06538e27f SHA512 dc51e48809ccafb898353e2e497f93bb9dabb867cc4a10304fd8d25f9b8f9002741446e7387b6a0a9d77d7ee27329397eef14a6ff906032d5016b5509f46ef46

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2025 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_{11..13} )
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}]
)
"
EPYTEST_PLUGINS=()
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
}