void-packages/srcpkgs/python-editor/template

26 lines
738 B
Bash

# Template file for 'python-editor'
pkgname=python-editor
version=1.0.4
revision=2
archs=noarch
build_style=python-module
pycompile_module="editor"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Programmatically open an editor, capture the result (Python2)"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="Apache-2.0"
homepage="https://github.com/fmoo/python-editor"
distfiles="${PYPI_SITE}/p/python-editor/python-editor-${version}.tar.gz"
checksum=51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b
python3-editor_package() {
archs=noarch
pycompile_module="editor"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}