commit:     54df1b66355159719d87ebf601bd3a37b8bb8812
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 29 07:28:05 2025 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Tue Jul 29 07:28:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54df1b66

sci-libs/pyshp: add 2.4.0

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

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

diff --git a/sci-libs/pyshp/Manifest b/sci-libs/pyshp/Manifest
index 8976f914a60e..c13a1c28740d 100644
--- a/sci-libs/pyshp/Manifest
+++ b/sci-libs/pyshp/Manifest
@@ -1 +1,2 @@
 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

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