[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Sun Nov 22 15:32:03 UTC 2020


    Date: Sunday, November 22, 2020 @ 15:32:02
  Author: jelle
Revision: 759204

new dependency of esptool

Added:
  python-reedsolo/
  python-reedsolo/repos/
  python-reedsolo/trunk/
  python-reedsolo/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: python-reedsolo/trunk/PKGBUILD
===================================================================
--- python-reedsolo/trunk/PKGBUILD	                        (rev 0)
+++ python-reedsolo/trunk/PKGBUILD	2020-11-22 15:32:02 UTC (rev 759204)
@@ -0,0 +1,30 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+pkgname=python-reedsolomon
+pkgver=1.5.4
+pkgrel=1
+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')
+depends=('python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tomerfiliba/reedsolomon/archive/v${pkgver}.tar.gz")
+sha512sums=('c738f817c8f536ee86e5bcd3de73a4cf6a3e606ba196a359b6c09e7372dba31316ddb8b134d7c335100e4c2ff0158ff07caa35fee9bc20768bde23cd803e274a')
+
+build() {
+  cd "reedsolomon-${pkgver}"
+  python3 setup.py build
+}
+
+check() {
+  cd "reedsolomon-${pkgver}"
+  python3 setup.py test
+}
+
+package() {
+  cd "reedsolomon-${pkgver}"
+  python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


More information about the arch-commits mailing list