[arch-commits] Commit in python-migen/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:54:34 UTC 2020
Date: Monday, November 9, 2020 @ 16:54:33
Author: foutrelis
Revision: 747684
archrelease: copy trunk to community-staging-any
Added:
python-migen/repos/community-staging-any/
python-migen/repos/community-staging-any/PKGBUILD
(from rev 747683, python-migen/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-migen/repos/community-staging-any/PKGBUILD (from rev 747683, python-migen/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:54:33 UTC (rev 747684)
@@ -0,0 +1,30 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=migen
+pkgname=python-$_pkgname
+pkgver=0.9.2
+pkgrel=2
+pkgdesc='A Python toolbox for building complex digital hardware'
+arch=('any')
+url='https://github.com/m-labs/migen'
+license=('BSD')
+depends=('python-colorama')
+makedepends=('python-setuptools')
+source=("$_pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('9ff39f9f9b7e99b7d933e39091eb7e98c413ec3e60b98722d813df30fe95484470a1a027ac08bdf065bf688f4bb53af2c4618d3bbc0f1086adab33e149dca98f')
+
+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 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list