summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Manna2015-11-05 22:57:57 -0800
committerKyle Manna2015-11-05 22:57:57 -0800
commit384a4e482e14f7caaf26ef8d67923766250a8df0 (patch)
treea70ad75cc53a8868a9349c92eca16752920aa23f
downloadaur-384a4e482e14f7caaf26ef8d67923766250a8df0.tar.gz
Initial commit: v0.9.2
* And so it begins.
-rw-r--r--.SRCINFO29
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD47
3 files changed, 80 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a22e895028c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+pkgbase = yotta
+ pkgdesc = Tool for managing reusable components for C/C++ by mbed
+ pkgver = 0.9.2
+ pkgrel = 1
+ url = http://yottadocs.mbed.com/
+ arch = any
+ license = Apache
+ depends = python
+ depends = python-pip
+ depends = python-semantic-version
+ depends = python-requests
+ depends = python-github
+ depends = python-colorama
+ depends = python-hgapi
+ depends = python-jinja
+ depends = python-cryptography
+ depends = python-jwt
+ depends = python-jsonschema
+ depends = python-argcomplete
+ depends = mbed-test-wrapper
+ depends = valinor
+ depends = python-intelhex
+ depends = python-jsonpointer
+ depends = python-ndg-httpsclient
+ source = https://github.com/ARMmbed/yotta/archive/v0.9.2.tar.gz
+ sha512sums = 52262ece8a314ef57ce5e3b99d0c74a00c15e1b5c5d0a6e9f2cac5177f498629ab776ceb0d737df6558b090175272a30632776d93938d5609fb7dbfd427d8c76
+
+pkgname = yotta
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..6faae81e788
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.xz
+*.tar.gz
+/src
+/pkg
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..44f2093c208
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Kyle Manna <kyle[at]kylemanna[d0t]com>
+pkgname=yotta
+pkgver=0.9.2
+pkgrel=1
+pkgdesc="Tool for managing reusable components for C/C++ by mbed"
+url="http://yottadocs.mbed.com/"
+depends=('python'
+ 'python-pip'
+ 'python-semantic-version'
+ 'python-requests'
+ 'python-github'
+ 'python-colorama'
+ 'python-hgapi'
+ 'python-jinja'
+ 'python-cryptography'
+ 'python-jwt'
+ 'python-jsonschema'
+ 'python-argcomplete'
+ 'mbed-test-wrapper'
+ 'valinor'
+ 'python-intelhex'
+ 'python-jsonpointer'
+ 'python-ndg-httpsclient'
+)
+optdepends=()
+license=('Apache')
+arch=('any')
+source=("https://github.com/ARMmbed/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('52262ece8a314ef57ce5e3b99d0c74a00c15e1b5c5d0a6e9f2cac5177f498629ab776ceb0d737df6558b090175272a30632776d93938d5609fb7dbfd427d8c76')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Argcomplete v1.0 is out
+ sed -i -e 's/argcomplete>=0.8.0,<1.0/argcomplete>=0.8.0,<=1.0/' setup.py
+
+ # Pathlib is in Python3
+ sed -i -e '/.*pathlib.*/d' setup.py
+
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+