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

Felix Yan felixonmars at archlinux.org
Tue Nov 10 05:04:04 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:04:03
  Author: felixonmars
Revision: 749268

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 749266, 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 749266, python-pythondata-cpu-picorv32/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:04:03 UTC (rev 749268)
@@ -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.04
+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=('2087236196f9797d4b5746a30634e5d4a535b065c780b85102d7d97b858e30d615d5c2868b61ac8fbb71e671bf2b414eabf2ad6b8a39b34f64f4bde0c907cfb1')
+
+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