[arch-commits] Commit in python-liteeth/repos (community-any community-any/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Tue Apr 28 14:53:28 UTC 2020
Date: Tuesday, April 28, 2020 @ 14:53:28
Author: ffy00
Revision: 622015
archrelease: copy trunk to community-any
Added:
python-liteeth/repos/community-any/
python-liteeth/repos/community-any/PKGBUILD
(from rev 622014, python-liteeth/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: python-liteeth/repos/community-any/PKGBUILD (from rev 622014, python-liteeth/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2020-04-28 14:53:28 UTC (rev 622015)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=liteeth
+pkgname=python-$_pkgname
+pkgver=2020.04
+pkgrel=1
+pkgdesc='Small footprint and configurable Ethernet 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=('4dccbdc5ef23e1cd6e2b100574104ff3d55dd5f8840a35ef1a2981a276eb4310636d36793e79d5ffea3f919f296c8b58b161fac5e50de65f3e02b3b8803f75af')
+
+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