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

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

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

%define oname psycopg2cffi

%def_disable check

Name: python3-module-%oname
Version: 2.9.0
Release: alt1
Summary: An implementation of the psycopg2 module using cffi
License: LGPLv3+
Group: Development/Python3
Url: https://pypi.python.org/pypi/psycopg2cffi/

# https://github.com/chtd/psycopg2cffi.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: postgresql-devel libpq-devel
BuildRequires: python3-module-six python3-module-cffi

%py3_provides %oname
%py3_requires six cffi

%description
An implementation of the psycopg2 module using cffi. The module is
currently compatible with Psycopg 2.5.

%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR

%description tests
An implementation of the psycopg2 module using cffi. The module is
currently compatible with Psycopg 2.5.

This package contains tests for %oname.

%prep
%setup

%build
%python3_build

%install
%python3_install

python3 setup.py test ||:
install -d %buildroot%python3_sitelibdir/%oname/_impl/__pycache__
install -m644 %oname/_impl/__pycache__/*.so \
%buildroot%python3_sitelibdir/%oname/_impl/__pycache__/

%check
python3 setup.py test

%files
%doc AUTHORS *.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests

%files tests
%python3_sitelibdir/*/tests

%changelog

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

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