Репозиторий Sisyphus
Последнее обновление: 16 сентября 2019 | Пакетов: 17434 | Посещений: 15102439
en ru br
Репозитории ALT

Группа :: Разработка/Python
Пакет: python-module-flask

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define modname flask
%def_disable check

Name: python-module-%modname
Version: 0.12.2
Release: alt3

Summary: A micro-framework for Python based on Werkzeug, Jinja 2 and good intentions
License: BSD
Group: Development/Python

URL: http://flask.pocoo.org/
#https://github.com/pallets/flask
BuildArch: noarch

Source: Flask-%version.tar

BuildRequires: python-module-setuptools
BuildRequires: python-module-werkzeug
BuildRequires: python-module-simplejson
BuildRequires: python-module-jinja2

BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel
BuildPreReq: python3-module-setuptools


%description
Flask is called a "micro-framework" because the idea to keep the core
simple but extensible. There is no database abstraction layer, no form
validation or anything else where different libraries already exist that
can handle that.  However Flask knows the concept of extensions that can
add this functionality into your application as if it was implemented in
Flask itself. There are currently extensions for object relational
mappers, form validation, upload handling, various open authentication
technologies and more.

%package -n python3-module-%modname
Summary: A micro-framework for Python based on Werkzeug, Jinja 2 and good intentions
Group: Development/Python3

%description -n python3-module-%modname
Flask is called a "micro-framework" because the idea to keep the core
simple but extensible. There is no database abstraction layer, no form
validation or anything else where different libraries already exist that
can handle that.  However Flask knows the concept of extensions that can
add this functionality into your application as if it was implemented in
Flask itself. There are currently extensions for object relational
mappers, form validation, upload handling, various open authentication
technologies and more.

%prep
%setup -n Flask-%version

cp -fR . ../python3

%build
%python_build

pushd ../python3
%python3_build
popd

%install
pushd ../python3
%python3_install
popd
pushd %buildroot/%_bindir
mv %modname %modname.py3
popd

%python_install --record=INSTALLED_FILES

%files -f INSTALLED_FILES
%doc AUTHORS README.rst LICENSE
%_bindir/%modname

%files -n python3-module-%modname
%doc AUTHORS README.rst LICENSE
%python3_sitelibdir_noarch/*
%_bindir/%modname.py3

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin