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

Felix Yan felixonmars at gemini.archlinux.org
Tue Aug 30 08:32:33 UTC 2022


    Date: Tuesday, August 30, 2022 @ 08:32:33
  Author: felixonmars
Revision: 1288443

archrelease: copy trunk to community-testing-any

Added:
  python-litescope/repos/community-testing-any/
  python-litescope/repos/community-testing-any/PKGBUILD
    (from rev 1288442, python-litescope/trunk/PKGBUILD)

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

Copied: python-litescope/repos/community-testing-any/PKGBUILD (from rev 1288442, python-litescope/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-08-30 08:32:33 UTC (rev 1288443)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litescope
+pkgname=python-$_pkgname
+pkgver=2021.04
+pkgrel=1
+pkgdesc='Small footprint and configurable embedded FPGA logic analyzer core'
+arch=('any')
+url="https://github.com/enjoy-digital/$_pkgname"
+license=('BSD')
+depends=('python-migen' 'python-litex')
+makedepends=('python-setuptools')
+#checkdepends=('python-pytest-runner') # broken env
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('53247936a88a85999e78a2d2f3792b9cd3697ce7337ee9abf2f3642bf96551d1e7fe511f65e2d00a13207afbec1ce42b3a7e1886644448ca46926b8e9fb9a069')
+
+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