summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Springer2020-05-10 19:55:32 +0200
committerStephan Springer2020-05-10 19:55:32 +0200
commit6cb9c599fdbfbf4d765a883aa108c16d47b705f6 (patch)
tree096f52f3f7f1f874b4ae3ffa1768d33593468625
parent46a382dc53960390a42d51e9c9bf163a3dbf17b6 (diff)
downloadaur-python-prompt_toolkit-gns3.tar.gz
update to version 3.0.5
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD28
2 files changed, 18 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1421fc22809..7bbd59d8ffa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-prompt_toolkit-gns3
pkgdesc = Library for building powerful interactive command lines in Python (GNS3)
- pkgver = 1.0.15
- pkgrel = 3
+ pkgver = 3.0.5
+ pkgrel = 1
url = https://github.com/jonathanslenders/python-prompt-toolkit
arch = any
groups = gns3
@@ -13,8 +13,8 @@ pkgbase = python-prompt_toolkit-gns3
provides = python-prompt_toolkit
conflicts = python-prompt_toolkit
options = !emptydirs
- source = python-prompt-toolkit-1.0.15.tar.gz::https://github.com/jonathanslenders/python-prompt-toolkit/archive/1.0.15.tar.gz
- sha256sums = e2f720a1e8149a2b56b776d68c8fb28c8211546d266301178fb982e69d0c9bed
+ source = https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-3.0.5.tar.gz
+ sha256sums = 563d1a4140b63ff9dd587bda9557cffb2fe73650205ab6f4383092fb882e7dc8
pkgname = python-prompt_toolkit-gns3
diff --git a/PKGBUILD b/PKGBUILD
index b9a1e4ea0db..1263305ec13 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: Stephan Springer <buzo+arch@Lini.de>
# Contributor: Joseph Brains <jnbrains@gmail.com>
-_pkgname=python-prompt-toolkit
-_pkgname_=python-prompt_toolkit
-pkgname="$_pkgname_"-gns3
-pkgver=1.0.15
-pkgrel=3
+_pkgname=python-prompt_toolkit
+pkgname="$_pkgname"-gns3
+_name=prompt_toolkit
+pkgver=3.0.5
+pkgrel=1
pkgdesc="Library for building powerful interactive command lines in Python (GNS3)"
arch=('any')
depends=('python-pygments' 'python-six' 'python-wcwidth')
@@ -14,18 +14,18 @@ url="https://github.com/jonathanslenders/python-prompt-toolkit"
license=('BSD')
groups=('gns3')
options=(!emptydirs)
-provides=("$_pkgname_")
-conflicts=("$_pkgname_")
-source=("$_pkgname-$pkgver.tar.gz::https://github.com/jonathanslenders/$_pkgname/archive/$pkgver.tar.gz")
-sha256sums=('e2f720a1e8149a2b56b776d68c8fb28c8211546d266301178fb982e69d0c9bed')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("https://files.pythonhosted.org/packages/source/p/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('563d1a4140b63ff9dd587bda9557cffb2fe73650205ab6f4383092fb882e7dc8')
build() {
- cd "$_pkgname-$pkgver"
- python setup.py build
+ cd "$_name-$pkgver"
+ python setup.py build
}
package() {
- cd "$_pkgname-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd "$_name-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}