Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37045453
en ru br
Репозитории ALT
5.1: 2.5.1-alt2.1
4.1: 2.5.1-alt2.1
4.0: 2.5.1-alt1
www.altlinux.org/Changes

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

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

%define version 2.5.1
%define release alt2
%setup_python_module pyPgSQL

Summary: pyPgSQL - A Python DB-API 2.0 compliant interface to PostgreSQL.
Name: %packagename
Version: %version
Release: %release.1
Source0: %modulename.tar
License: Python
Group: Development/Python
Vendor: pyPgSQL developers <pypgsql-devel at lists.sourceforge.net>
URL: http://pypgsql.sourceforge.net/
Packager: Python Development Team <python at packages.altlinux.org>

BuildPreReq: python-devel

# Automatically added by buildreq on Thu Mar 22 2007

BuildRequires: postgresql-devel

%description
pyPgSQL is a package of two (2) modules that provide a Python DB-API 2.0
compliant interface to PostgreSQL databases.  The first module, libpq,
exports the PostgreSQL C API to Python.  This module is written in C and
can be compiled into Python or can be dynamically loaded on demand.  The
second module, PgSQL, provides the DB-API 2.0 compliant interface and
support for various PostgreSQL data types, such as INT8, NUMERIC, MONEY,
BOOL, ARRAYS, etc.  This module is written in Python.  This version works
with PostgreSQL 7.0 or later and Python 2.1 or later.

%prep
%setup  -q -n %modulename

%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)
%doc examples README README.html

%changelog

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

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