Sophie

Sophie

distrib > Mageia > 9 > aarch64 > media > core-release-src > by-pkgid > a70cc4d7cf818c4a28eebad2b4a18262 > files > 2

python-pygit2-1.8.0-1.mga9.src.rpm

%global pypi_name pygit2
%global __requires_exclude pycparser

Name:           python-%{pypi_name}
Version:        1.8.0
Release:        %mkrel 1
Summary:        Python bindings for libgit2
Group:          Development/Python
License:        GPLv2 with linking exception
URL:            https://pypi.org/project/pygit2
Source0:        https://github.com/libgit2/pygit2/archive/v%{version}/%{pypi_name}-%{version}.tar.gz

BuildRequires: pyproject-rpm-macros
BuildRequires:  pkgconfig(libgit2) >= 1.3.0
BuildRequires:  pkgconfig(openssl)

%description
pygit2 is a set of Python bindings to the libgit2 library, which implements
the core of Git.

%package -n     python3-%{pypi_name}
Summary:        %{summary}
Group:          Development/Python
%{?python_provide:%python_provide python3-%{pypi_name}}
BuildRequires:  python3-cffi
BuildRequires:  python3-devel
BuildRequires:  python3-pytest
BuildRequires:  python3-setuptools
BuildRequires:  python3-cached-property
BuildRequires:  python3-six
Requires:       python3-cffi
Requires:       python3-six

%description -n python3-%{pypi_name}
pygit2 is a set of Python bindings to the libgit2 library, which implements
the core of Git.

%package        doc
Summary:        Documentation for %{name}
BuildArch:      noarch
# For /usr/bin/sphinx-build
BuildRequires:  python3-sphinx

%description    doc
Documentation for %{name}.

%prep
%autosetup -n %{pypi_name}-%{version} -p1

%build
%pyproject_wheel

%make_build -C docs html

%install
%pyproject_install
%pyproject_save_files pygit2

find %{_builddir} -name '.buildinfo' -delete

# Correct the permissions.
find %{buildroot} -name '*.so' -exec chmod 755 {} ';'

%check
# This is horrible, but otherwise pytest does not use pygit2 from site-packages
rm -f pygit2/__init__.py
# https://github.com/libgit2/pygit2/issues/812
%ifarch ppc64 s390x
  PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v || :
%else
  PYTHONPATH=%{buildroot}%{python3_sitearch} py.test-%{python3_version} -v
%endif

%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.rst
%license COPYING

%files doc
%license COPYING
%doc docs/_build/html/*


%changelog
* Wed Sep 07 2022 neoclust <neoclust> 1.8.0-1.mga9
+ Revision: 1885131
- New version  1.8.0

* Wed Mar 30 2022 umeabot <umeabot> 1.7.2-3.mga9
+ Revision: 1833849
- Mageia 9 Mass Rebuild

* Tue Feb 22 2022 mrambo3501 <mrambo3501> 1.7.2-2.mga9
+ Revision: 1783205
- rebuild for python-3.10

* Mon Jan 03 2022 wally <wally> 1.7.2-1.mga9
+ Revision: 1766345
- new version 1.7.2
- rebuild for libgit2 1.3.0

* Tue Aug 31 2021 wally <wally> 1.6.1-1.mga9
+ Revision: 1743789
- new version 1.6.1

* Mon Apr 19 2021 daviddavid <daviddavid> 1.5.0-2.mga9
+ Revision: 1717126
- rebuild for python 3.9

* Wed Mar 03 2021 guillomovitch <guillomovitch> 1.5.0-1.mga9
+ Revision: 1697571
- new version 1.5.0

* Wed Dec 30 2020 luigiwalser <luigiwalser> 1.4.0-1.mga8
+ Revision: 1666251
- 1.4.0
- rebuild for libgit2

* Fri Jul 24 2020 daviddavid <daviddavid> 1.2.1-1.mga8
+ Revision: 1608706
- new version: 1.2.1

* Sun Feb 16 2020 umeabot <umeabot> 0.28.2-3.mga8
+ Revision: 1536326
- Mageia 8 Mass Rebuild

* Wed Oct 16 2019 daviddavid <daviddavid> 0.28.2-2.mga8
+ Revision: 1453952
- rebuild for python3.8
- drop python2 support

* Tue Aug 20 2019 wally <wally> 0.28.2-1.mga8
+ Revision: 1430610
- new version 0.28.2

* Sat Apr 20 2019 wally <wally> 0.28.1-1.mga7
+ Revision: 1393739
- new version 0.28.1

* Wed Jan 09 2019 shlomif <shlomif> 0.27.3-1.mga7
+ Revision: 1353910
- Rebuild for python3 3.7

* Sun Sep 23 2018 umeabot <umeabot> 0.27.0-3.mga7
+ Revision: 1300562
- Mageia 7 Mass Rebuild

* Thu Apr 26 2018 ngompa <ngompa> 0.27.0-2.mga7
+ Revision: 1222516
- Bump rel to rebuild with test results ignored to get i586 build
- Update to 0.27.0
+ daviddavid <daviddavid>
- rebuild for new libgit2

* Mon Nov 27 2017 ngompa <ngompa> 0.26.1-4.mga7
+ Revision: 1180047
- Adapt for Mageia
- imported package python-pygit2


* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.26.1-3
- Fixup python3 conditionals

* Mon Nov 20 2017 Pete Walter <pwalter@fedoraproject.org> - 0.26.1-2
- Add back Python 3 conditionals

* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.26.1-1
- Update to 0.26.1

* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Jul 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.26.0-1
- Update to 0.26.0

* Sun May 07 2017 Pete Walter <pwalter@fedoraproject.org> - 0.25.1-2
- Fix the build with cffi 1.10

* Thu Apr 27 2017 Pete Walter <pwalter@fedoraproject.org> - 0.25.1-1
- Update to 0.25.1
- Disable one more failing test that tries to do network access

* Mon Apr 10 2017 Pete Walter <pwalter@fedoraproject.org> - 0.25.0-3
- Trivial spec file fixes
- Add Python 3 conditionals

* Tue Feb 07 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.25.0-2
- Bump release for rebuild

* Tue Jan 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.25.0-1
- Update to 0.25.0 (RHBZ #1408689)

* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.24.2-2
- Rebuild for Python 3.6

* Sat Nov 19 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.2-1
- Update to 0.24.2 (RHBZ #1390796)

* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24.1-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

* Wed Jun 22 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.1-1
- Update to 0.24.1 (RHBZ #1348750)

* Mon Apr 18 2016 Igor Gnatenko <ignatenko@redhat.com> 0.24.0-3
- Remove remote-calling unit tests
- repository: decode() linkname
- repository: SYMTYPE is constant in module tarfile, not in any class

* Thu Apr 14 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.24.0-2
- Add python[23]-six to BR/Rs

* Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-1
- Update to 0.24.0

* Wed Feb 24 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.23.3-2
- Fix building 0.23.3 also in i686

* Sun Feb 14 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.3-1
- Update to 0.23.3
- Fix compliance with new packaging guidelines

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23.1-2
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5

* Sun Sep 27 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.1-1
- Update to 0.23.1 (RHBZ #1266726)

* Fri Jul 31 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.23.0-0.1
- Cherry-pick patch for 0.23.0 support

* Fri Jul 31 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.22.1-2
- Rebuilt for libgit2-0.23.0 and libgit2-glib-0.23

* Mon Jul 13 2015 Mathieu Bridon <bochecha@daitauha.fr> - 0.22.1-1
- Update to 0.22.1 (#1242226)
- Drop one of our patches, as it has been merged in this release.

* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Wed Jan 21 2015 Mathieu Bridon <bochecha@daitauha.fr> - 0.22.0-1
- Update to 0.22.0

* Mon Nov 17 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.4-1
- Update to 0.21.4

* Fri Sep 19 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.3-1
- Update to 0.21.3

* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Thu Aug 14 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.2-2
- Add missing requirement
  https://bugzilla.redhat.com/show_bug.cgi?id=1129868

* Tue Aug 12 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.2-1
- Update to 0.21.2

* Tue Jul 29 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.1-1
- Update to 0.21.1

* Sun Jun 29 2014 Mathieu Bridon <bochecha@fedoraproject.org> - 0.21.0-1
- Update to 0.21.0

* Sat Jun 21 2014 Christopher Meng <rpm@cicku.me> - 0.20.3-1
- Update to 0.20.3

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.20.2-2
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4

* Sun Mar 09 2014 Christopher Meng <rpm@cicku.me> - 0.20.2-1
- Update to 0.20.2

* Sun Dec 08 2013 Christopher Meng <rpm@cicku.me> - 0.20.0-1
- Update to 0.20.0
- Clarify the license

* Tue Oct 08 2013 Christopher Meng <rpm@cicku.me> - 0.19.1-2
- Split out -doc subpackage.
- Correct the libs permissions.

* Mon Oct 07 2013 Christopher Meng <rpm@cicku.me> - 0.19.1-1
- Update to 0.19.1

* Sat Aug 17 2013 Christopher Meng <rpm@cicku.me> - 0.19.0-4
- Add missing sphinx BR.

* Tue Aug 13 2013 Christopher Meng <rpm@cicku.me> - 0.19.0-3
- Remove unneeded files.

* Mon Aug 12 2013 Christopher Meng <rpm@cicku.me> - 0.19.0-2
- Add missing nose BR.
- Add docs.

* Thu Aug 01 2013 Christopher Meng <rpm@cicku.me> - 0.19.0-1
- Update to new release.

* Fri Apr 26 2013 Christopher Meng <rpm@cicku.me> - 0.18.1-1
- Update to new release.

* Mon Sep 24 2012 Christopher Meng <rpm@cicku.me> - 0.17.3-1
- Update to new release.

* Sun Jul 29 2012 Christopher Meng <rpm@cicku.me> - 0.17.2-1
- Update to new release.

* Fri Mar 30 2012 Christopher Meng <rpm@cicku.me> - 0.16.1-1
- Update to new release.

* Thu Mar 01 2012 Christopher Meng <rpm@cicku.me> - 0.16.0-1
- Initial Package.