Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37900936
en ru br
ALT Linux repos
5.0: 0.4.5-alt1
4.1: 0.4.2b-alt1.1
4.0: 0.2.6-alt1

Group :: Development/Python
RPM: python-module-SQLAlchemy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define modulename SQLAlchemy
Name: python-module-%modulename
Version: 0.2.6
Release: alt1

Summary: Python SQL toolkit and Object Relational Mapper
License: MIT
Group: Development/Python
BuildArch: noarch
Url: http://www.python.org/pypi/%modulename
Packager: Alex V. Myltsev <avm at altlinux.ru>

Source: %modulename-%version.tar.bz2

BuildPreReq: python-devel python-module-setuptools

%description
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives
application developers the full power and flexibility of SQL.

It provides a full suite of well known enterprise-level persistence patterns,
designed for efficient and high-performing database access, adapted into a
simple and Pythonic domain language.

%package -n python-SQLAlchemy-doc
Summary: documentation for SQLAlchemy
Group: Development/Python

%description -n python-SQLAlchemy-doc
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives
application developers the full power and flexibility of SQL.

This package contains the documentation for SQLAlchemy.
To use the ORM, you need the package python-module-SQLAlchemy.

%prep
%setup -n %modulename-%version

%install
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=%buildroot
install -d %buildroot%_defaultdocdir/%name
cp -r doc %buildroot%_defaultdocdir/%name/

%files
%python_sitelibdir/sqlalchemy
%python_sitelibdir/%modulename-%version-py*.egg-info

%files -n python-SQLAlchemy-doc
%_defaultdocdir/%name

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin