Группа :: Development/Python3
Пакет: python3-module-dulwich
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name dulwich
%def_enable check
Name: python3-module-%pypi_name
Version: 0.21.5
Release: alt1
Summary: Python Git Library
License: Apache-2.0 or GPL-2.0-or-later
Group: Development/Python3
Url: https://www.dulwich.io
Vcs: https://github.com/dulwich/dulwich.git
Source: https://pypi.io/packages/source/d/%pypi_name/%pypi_name-%version.tar.gz
%py3_provides %pypi_name
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools python3-module-wheel
%{?_enable_check:BuildRequires: python3(tox)
BuildRequires: python3(urllib3)
BuildRequires: python3(fastimport)}
#gpg.errors.GPGMEError: GPGME: Invalid crypto engine
#BuildRequires: python3(gpg) /usr/bin/gpg
%description
Simple Python implementation of the Git file formats and protocols.
Dulwich is the place where Mr. and Mrs. Git live in one of the Monty
Python sketches.
All functionality is available in pure Python, but (optional) C
extensions are also available for better performance.
%package tests
Summary: Tests for dulwich
Group: Development/Python3
Requires: %name = %EVR
%description tests
Simple Python implementation of the Git file formats and protocols.
Dulwich is the place where Mr. and Mrs. Git live in one of the Monty
Python sketches.
All functionality is available in pure Python, but (optional) C
extensions are also available for better performance.
This package contains tests for dulwich.
%prep
%setup -n %pypi_name-%version
%build
%pyproject_build
%install
%pyproject_install
pushd %buildroot%_bindir
for i in $(ls); do
mv $i $i.py3
done
popd
%check
%tox_check
%files
%_bindir/*
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests
%exclude %python3_sitelibdir/*/contrib
%doc AUTHORS COPYING NEWS docs/*.txt
%doc docs/tutorial PKG-INFO README* examples
%files tests
%python3_sitelibdir/*/tests
%python3_sitelibdir/*/contrib
%changelog
…
Полный changelog можно просмотреть здесь
%define pypi_name dulwich
%def_enable check
Name: python3-module-%pypi_name
Version: 0.21.5
Release: alt1
Summary: Python Git Library
License: Apache-2.0 or GPL-2.0-or-later
Group: Development/Python3
Url: https://www.dulwich.io
Vcs: https://github.com/dulwich/dulwich.git
Source: https://pypi.io/packages/source/d/%pypi_name/%pypi_name-%version.tar.gz
%py3_provides %pypi_name
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel python3-module-setuptools python3-module-wheel
%{?_enable_check:BuildRequires: python3(tox)
BuildRequires: python3(urllib3)
BuildRequires: python3(fastimport)}
#gpg.errors.GPGMEError: GPGME: Invalid crypto engine
#BuildRequires: python3(gpg) /usr/bin/gpg
%description
Simple Python implementation of the Git file formats and protocols.
Dulwich is the place where Mr. and Mrs. Git live in one of the Monty
Python sketches.
All functionality is available in pure Python, but (optional) C
extensions are also available for better performance.
%package tests
Summary: Tests for dulwich
Group: Development/Python3
Requires: %name = %EVR
%description tests
Simple Python implementation of the Git file formats and protocols.
Dulwich is the place where Mr. and Mrs. Git live in one of the Monty
Python sketches.
All functionality is available in pure Python, but (optional) C
extensions are also available for better performance.
This package contains tests for dulwich.
%prep
%setup -n %pypi_name-%version
%build
%pyproject_build
%install
%pyproject_install
pushd %buildroot%_bindir
for i in $(ls); do
mv $i $i.py3
done
popd
%check
%tox_check
%files
%_bindir/*
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests
%exclude %python3_sitelibdir/*/contrib
%doc AUTHORS COPYING NEWS docs/*.txt
%doc docs/tutorial PKG-INFO README* examples
%files tests
%python3_sitelibdir/*/tests
%python3_sitelibdir/*/contrib
%changelog
…
Полный changelog можно просмотреть здесь