mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-python/pyproj: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST pyproj-3.4.0.gh.tar.gz 231365 BLAKE2B a62e02a33424583ffec1e1de603a0162ea187b4eb093be51b957fb720b3625c7e4b65162f1272fb4a057edfd92f8146d74c17f1ad68a3beb0ae199df8641e03b SHA512 d0e9425ea5a10ce1620c2a2b3279be786741e75ad698a2430e38237acb73e2cd7dbd16dbb4cf952f52c38810526f4528c08f9bb0795a34fdab2f39686e6914c9
|
||||
DIST pyproj-3.4.1.gh.tar.gz 232371 BLAKE2B 70b0ccbf898c6b52b2a24db811f8d49df89a67afda5a4d2d486aa30e21fdd6438842346a876138a3018edd5308c6c6f49c1473c345507be3af831a3a734ae5a2 SHA512 e1588906c42a6cbf832ea2d2a0cf271271b1b3559fccfd7798d823f80653184a660bf14ab6f741f7d0a5b49361e2519893eb155746761d4a02248c1021660e60
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..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 ~x86 ~amd64-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=sci-libs/proj-8.2.0:=
|
||||
dev-python/certifi[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/shapely[${PYTHON_USEDEP}]
|
||||
dev-python/xarray[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-proj-9.1.patch
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/furo
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user