Github messages for voidlinux
 help / color / mirror / Atom feed
From: ndowens <ndowens@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-ecdsa: update to 0.16.1
Date: Sun, 06 Dec 2020 00:52:23 +0100	[thread overview]
Message-ID: <20201205235223.WcfzZmFs4guXVUOMsJZ5plGnh2lGiAFIjEYc7IGUfXA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26735@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

There is an updated pull request by ndowens against master on the void-packages repository

https://github.com/ndowens/void-packages python-ecdsa
https://github.com/void-linux/void-packages/pull/26735

python3-ecdsa: update to 0.16.1


A patch file from https://github.com/void-linux/void-packages/pull/26735.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-ecdsa-26735.patch --]
[-- Type: text/x-diff, Size: 1572 bytes --]

From 629005abb048b16c52fdfb39fe89c04aec53189f Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Thu, 26 Nov 2020 17:54:24 -0600
Subject: [PATCH] python3-ecdsa: update to 0.16.1

---
 srcpkgs/python3-ecdsa/template | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-ecdsa/template b/srcpkgs/python3-ecdsa/template
index 3de4d1e4a44..ec82d04e288 100644
--- a/srcpkgs/python3-ecdsa/template
+++ b/srcpkgs/python3-ecdsa/template
@@ -1,23 +1,23 @@
 # Template file for 'python3-ecdsa'
 pkgname=python3-ecdsa
-version=0.14.1
-revision=5
-wrksrc="ecdsa-${version}"
+version=0.16.1
+revision=1
+wrksrc="python-ecdsa-python-ecdsa-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-six"
+checkdepends="python3-pytest python3-hypothesis python3-coverage"
 short_desc="Implementation of ECDSA in Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/warner/python-ecdsa/"
-distfiles="${PYPI_SITE}/e/ecdsa/ecdsa-${version}.tar.gz"
-checksum=64c613005f13efec6541bb0a33290d0d03c27abab5f15fbab20fb0ee162bdd8e
+distfiles="https://github.com/warner/python-ecdsa/archive/python-ecdsa-${version}.tar.gz"
+checksum=3b9fb3cc04d7375e1087dc5b31d6e3edd76a07b307f417b78b8924e164438828
 
-pre_build() {
-	# use system six
-	find . -type f -name '*.py' -exec sed -i 's/from \(ecdsa\|\)\.six/from six/g' {} +
-	rm -f ecdsa/six.py
+do_check() {
+	coverage run --branch -m pytest src/ecdsa
 }
+
 post_install() {
 	vlicense LICENSE
 }

           reply	other threads:[~2020-12-05 23:52 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26735@inbox.vuxu.org>]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201205235223.WcfzZmFs4guXVUOMsJZ5plGnh2lGiAFIjEYc7IGUfXA@z \
    --to=ndowens@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
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 NNTP newsgroup(s).