[arch-commits] Commit in python-prompt_toolkit/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Sat Apr 6 22:33:31 UTC 2019
Date: Saturday, April 6, 2019 @ 22:33:31
Author: kkeen
Revision: 450144
archrelease: copy trunk to community-any
Added:
python-prompt_toolkit/repos/community-any/PKGBUILD
(from rev 450143, python-prompt_toolkit/trunk/PKGBUILD)
Deleted:
python-prompt_toolkit/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-06 22:33:15 UTC (rev 450143)
+++ PKGBUILD 2019-04-06 22:33:31 UTC (rev 450144)
@@ -1,50 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-
-pkgbase=python-prompt_toolkit
-pkgname=(python-prompt_toolkit python2-prompt_toolkit)
-_name=prompt_toolkit
-pkgver=2.0.8
-pkgrel=1
-pkgdesc="Library for building powerful interactive command lines in Python"
-arch=('any')
-depends=('python-pygments'
- 'python-six'
- 'python-wcwidth')
-makedepends=('python-setuptools' 'python2-setuptools'
- 'python2-pygments' 'python2-six' 'python2-wcwidth')
-url="https://github.com/jonathanslenders/python-prompt-toolkit"
-license=('BSD')
-options=(!emptydirs)
-source=("https://files.pythonhosted.org/packages/source/p/$_name/$_name-$pkgver.tar.gz")
-md5sums=('01f1a16e4e524ec23a9a7a637e8a735a')
-sha256sums=('c6655a12e9b08edb8cf5aeab4815fd1e1bdea4ad73d3bbf269cf2e0c4eb75d5e')
-
-prepare() {
- cd "$srcdir"
- cp -r $_name-$pkgver python2-$_name-$pkgver
-}
-
-build() {
- cd "$srcdir/$_name-$pkgver"
- python3 setup.py build
-
- cd "$srcdir/python2-$_name-$pkgver"
- python2 setup.py build
-}
-
-package_python-prompt_toolkit() {
- cd "$srcdir/$_name-$pkgver"
- python3 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-prompt_toolkit() {
- depends=('python2-pygments'
- 'python2-six'
- 'python2-wcwidth')
- cd "$srcdir/python2-$_name-$pkgver"
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
Copied: python-prompt_toolkit/repos/community-any/PKGBUILD (from rev 450143, python-prompt_toolkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-06 22:33:31 UTC (rev 450144)
@@ -0,0 +1,50 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgbase=python-prompt_toolkit
+pkgname=(python-prompt_toolkit python2-prompt_toolkit)
+_name=prompt_toolkit
+pkgver=2.0.9
+pkgrel=1
+pkgdesc="Library for building powerful interactive command lines in Python"
+arch=('any')
+depends=('python-pygments'
+ 'python-six'
+ 'python-wcwidth')
+makedepends=('python-setuptools' 'python2-setuptools'
+ 'python2-pygments' 'python2-six' 'python2-wcwidth')
+url="https://github.com/jonathanslenders/python-prompt-toolkit"
+license=('BSD')
+options=(!emptydirs)
+source=("https://files.pythonhosted.org/packages/source/p/$_name/$_name-$pkgver.tar.gz")
+md5sums=('091daddeec62015e0be36e8682d36562')
+sha256sums=('2519ad1d8038fd5fc8e770362237ad0364d16a7650fb5724af6997ed5515e3c1')
+
+prepare() {
+ cd "$srcdir"
+ cp -r $_name-$pkgver python2-$_name-$pkgver
+}
+
+build() {
+ cd "$srcdir/$_name-$pkgver"
+ python3 setup.py build
+
+ cd "$srcdir/python2-$_name-$pkgver"
+ python2 setup.py build
+}
+
+package_python-prompt_toolkit() {
+ cd "$srcdir/$_name-$pkgver"
+ python3 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-prompt_toolkit() {
+ depends=('python2-pygments'
+ 'python2-six'
+ 'python2-wcwidth')
+ cd "$srcdir/python2-$_name-$pkgver"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
More information about the arch-commits
mailing list