[arch-commits] Commit in python-litesdcard/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Tue Apr 28 15:08:10 UTC 2020


    Date: Tuesday, April 28, 2020 @ 15:08:09
  Author: ffy00
Revision: 622029

archrelease: copy trunk to community-any

Added:
  python-litesdcard/repos/community-any/
  python-litesdcard/repos/community-any/PKGBUILD
    (from rev 622028, python-litesdcard/trunk/PKGBUILD)

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

Copied: python-litesdcard/repos/community-any/PKGBUILD (from rev 622028, python-litesdcard/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-04-28 15:08:09 UTC (rev 622029)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litesdcard
+pkgname=python-$_pkgname
+pkgver=2020.04
+pkgrel=1
+pkgdesc='Small footprint and configurable SD Card core'
+arch=('any')
+url="https://github.com/enjoy-digital/$_pkgname"
+license=('BSD')
+depends=('python-migen' 'python-litex')
+makedepends=('python-setuptools')
+#checkdepends=('python-pytest-runner') # broken env
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('b8e346cd9e57b7d5ebe84fdd8d4b5a64a75db34c0e37195ae3fb7a253cf1945809ec2cb59e7e6b42355381e81e6c76fa95830e0dec7bd8420a18f17c43944388')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+#  python setup.py pytest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list