python-editor: update to 1.0.4.

This commit is contained in:
Piotr Wójcik 2019-02-02 20:55:26 +01:00 committed by maxice8
parent 82944a2b1d
commit b2a2838cf2
1 changed files with 4 additions and 7 deletions

View File

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