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

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


    Date: Tuesday, April 28, 2020 @ 14:58:10
  Author: ffy00
Revision: 622018

archrelease: copy trunk to community-any

Added:
  python-liteusb/repos/community-any/
  python-liteusb/repos/community-any/PKGBUILD
    (from rev 622017, python-liteusb/trunk/PKGBUILD)

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

Copied: python-liteusb/repos/community-any/PKGBUILD (from rev 622017, python-liteusb/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-04-28 14:58:10 UTC (rev 622018)
@@ -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