Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37748637
en ru br
ALT Linux repositórios
5.0: 2.5.1-alt2.1
4.1: 2.5.1-alt2.1
4.0: 2.5.1-alt1

Group :: Desenvolvimento/Python
RPM: python-module-pyPgSQL

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009