[arch-commits] Commit in python-litesata/repos (community-any community-any/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Tue Apr 28 15:00:47 UTC 2020


    Date: Tuesday, April 28, 2020 @ 15:00:47
  Author: ffy00
Revision: 622021

archrelease: copy trunk to community-any

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

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

Copied: python-litesata/repos/community-any/PKGBUILD (from rev 622020, python-litesata/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-04-28 15:00:47 UTC (rev 622021)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=litesata
+pkgname=python-$_pkgname
+pkgver=2020.04
+pkgrel=1
+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=('a7c1f8a39589e30b77bb82280f61c0c6fabf6f5bb3b7468db30ce13cc1de8bcb16da1e8cbec1829bc14ee604ca80704a51d973a253bac4a42b4b50a514dfb735')
+
+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