Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37534673
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-psycopg2

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

%define oname psycopg2

# tests require running PGSQL

%def_without check

Name: python3-module-%oname
Version: 2.9.5
Release: alt1

Summary: psycopg2 is a PostgreSQL database adapter for Python3

License: LGPLv3+
Group: Development/Python3
URL: http://www.psycopg.org/psycopg

# https://github.com/psycopg/psycopg2

Source0: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: postgresql-devel python3-devel

BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel

%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: Development/Python
BuildArch: noarch

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

%prep
%setup

echo "include_dirs=.:/usr/include/pgsql" >> setup.cfg

%build
%add_optflags -fno-strict-aliasing
%pyproject_build

%install
%pyproject_install

%files
%doc LICENSE AUTHORS NEWS *.rst
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info

%files doc
%doc AUTHORS INSTALL README* doc

%changelog

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

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