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