[arch-commits] Commit in python-litescope/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Tue Apr 28 15:09:24 UTC 2020
Date: Tuesday, April 28, 2020 @ 15:09:24
Author: ffy00
Revision: 622031
archrelease: copy trunk to community-any
Added:
python-litescope/repos/community-any/
python-litescope/repos/community-any/PKGBUILD
(from rev 622030, python-litescope/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-litescope/repos/community-any/PKGBUILD (from rev 622030, python-litescope/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-04-28 15:09:24 UTC (rev 622031)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litescope
+pkgname=python-$_pkgname
+pkgver=2020.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=('ae3eea931e14e4d53bd10cea681093c77de50daa4b96c35fd8269a798b41c112e6937536d2f501db72ac87f6ca818fab4865543341a5b5dd41e83936e7f4d158')
+
+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