diff options
-rw-r--r-- | .AURINFO | 13 | ||||
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 50 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..5722dc655485 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,13 @@ +pkgbase = python-editrepl + pkgdesc = Runs a terminal based editor inside your REPL session + pkgver = 2013.06.20 + pkgrel = 1 + url = https://github.com/philipbjorge/EditREPL + arch = any + license = custom: BSD + makedepends = python + makedepends = python-setuptools + source = https://pypi.python.org/packages/source/E/EditREPL/EditREPL-2013.06.20.tar.gz + +pkgname = python-editrepl + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..aad13aff901d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-editrepl + pkgdesc = Runs a terminal based editor inside your REPL session + pkgver = 2013.06.20 + pkgrel = 1 + url = https://github.com/philipbjorge/EditREPL + arch = any + license = custom: BSD + makedepends = python + makedepends = python-setuptools + source = https://pypi.python.org/packages/source/E/EditREPL/EditREPL-2013.06.20.tar.gz + sha256sums = 2cf966b27768389c82d4197a1df9c37c2b25ac6c4a019468168e93069637fdbb + +pkgname = python-editrepl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..df722e40dcc9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Jurica Bradaric <jbradaric@gmail.com> +pkgname=python-editrepl +pkgver=2013.06.20 +pkgrel=1 +pkgdesc="Runs a terminal based editor inside your REPL session" +arch=(any) +url="https://github.com/philipbjorge/EditREPL" +license=('custom: BSD') +makedepends=('python' 'python-setuptools') + +source=("https://pypi.python.org/packages/source/E/EditREPL/EditREPL-$pkgver.tar.gz") +sha256sums=('2cf966b27768389c82d4197a1df9c37c2b25ac6c4a019468168e93069637fdbb') + +build() { + cd "$srcdir/EditREPL-$pkgver" + python3 setup.py build +} + +package() { + cd "$srcdir/EditREPL-$pkgver" + python3 setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |