[arch-commits] Commit in python-litedram/repos (community-any community-any/PKGBUILD)

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


    Date: Tuesday, April 28, 2020 @ 15:07:20
  Author: ffy00
Revision: 622027

archrelease: copy trunk to community-any

Added:
  python-litedram/repos/community-any/
  python-litedram/repos/community-any/PKGBUILD
    (from rev 622026, python-litedram/trunk/PKGBUILD)

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

Copied: python-litedram/repos/community-any/PKGBUILD (from rev 622026, python-litedram/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-04-28 15:07:20 UTC (rev 622027)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litedram
+pkgname=python-$_pkgname
+pkgver=2020.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=('584ab7cbaae580f6231168b77c9b0b3ff99838d01231f52eb1df76f7b55e824d69feea5b3e923297c5c18226479859612b89758d31313f7e34eb920435d93b5e')
+
+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