commit:     600e269f019097224d243e2a1394c6c1981c07ad
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  1 15:01:23 2025 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Fri Aug  1 15:01:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=600e269f

sci-libs/pyshp: add 2.4.1

Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 sci-libs/pyshp/Manifest           |  1 +
 sci-libs/pyshp/pyshp-2.4.1.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/sci-libs/pyshp/Manifest b/sci-libs/pyshp/Manifest
index c13a1c28740d..5c96723c250c 100644
--- a/sci-libs/pyshp/Manifest
+++ b/sci-libs/pyshp/Manifest
@@ -1,2 +1,3 @@
 DIST pyshp-2.3.1..gh.tar.gz 2213685 BLAKE2B 
ca5b87dec442508bc4a0612982984ba0fb91aa8acffddb6a448c43ccf42285305600a5e28e1fb781a3d94e8ce0624d027642fddcc5f2176dca3df095e59df170
 SHA512 
08844492b8d1d824c639844f7f314909d946bd4d3703a4f8d4cb64d400729671b42ff5b0f80aa68d9469f3939a3c7619ba13c9efdcba3b244ec01d7be3a371c5
 DIST pyshp-2.4.0..gh.tar.gz 2217721 BLAKE2B 
5d8e796038f48acfade9cb00d20e12ee254ee587b2f10d2a9e75b22c17014d19e9d3f85d5a9d30382d98603291bbe84d5c52f784092c90ecd460a168a00a92dc
 SHA512 
eed21d91b0b19a874f171a37ae42ac69b073c47485456e5ea15520ca32837fde4f564b719fa9c7fb1e018e28c32de81e5aaf3025858171337d3765e65dfe64ab
+DIST pyshp-2.4.1..gh.tar.gz 2220419 BLAKE2B 
3183c41a1a0be1081a44a1d0d479ff3f98353f28a560b62ff3c5f5f14e8e38d26c3bc3135b286df4eb581c4a6f3131dde956c82f2961a614e15ace820380132e
 SHA512 
5bc58c6acb11eb170f851e4631f5befd7a14b3b55475cfb41c0984e3d71386932fe93b6fb982f04d7c5766f7a05cd1aec9329b71c9515cf045b37efb9af3ccc3

diff --git a/sci-libs/pyshp/pyshp-2.4.1.ebuild 
b/sci-libs/pyshp/pyshp-2.4.1.ebuild
new file mode 100644
index 000000000000..7ca1a4c4a3ea
--- /dev/null
+++ b/sci-libs/pyshp/pyshp-2.4.1.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
+}

Reply via email to