New package: python-editor-1.0.3
This commit is contained in:
parent
99870380b5
commit
e4341c1ace
28
srcpkgs/python-editor/template
Normal file
28
srcpkgs/python-editor/template
Normal file
|
@ -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 <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=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
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-editor
Symbolic link
1
srcpkgs/python3-editor
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-editor
|
Loading…
Reference in New Issue
Block a user