[arch-commits] Commit in python-litedram/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:00:27 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:00:27
Author: foutrelis
Revision: 748344
archrelease: copy trunk to community-staging-any
Added:
python-litedram/repos/community-staging-any/
python-litedram/repos/community-staging-any/PKGBUILD
(from rev 748343, python-litedram/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-litedram/repos/community-staging-any/PKGBUILD (from rev 748343, python-litedram/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:00:27 UTC (rev 748344)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litedram
+pkgname=python-$_pkgname
+pkgver=2020.08
+pkgrel=2
+pkgdesc='Small footprint and configurable DRAM core'
+arch=('any')
+url="https://github.com/enjoy-digital/$_pkgname"
+license=('BSD')
+depends=('python-migen' 'python-litex' 'python-yaml')
+makedepends=('python-setuptools')
+#checkdepends=('python-pytest-runner' 'python-numpy' 'python-liteiclink') # missing pythondata-cpu-vexriscv release
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('d9dff553a2090d6124b23c44807c0407c118f2734b844fbcafc530eb089c187c874d5367c4cf9d1883e9d75bbd794f35ecd4b83331c9e7e2dd38b0434dadab55')
+
+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