commit: 0ad680df4463c3a508d693f2c0519dba20b50f88 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> AuthorDate: Fri Mar 28 09:54:50 2025 +0000 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> CommitDate: Fri Mar 28 09:55:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ad680df
sci-libs/pyshp: Add python3_13 Closes: https://bugs.gentoo.org/952679 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> sci-libs/pyshp/pyshp-2.3.1-r3.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/sci-libs/pyshp/pyshp-2.3.1-r3.ebuild b/sci-libs/pyshp/pyshp-2.3.1-r3.ebuild new file mode 100644 index 000000000000..7ca1a4c4a3ea --- /dev/null +++ b/sci-libs/pyshp/pyshp-2.3.1-r3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +PYTHON_COMPAT=( python3_{9..13} ) + +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="Pure Python read/write support for ESRI Shapefile format" +HOMEPAGE="https://pypi.org/project/pyshp/" +# pypi tarballs are missing test data +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/GeospatialPython/${PN}/archive/${PV}.tar.gz -> ${P}..gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + epytest test_shapefile.py -m "not network" || die +}
