diff options
author | mschubert | 2018-08-05 17:13:55 +0200 |
---|---|---|
committer | mschubert | 2018-08-05 17:13:55 +0200 |
commit | cb9be842846d2f216ccf5815334156e4f0361826 (patch) | |
tree | 70eba75547c68f8b1afef9cc9aa81365dd652154 | |
download | aur-cb9be842846d2f216ccf5815334156e4f0361826.tar.gz |
add python-lineedit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7f437983b447 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Sun Aug 5 15:05:11 UTC 2018 +pkgbase = python-lineedit + pkgdesc = a readline library based on prompt_toolkit which supports multiple modes + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/randy3k/lineedit/archive/v0.1.0.tar.gz + arch = i686 + arch = x86_64 + license = MIT + makedepends = python-setuptools + depends = readline + depends = python-pygments + depends = python-wcwidth + depends = python-six + source = https://github.com/randy3k/lineedit/archive/v0.1.0.tar.gz + sha256sums = f54661ca6fe5c9f6812133f5c7c4f32a73359709a8a7f2046196ea02b839beb9 + +pkgname = python-lineedit + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..edc6b0486f85 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Michael Schubert <mschu.dev at gmail> +pkgname=python-lineedit +_pkgname=${pkgname#python-} +pkgver=0.1.0 +pkgrel=1 +pkgdesc="a readline library based on prompt_toolkit which supports multiple modes" +url="https://github.com/randy3k/lineedit/archive/v$pkgver.tar.gz" +arch=('i686' 'x86_64') +license=('MIT') +depends=('readline' 'python-pygments' 'python-wcwidth' 'python-six') +makedepends=('python-setuptools') +source=("https://github.com/randy3k/lineedit/archive/v$pkgver.tar.gz") +sha256sums=('f54661ca6fe5c9f6812133f5c7c4f32a73359709a8a7f2046196ea02b839beb9') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --skip-build --prefix=/usr --root="$pkgdir" --optimize=1 +} |