summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIyán Méndez Veiga2019-11-28 14:32:18 +0100
committerIyán Méndez Veiga2019-11-28 14:32:18 +0100
commit2968166cf7a8af9220f38719339759a0ca7af7bb (patch)
tree587198f5734a44b1e1ad4024ceab6a5c555815cb
downloadaur-2968166cf7a8af9220f38719339759a0ca7af7bb.tar.gz
Initial commit
-rw-r--r--.SRCINFO30
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD39
3 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b58ca24b5f1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = python-qiskit-terra
+ pkgdesc = An open-source framework for working with noisy quantum computers at the level of pulses, circuits, and algorithms
+ pkgver = 0.10.0
+ pkgrel = 1
+ url = https://github.com/Qiskit/qiskit-terra
+ arch = x86_64
+ license = Apache
+ makedepends = python-setuptools
+ depends = python-jsonschema
+ depends = python-marshmallow
+ depends = python-marshmallow-polyfield
+ depends = python-networkx
+ depends = python-numpy
+ depends = python-ply
+ depends = python-psutil
+ depends = python-scipy
+ depends = python-sympy
+ depends = python-dill
+ optdepends = python-matplotlib: plotting support
+ optdepends = python-qiskit-aer: high performance simulator framework
+ optdepends = python-qiskit-ignis: noise framework
+ optdepends = python-qiskit-aqua: algorithms for quantum computing applications
+ optdepends = python-qiskit-ibmq: IBM Q account support
+ conflicts = python-qiskit-sdk-git
+ conflicts = python-qiskit-api-git
+ source = qiskit-terra-0.10.0.tar.gz::https://github.com/Qiskit/qiskit-terra/archive/0.10.0.tar.gz
+ sha256sums = be5f65ac2c3366512e722f09af69d1552453c30ea925d20c2247cb6b5f88daaf
+
+pkgname = python-qiskit-terra
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..9881fec21af
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..451742e0af6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
+_pkgname=qiskit-terra
+pkgname=python-${_pkgname}
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="An open-source framework for working with noisy quantum computers at the level of pulses, circuits, and algorithms"
+arch=('x86_64')
+url="https://github.com/Qiskit/qiskit-terra"
+license=('Apache')
+conflicts=('python-qiskit-sdk-git'
+ 'python-qiskit-api-git')
+depends=('python-jsonschema'
+ 'python-marshmallow'
+ 'python-marshmallow-polyfield'
+ 'python-networkx'
+ 'python-numpy'
+ 'python-ply'
+ 'python-psutil'
+ 'python-scipy'
+ 'python-sympy'
+ 'python-dill')
+optdepends=('python-matplotlib: plotting support'
+ 'python-qiskit-aer: high performance simulator framework'
+ 'python-qiskit-ignis: noise framework'
+ 'python-qiskit-aqua: algorithms for quantum computing applications'
+ 'python-qiskit-ibmq: IBM Q account support')
+makedepends=('python-setuptools')
+source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/Qiskit/${_pkgname}/archive/${pkgver}.tar.gz")
+sha256sums=('be5f65ac2c3366512e722f09af69d1552453c30ea925d20c2247cb6b5f88daaf')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+} \ No newline at end of file