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

Filipe Laíns ffy00 at archlinux.org
Tue Apr 28 14:50:10 UTC 2020


    Date: Tuesday, April 28, 2020 @ 14:50:10
  Author: ffy00
Revision: 622013

archrelease: copy trunk to community-any

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

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

Copied: python-liteiclink/repos/community-any/PKGBUILD (from rev 622012, python-liteiclink/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-04-28 14:50:10 UTC (rev 622013)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=liteiclink
+pkgname=python-$_pkgname
+pkgver=2020.04
+pkgrel=1
+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=('a6bb10b1449a5d3f0b3cd3103fc2195f90ee24c1821336b00d475bceda9186b89e5a727231fcee683d8ad35b3ab63469a3e57a644bc618daa7b8bd064f1337ea')
+
+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