[arch-commits] Commit in python-ecdsa/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Mar 19 12:46:26 UTC 2020
Date: Thursday, March 19, 2020 @ 12:46:24
Author: felixonmars
Revision: 600877
upgpkg: python-ecdsa 0.14-1
Modified:
python-ecdsa/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-19 12:45:52 UTC (rev 600876)
+++ PKGBUILD 2020-03-19 12:46:24 UTC (rev 600877)
@@ -3,24 +3,30 @@
pkgbase=python-ecdsa
pkgname=('python-ecdsa' 'python2-ecdsa')
-pkgver=0.13.3
-pkgrel=3
+pkgver=0.14
+pkgrel=1
pkgdesc="Implementation of ECDSA in Python"
arch=('any')
url="https://github.com/warner/python-ecdsa"
license=('MIT')
makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python-hypothesis')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/e/ecdsa/ecdsa-$pkgver.tar.gz" "LICENSE")
-md5sums=('b1b33f7fe171eb1278de6f93eefc34f8'
- '66ffc5e30f76cbb5358fe54b645e5a1d')
+sha512sums=('3ba419e0e136cd94c3979bd8133276d0007fb40ec84faafa951b497792150a7b925738a49b1c740fadd8506ec09228db305f8ace09d27924de729fe2f18ffc44'
+ '5519af4e81ecb681e2ef1a26602efed1640d6e3bf100d8c492dd4bbce4dba75de6a5a308115ff78a8dcd5d428630a92dd88fe9abfaeed04cd066b3f4d288b219')
build() {
cp -R "$srcdir/ecdsa-$pkgver" "$srcdir/ecdsa-$pkgver-py2"
cd "$srcdir/ecdsa-$pkgver-py2"
- sed -ie 's#/usr/bin/env python#/usr/bin/env python2#' ecdsa/*.py
+ sed -ie 's#/usr/bin/env python#/usr/bin/env python2#' src/ecdsa/*.py
}
+check() {
+ cd "$srcdir/ecdsa-$pkgver"
+ python -m pytest
+}
+
package_python-ecdsa() {
depends=('python')
cd "$srcdir/ecdsa-$pkgver"
More information about the arch-commits
mailing list