[arch-commits] Commit in python-pythondata-cpu-picorv32/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 18:25:15 UTC 2021


    Date: Thursday, December 2, 2021 @ 18:25:15
  Author: foutrelis
Revision: 1062136

archrelease: copy trunk to community-staging-any

Added:
  python-pythondata-cpu-picorv32/repos/community-staging-any/
  python-pythondata-cpu-picorv32/repos/community-staging-any/PKGBUILD
    (from rev 1062134, python-pythondata-cpu-picorv32/trunk/PKGBUILD)

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

Copied: python-pythondata-cpu-picorv32/repos/community-staging-any/PKGBUILD (from rev 1062134, python-pythondata-cpu-picorv32/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 18:25:15 UTC (rev 1062136)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pythondata-cpu-picorv32
+_pyname=${_pkgname//-/_}
+pkgname=python-$_pkgname
+_vexriscv=1.0.1
+pkgver=2020.08
+pkgrel=2
+pkgdesc='Python module containing verilog files for picorv32 cpu (for use with LiteX)'
+arch=('any')
+url="https://github.com/litex-hub/$_pkgname"
+license=('ISC')
+depends=('python')
+makedepends=('python-setuptools')
+options=('!strip')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('8220974a9c8f0f4d2e7c78f9eb91f76dc74067fd8b557a8d1500ffd94a0d24ca25e3b68353bd27075943c1626214946b99197477fb3af0e5024e7ea8f70a9dc8')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 $_pyname/verilog/tests/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list