New package python-Flask
This commit is contained in:
parent
63b9c28cd2
commit
6610edc143
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-Flask/template
Normal file
31
srcpkgs/python-Flask/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-Flask'
|
||||
pkgname=python-Flask
|
||||
version=0.10.1
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="flask"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
depends="python python-Jinja2>=2.4 python-Werkzeug>=0.7 python-itsdangerous>=0.21"
|
||||
replaces="python-Flask>=0"
|
||||
short_desc="A microframework based on Werkzeug, Jinja2 and good intentions"
|
||||
maintainer="Markus Berger <pulux@pf4sh.de>"
|
||||
homepage="http://flask.pocoo.org"
|
||||
license="BSD"
|
||||
distfiles="${PYPI_SITE}/F/Flask/Flask-${version}.tar.gz"
|
||||
checksum=4c83829ff83d408b5e1d4995472265411d2c414112298f2eb4b359d9e4563373
|
||||
|
||||
python3.4-Flask_package() {
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
replaces="python3.4-Flask>=0"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="flask"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
}
|
||||
}
|
1
srcpkgs/python3.4-Flask
Symbolic link
1
srcpkgs/python3.4-Flask
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-Flask
|
Loading…
Reference in a new issue