Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37811049
en ru br
Репозитории ALT
5.1: 2.0.8-alt1
4.1: 2.0.6-alt3.1
4.0: 2.0.6-alt1.svn876
3.0: 2.0-alt0.b4
www.altlinux.org/Changes

Группа :: Базы Данных
Пакет: python-module-psycopg2

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

%define version 2.0
%define subver b4
%define release alt0.%subver
%setup_python_module psycopg2

Summary: psycopg2 is a PostgreSQL database adapter for Python
Name: %packagename
Version: %version
Release: %release
Source0: %modulename-%version%subver.tar.gz
License: GPL
Group: Databases
URL: http://www.initd.org/software/psycopg/
BuildRequires: postgresql-devel
Packager: Python Development Team <python at packages.altlinux.org>

%description
psycopg is a PostgreSQL database adapter for the Python programming
language (just like pygresql and popy.) It was written from scratch with
the aim of being very small and fast, and stable as a rock. The main
advantages of psycopg are that it supports the full Python DBAPI-2.0 and
being thread safe at level 2.

%package doc
Summary: Documentation for psycopg2 python PostgreSQL database adapter
Group: Databases

%description doc
Documenation and example files for the psycopg2 python PostgreSQL
database adapter.

%prep
%setup  -q -n %modulename-%version%subver
echo "include_dirs=.:/usr/include/pgsql" >> setup.cfg

%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build

%install
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES

%files -f INSTALLED_FILES
%defattr(-,root,root)

%files doc
%doc AUTHORS INSTALL README doc/* examples

%changelog

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

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