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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 05:11:13 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:11:12
  Author: foutrelis
Revision: 749350

archrelease: copy trunk to community-staging-any

Added:
  python-litesata/repos/community-staging-any/
  python-litesata/repos/community-staging-any/PKGBUILD
    (from rev 749348, python-litesata/trunk/PKGBUILD)

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

Copied: python-litesata/repos/community-staging-any/PKGBUILD (from rev 749348, python-litesata/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:11:12 UTC (rev 749350)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litesata
+pkgname=python-$_pkgname
+pkgver=2020.08
+pkgrel=2
+pkgdesc='Small footprint and configurable SATA core'
+arch=('any')
+url="https://github.com/enjoy-digital/$_pkgname"
+license=('BSD')
+depends=('python-migen' 'python-litex')
+makedepends=('python-setuptools')
+# checkdepends=('python-pytest-runner') # missing litescope release
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('f83edde55719db976ace2ca066e5685773244fdab44c82dd4a91b98200dc3ba56f1cd0d66eee2e521b37655888f6a6da27e25fd71a2229be9864d463118ffbf0')
+
+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