Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37048497
en ru br
ALT Linux repositórios
5.0: 2.0.8-alt1
4.1: 2.0.6-alt3.1
4.0: 2.0.6-alt1.svn876
3.0: 2.0-alt0.b4

Group :: Banco de dados
RPM: python-module-psycopg2

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

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