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

Morten Linderud foxboron at archlinux.org
Sat Mar 7 13:33:01 UTC 2020


    Date: Saturday, March 7, 2020 @ 13:33:01
  Author: foxboron
Revision: 591133

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 37 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-07 13:32:52 UTC (rev 591132)
+++ PKGBUILD	2020-03-07 13:33:01 UTC (rev 591133)
@@ -1,31 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-
-pkgname=python-prompt_toolkit
-_name=prompt_toolkit
-pkgver=3.0.3
-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=('c0f7beb0d22886f99de990816fb4aba0')
-sha256sums=('a402e9bf468b63314e37460b68ba68243d55b2f8c4d0192f85a019af3945050e')
-
-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"
-}
-

Copied: python-prompt_toolkit/repos/community-any/PKGBUILD (from rev 591132, python-prompt_toolkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-07 13:33:01 UTC (rev 591133)
@@ -0,0 +1,37 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+
+pkgname=python-prompt_toolkit
+_name=prompt_toolkit
+pkgver=3.0.4
+pkgrel=1
+pkgdesc="Library for building powerful interactive command lines in Python"
+arch=('any')
+depends=('python-pygments'
+         'python-six'
+         'python-wcwidth')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+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")
+sha256sums=('ebe6b1b08c888b84c50d7f93dee21a09af39860144ff6130aadbd61ae8d29783')
+
+build() {
+  cd "$_name-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$_name-$pkgver"
+  python -m pytest
+}
+
+package() {
+  cd "$_name-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+



More information about the arch-commits mailing list