commit:     10bf9793df002c6eb32eb9f7bfdba14153634e1f
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 22 16:22:43 2020 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 20:41:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10bf9793

sci-libs/pyshp: Version bump, add py3.7 and 3.8

Take maintainership of the package.

Closes: https://bugs.gentoo.org/718500
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 sci-libs/pyshp/Manifest           |  1 +
 sci-libs/pyshp/metadata.xml       |  5 ++++-
 sci-libs/pyshp/pyshp-2.1.0.ebuild | 25 +++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/sci-libs/pyshp/Manifest b/sci-libs/pyshp/Manifest
index 6ae88c063bd..4c844169a68 100644
--- a/sci-libs/pyshp/Manifest
+++ b/sci-libs/pyshp/Manifest
@@ -1 +1,2 @@
 DIST pyshp-1.2.0.tar.gz 58993 BLAKE2B 
f7cb69976b6dd089be45d7984765f803ce94300dc19df1b99a11ba876365f49659fb37a5ebfa36ebe3ce6de4df9f0b80f628160ace9b11a66a247f9a57ac0a80
 SHA512 
c77e19f258ba9d2e2c480b82c342d2bbeae4b5855627aa98777fbf590e904d50045edecaa0e5ec2e03ddaaf49bf7261944fb77bcd26bf6d21e50c90c30cd0b43
+DIST pyshp-2.1.0.tar.gz 215360 BLAKE2B 
2b32a3db242b90f801abdbc31f3c930bc40c3ad0606433d90f62c6b9af3c0459e8c8467d60aec1075368779e5a4fffa9e3985e1875d82edf732faf982359c605
 SHA512 
ab0c7832f7e480ec3cdbf94ec29f84b590486625bde3d5cf465e5dc6ddca02998b99510b6c14d5ba005816c5b091044badc1e68988fd971f9e18266096ad86cb

diff --git a/sci-libs/pyshp/metadata.xml b/sci-libs/pyshp/metadata.xml
index 512ca5c34a9..3da8982993c 100644
--- a/sci-libs/pyshp/metadata.xml
+++ b/sci-libs/pyshp/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-  <!-- maintainer-needed -->
+  <maintainer type="person">
+    <email>tom...@gentoo.org</email>
+    <name>Thomas Beierlein</name>
+  </maintainer>
   <upstream>
     <remote-id type="pypi">pyshp</remote-id>
   </upstream>

diff --git a/sci-libs/pyshp/pyshp-2.1.0.ebuild 
b/sci-libs/pyshp/pyshp-2.1.0.ebuild
new file mode 100644
index 00000000000..5499cd13c87
--- /dev/null
+++ b/sci-libs/pyshp/pyshp-2.1.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit distutils-r1
+
+DESCRIPTION="Pure Python read/write support for ESRI Shapefile format"
+HOMEPAGE="https://pypi.org/project/pyshp/";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+       "${EPYTHON}" shapefile.py || die
+}

Reply via email to