[arch-commits] Commit in python-litesdcard/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Aug 30 08:33:48 UTC 2022
Date: Tuesday, August 30, 2022 @ 08:33:48
Author: felixonmars
Revision: 1288449
archrelease: copy trunk to community-testing-any
Added:
python-litesdcard/repos/community-testing-any/
python-litesdcard/repos/community-testing-any/PKGBUILD
(from rev 1288448, python-litesdcard/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-litesdcard/repos/community-testing-any/PKGBUILD (from rev 1288448, python-litesdcard/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2022-08-30 08:33:48 UTC (rev 1288449)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litesdcard
+pkgname=python-$_pkgname
+pkgver=2021.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=('ef239d0e7d0b0f86db42c61307d4c611afe1bb3593453101adc367e8a64bbe233b966cb6b865c116036005c54bb81e8890e2a412a4930abe96dd878240755457')
+
+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