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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:06:24 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:06:23
  Author: foutrelis
Revision: 748485

archrelease: copy trunk to community-staging-any

Added:
  python-liteiclink/repos/community-staging-any/
  python-liteiclink/repos/community-staging-any/PKGBUILD
    (from rev 748484, python-liteiclink/trunk/PKGBUILD)

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

Copied: python-liteiclink/repos/community-staging-any/PKGBUILD (from rev 748484, python-liteiclink/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:06:23 UTC (rev 748485)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=liteiclink
+pkgname=python-$_pkgname
+pkgver=2020.08
+pkgrel=2
+pkgdesc='Small footprint and configurable Inter-Chip communication cores'
+arch=('any')
+url="https://github.com/enjoy-digital/$_pkgname"
+license=('BSD')
+depends=('python-migen' 'python-litex')
+makedepends=('python-setuptools')
+#checkdepends=('python-pytest-runner') # no litescope release
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('0de9205787f246f687130e899cb41aaa089d64c2685c05e4493b1a91dee1f5b79b8de3c7b0bb94503cdb596595ed95b95d62f68c6328fb11c304b054fd568529')
+
+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