From: Vinicius Monego <monego@posteo.net>
To: 48614@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#48614] [PATCH 1/3] gnu: Add python-pyshp.
Date: Sun, 23 May 2021 19:31:31 +0000 [thread overview]
Message-ID: <20210523193134.425937-1-monego@posteo.net> (raw)
In-Reply-To: <20210523192931.425681-1-monego@posteo.net>
* gnu/packages/python-xyz.scm (python-pyshp): New variable.
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f79fc54e24..18410dac39 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5806,6 +5806,37 @@ operators such as union, intersection, and difference.")
(define-public python2-pysnptools
(package-with-python2 python-pysnptools))
+(define-public python-pyshp
+ (package
+ (name "python-pyshp")
+ (version "2.1.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/GeospatialPython/pyshp")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jsraqzq82pw19wvx84x7w5cs8agr44a9b5y0jjw540wim4xa73r"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; This is the only test file.
+ (invoke "python" "-m" "pytest" "test_shapefile.py")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (home-page "https://github.com/GeospatialPython/pyshp")
+ (synopsis "Read/write support for ESRI Shapefile format")
+ (description
+ "The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles.")
+ (license license:expat)))
+
(define-public python-wurlitzer
(package
(name "python-wurlitzer")
--
2.31.1
next prev parent reply other threads:[~2021-05-23 19:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-23 19:29 [bug#48614] [PATCH 0/3] gnu: Add python-cartopy Vinicius Monego
2021-05-23 19:31 ` Vinicius Monego [this message]
2021-05-23 19:31 ` [bug#48614] [PATCH 2/3] gnu: Add python-pykdtree Vinicius Monego
2021-05-23 19:31 ` [bug#48614] [PATCH 3/3] gnu: Add python-cartopy Vinicius Monego
2021-05-24 23:11 ` Björn Höfling
2021-05-26 18:00 ` Vinicius Monego
2021-06-23 4:53 ` bug#48614: " Björn Höfling
2021-06-23 10:06 ` [bug#48614] " Vinicius Monego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210523193134.425937-1-monego@posteo.net \
--to=monego@posteo.net \
--cc=48614@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).