python-docopt: fix pycompile_module and short_desc
This commit is contained in:
parent
94291eec4b
commit
9825a724fc
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'python-docopt'
|
# Template file for 'python-docopt'
|
||||||
pkgname=python-docopt
|
pkgname=python-docopt
|
||||||
version=0.6.2
|
version=0.6.2
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="docopt-${version}"
|
wrksrc="docopt-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
pycompile_module="docopt"
|
pycompile_module="docopt.py"
|
||||||
short_desc="Pythonic argument parser, that will make you smile"
|
short_desc="Pythonic argument parser, that will make you smile (Python2)"
|
||||||
maintainer="Sergi Alvarez <pancake@nopcode.org>"
|
maintainer="Sergi Alvarez <pancake@nopcode.org>"
|
||||||
homepage="http://docopt.org/"
|
homepage="http://docopt.org/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -24,7 +24,8 @@ python3.4-docopt_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4"
|
depends="python3.4"
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="docopt"
|
pycompile_module="docopt.py"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
vlicense LICENSE-MIT
|
vlicense LICENSE-MIT
|
||||||
|
|
Loading…
Reference in New Issue