summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD24
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b7773d4a520
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Wed Mar 27 05:31:52 UTC 2019
+pkgbase = python-west
+ pkgdesc = Zephyr RTOS Project meta-tool (wrapper and bootstrap)
+ pkgver = 0.5.6
+ pkgrel = 1
+ url = https://pypi.org/project/west/
+ arch = any
+ license = Apache
+ depends = python-configobj
+ source = https://files.pythonhosted.org/packages/source/w/west/west-0.5.6.tar.gz
+ sha256sums = 0cdae367f5b9439060dde5fd58ad794cbd70d7ab83f7cb8fe6b1bbc9a4301ece
+
+pkgname = python-west
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..17ac5abc4ae
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.pkg.tar.xz
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4a9f4f0379c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Alexei Colin <ac@alexeicolin.com>
+
+pkgname='python-west'
+_name="west"
+pkgdesc="Zephyr RTOS Project meta-tool (wrapper and bootstrap)"
+pkgver=0.5.6
+pkgrel=1
+arch=('any')
+url='https://pypi.org/project/west/'
+license=('Apache')
+depends=('python-configobj')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+
+build() {
+ cd $srcdir/$_name-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/$_name-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+sha256sums=('0cdae367f5b9439060dde5fd58ad794cbd70d7ab83f7cb8fe6b1bbc9a4301ece')