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

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


    Date: Tuesday, April 28, 2020 @ 15:14:29
  Author: ffy00
Revision: 622039

archrelease: copy trunk to community-any

Added:
  python-litejesd204b/repos/community-any/
  python-litejesd204b/repos/community-any/PKGBUILD
    (from rev 622038, python-litejesd204b/trunk/PKGBUILD)

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

Copied: python-litejesd204b/repos/community-any/PKGBUILD (from rev 622038, python-litejesd204b/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-04-28 15:14:29 UTC (rev 622039)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litejesd204b
+pkgname=python-$_pkgname
+pkgver=2020.04
+pkgrel=1
+pkgdesc='Small footprint and configurable JESD204B core'
+arch=('any')
+url="https://github.com/enjoy-digital/$_pkgname"
+license=('BSD')
+depends=('python-migen' 'python-litex')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('c4122393f8deaee01a7db30745323ef1775e208e33139adbc3980e27ff54eae9c70bc00975aa821ee4760f474f45fb3e58a2110bf95c3c6ec192b9e6534e9d64')
+
+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