summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoseph Brains2018-06-12 13:35:35 +0300
committerJoseph Brains2018-06-12 13:35:35 +0300
commitc227de916f2cbb842feb95799a310063eddaf16c (patch)
treee69f437bebe88f97d0014c2084efd384d8817f7d /PKGBUILD
downloadaur-c227de916f2cbb842feb95799a310063eddaf16c.tar.gz
Initial commit for python-prompt_toolkit GNS3 2x locked
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9193aa09749
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Joseph Brains <jnbrains@gmail.com>
+
+_pkgname=prompt_toolkit
+pkgname=python-${_pkgname}-gns3
+pkgver=1.0.15
+pkgrel=1
+pkgdesc="Library for building powerful interactive command lines in Python (GNS3)"
+arch=('any')
+depends=('python-pygments' 'python-six' 'python-wcwidth')
+makedepends=('python-setuptools')
+url="https://github.com/jonathanslenders/python-prompt-toolkit"
+license=('BSD')
+groups=('gns3')
+options=(!emptydirs)
+provides=("python-${_pkgname}")
+conflicts=("python-${_pkgname}")
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-$pkgver.tar.gz")
+sha256sums=('858588f1983ca497f1cf4ffde01d978a3ea02b01c8a26a8bbc5cd2e66d816917')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python3 setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python3 setup.py install --root="${pkgdir}/" --optimize=1
+}