mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-libs/pyshp: add 3.0.2
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST pyshp-2.4.1..gh.tar.gz 2220419 BLAKE2B 3183c41a1a0be1081a44a1d0d479ff3f98353f28a560b62ff3c5f5f14e8e38d26c3bc3135b286df4eb581c4a6f3131dde956c82f2961a614e15ace820380132e SHA512 5bc58c6acb11eb170f851e4631f5befd7a14b3b55475cfb41c0984e3d71386932fe93b6fb982f04d7c5766f7a05cd1aec9329b71c9515cf045b37efb9af3ccc3
|
||||
DIST pyshp-3.0.2.gh.tar.gz 2229746 BLAKE2B 7697c202e88cdc745144f2ce3ddf1ba4544d5225ceab28f14cbf09dcc19007a4ac75f8c983ce258acac2873ed009fbb1877eb3cd7b434cae2ab3308fa42cb811 SHA512 138dcf93fcdb604845f58ad52f88e869e6d88a50b77ccb3ece8e80369720951bef7a876900350dc4dba5e8ae36507184408d6644b6d3594e9e1e0f422d9c9f40
|
||||
|
||||
36
sci-libs/pyshp/pyshp-3.0.2.ebuild
Normal file
36
sci-libs/pyshp/pyshp-3.0.2.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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=hatchling
|
||||
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}]
|
||||
dev-python/hatchling[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed -i -e "s/\"src\" = \"\"/\"src\" = \"shapefile\"/g" pyproject.toml || die
|
||||
default_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest test_shapefile.py -m "not network" || die
|
||||
}
|
||||
Reference in New Issue
Block a user