mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
* 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>
24 lines
483 B
Bash
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"
|
|
}
|