[arch-commits] Commit in python-liteeth/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Aug 30 08:16:06 UTC 2022
Date: Tuesday, August 30, 2022 @ 08:16:06
Author: felixonmars
Revision: 1288427
archrelease: copy trunk to community-testing-any
Added:
python-liteeth/repos/community-testing-any/
python-liteeth/repos/community-testing-any/PKGBUILD
(from rev 1288426, python-liteeth/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-liteeth/repos/community-testing-any/PKGBUILD (from rev 1288426, python-liteeth/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2022-08-30 08:16:06 UTC (rev 1288427)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=liteeth
+pkgname=python-$_pkgname
+pkgver=2021.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=('4be74418ac84159d2c91047db4e469c3b4d1912dc66d603663dd1d9d592845ed802ab7b5c9e92a82575531993b5aacfb0924e11fd4468f3b3730913082c8e61c')
+
+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