gentoo/sci-libs/pyshp/pyshp-3.0.2_p1.ebuild
Alfred Wingate 13376c75cd
sci-libs/pyshp: add 3.0.2_p1, drop 3.0.2
* Drop ill advised sed (leading to bug #966136 in revdeps)
* Bump python3.14.
* Drop unnecessary dependencies that wouldve belonged in BDEPEND
  eitherway.
* Use pypi tarball as it has tests.
* Use modern distutils-r1 methods for tests.

Closes: https://bugs.gentoo.org/966136
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44647
Closes: https://github.com/gentoo/gentoo/pull/44647
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
2025-11-18 14:47:05 +01:00

24 lines
483 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1 pypi
DESCRIPTION="Pure Python read/write support for ESRI Shapefile format"
HOMEPAGE="https://pypi.org/project/pyshp/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
epytest test_shapefile.py -m "not network"
}