[arch-commits] Commit in python-prompt_toolkit/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 16:47:48 UTC 2020
Date: Monday, November 9, 2020 @ 16:47:48
Author: felixonmars
Revision: 747538
archrelease: copy trunk to community-staging-any
Added:
python-prompt_toolkit/repos/community-staging-any/
python-prompt_toolkit/repos/community-staging-any/PKGBUILD
(from rev 747537, python-prompt_toolkit/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-prompt_toolkit/repos/community-staging-any/PKGBUILD (from rev 747537, python-prompt_toolkit/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:47:48 UTC (rev 747538)
@@ -0,0 +1,35 @@
+# 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.8
+pkgrel=2
+pkgdesc="Library for building powerful interactive command lines in Python"
+arch=('any')
+depends=('python-pygments'
+ '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=('25c95d2ac813909f813c93fde734b6e44406d1477a9faef7c915ff37d39c0a8c')
+
+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