From e4341c1aceef13695ed4ccb75a19e10b03a7dc8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Sat, 4 Aug 2018 22:26:21 +0200 Subject: [PATCH] New package: python-editor-1.0.3 --- srcpkgs/python-editor/template | 28 ++++++++++++++++++++++++++++ srcpkgs/python3-editor | 1 + 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/python-editor/template create mode 120000 srcpkgs/python3-editor diff --git a/srcpkgs/python-editor/template b/srcpkgs/python-editor/template new file mode 100644 index 00000000000..33f8b2c4564 --- /dev/null +++ b/srcpkgs/python-editor/template @@ -0,0 +1,28 @@ +# Template file for 'python-editor' +pkgname=python-editor +version=1.0.3 +revision=1 +noarch=yes +build_style=python-module +pycompile_module="editor" +hostmakedepends="python-setuptools python3-setuptools" +short_desc="Programmatically open an editor, capture the result (Python2)" +maintainer="Piotr Wójcik " +license="Apache-2.0" +homepage="https://github.com/fmoo/python-editor" +distfiles="${PYPI_SITE}/p/python-editor/python-editor-${version}.tar.gz" +checksum=a3c066acee22a1c94f63938341d4fb374e3fdd69366ed6603d7b24bed1efc565 + +post_install() { + vlicense LICENSE +} + +python3-editor_package() { + noarch=yes + pycompile_module="editor" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-editor b/srcpkgs/python3-editor new file mode 120000 index 00000000000..3a660f15312 --- /dev/null +++ b/srcpkgs/python3-editor @@ -0,0 +1 @@ +python-editor \ No newline at end of file