[arch-commits] Commit in python-prompt_toolkit/repos/community-any (PKGBUILD PKGBUILD)

Kyle Keen kkeen at archlinux.org
Mon Dec 2 06:26:40 UTC 2019


    Date: Monday, December 2, 2019 @ 06:26:40
  Author: kkeen
Revision: 534677

archrelease: copy trunk to community-any

Added:
  python-prompt_toolkit/repos/community-any/PKGBUILD
    (from rev 534676, python-prompt_toolkit/trunk/PKGBUILD)
Deleted:
  python-prompt_toolkit/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++--------------------------------------
 1 file changed, 31 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-02 06:25:57 UTC (rev 534676)
+++ PKGBUILD	2019-12-02 06:26:40 UTC (rev 534677)
@@ -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.10
-pkgrel=3
-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=('5016c523e603cd7119644fbc0f00ce53')
-sha256sums=('f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db')
-
-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 534676, python-prompt_toolkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-02 06:26:40 UTC (rev 534677)
@@ -0,0 +1,31 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python-prompt_toolkit
+_name=prompt_toolkit
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Library for building powerful interactive command lines in Python"
+arch=('any')
+depends=('python-pygments'
+         'python-six'
+         'python-wcwidth')
+makedepends=('python-setuptools')
+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=('e2bef5d83122a96f8b3efca4b0de7fbd')
+sha256sums=('63daee79aa8366c8f1c637f1a4876b890da5fc92a19ebd2f7080ebacb901e990')
+
+build() {
+  cd "$srcdir/$_name-$pkgver"
+  python3 setup.py build
+}
+
+package() {
+  cd "$srcdir/$_name-$pkgver"
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+


More information about the arch-commits mailing list