summaryrefslogtreecommitdiff
path: root/python-editor/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'python-editor/PKGBUILD')
-rw-r--r--python-editor/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/python-editor/PKGBUILD b/python-editor/PKGBUILD
new file mode 100644
index 000000000..5617ba17a
--- /dev/null
+++ b/python-editor/PKGBUILD
@@ -0,0 +1,24 @@
+# Submitter: Kevin Brubeck Unhammer <unhammer@fsfe.org>
+# Maintainer: Erich Eckner <arch at eckner dot net>
+
+pkgname=python-editor
+pkgver=0.4
+pkgrel=1
+pkgdesc="Programmatically open an editor, capture the result"
+url="https://github.com/fmoo/python-editor"
+depends=('python' )
+makedepends=('python-setuptools')
+license=('Apache')
+arch=('any')
+source=("https://pypi.python.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('30de680ec944d073e0c3f18b44d5aa15')
+
+build() {
+ cd $srcdir/${pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd $srcdir/${pkgname}-${pkgver}
+ python setup.py install --root="$pkgdir"
+}