[arch-commits] Commit in python-reedsolo/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed Dec 2 10:52:59 UTC 2020
Date: Wednesday, December 2, 2020 @ 10:52:58
Author: jelle
Revision: 769135
upgpkg: python-reedsolo 1.5.4-1
New dependency of esptool
Modified:
python-reedsolo/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-02 10:22:41 UTC (rev 769134)
+++ PKGBUILD 2020-12-02 10:52:58 UTC (rev 769135)
@@ -1,16 +1,15 @@
# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-pkgname=python-reedsolomon
+pkgname=python-reedsolo
pkgver=1.5.4
pkgrel=1
-pkgdesc='A pure-python universal errors-and-erasures Reed-Solomon Codec'
+pkgdesc="A pure-python universal errors-and-erasures Reed-Solomon Codec"
arch=('x86_64')
url="https://github.com/tomerfiliba/reedsolomon"
-license=('custom')
-depends=('python' )
-makedepends=('git' 'python-setuptools' 'python-nose' 'cython')
+license=('MIT')
+makedepends=('python' 'cython')
depends=('python')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tomerfiliba/reedsolomon/archive/v${pkgver}.tar.gz")
+source=($pkgname-$pkgver.tar.gz::https://github.com/tomerfiliba/reedsolomon/archive/v${pkgver}.tar.gz)
sha512sums=('c738f817c8f536ee86e5bcd3de73a4cf6a3e606ba196a359b6c09e7372dba31316ddb8b134d7c335100e4c2ff0158ff07caa35fee9bc20768bde23cd803e274a')
build() {
@@ -21,6 +20,7 @@
check() {
cd "reedsolomon-${pkgver}"
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+
PYTHONPATH="$PWD/build/lib.linux-$CARCH-${python_version}" python -m unittest discover tests
}
More information about the arch-commits
mailing list