2015-08-03 16:07:41 +02:00
|
|
|
# Template file for 'python-Flask-Script'
|
|
|
|
pkgname=python-Flask-Script
|
|
|
|
version=2.0.5
|
2015-08-03 19:00:44 +02:00
|
|
|
revision=2
|
2015-08-03 16:07:41 +02:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="${pkgname#*-}-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
pycompile_module="flask_script"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2015-08-03 19:00:44 +02:00
|
|
|
depends="python-Flask"
|
2015-08-03 16:07:41 +02:00
|
|
|
short_desc="Scripting support for Flask (Python2)"
|
|
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
|
|
license="BSD"
|
|
|
|
homepage="https://github.com/smurfix/flask-script"
|
|
|
|
distfiles="${PYPI_SITE}/F/Flask-Script/Flask-Script-${version}.tar.gz"
|
|
|
|
checksum=cef76eac751396355429a14c38967bb14d4973c53e07dec94af5cc8fb017107f
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
python3.4-Flask-Script_package() {
|
2015-08-31 13:34:09 +02:00
|
|
|
noarch=yes
|
|
|
|
depends="python3.4-Flask"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="flask_script"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
2015-08-03 16:07:41 +02:00
|
|
|
vlicense LICENSE
|
2015-08-31 13:34:09 +02:00
|
|
|
}
|
2015-08-03 16:07:41 +02:00
|
|
|
}
|