13df2b0
Summary:        Mercurial Python library
13df2b0
Name:           python-hglib
02e13a5
Version:        2.6.1
a058ff7
Release:        4%{?dist}
13df2b0
License:        MIT
13df2b0
URL:            http://selenic.com/repo/python-hglib
a566da1
Source0:        https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
13df2b0
BuildArch:      noarch
13df2b0
BuildRequires:  mercurial
800e75e
BuildRequires:  python2-devel
800e75e
BuildRequires:  python2-nose
13df2b0
BuildRequires:  python3-devel
13df2b0
BuildRequires:  python3-nose
13df2b0
%description
13df2b0
python-hglib is a library with a fast, convenient interface to
13df2b0
Mercurial. It uses Mercurials command server for communication with
13df2b0
hg.
13df2b0
11138fc
%package     -n python2-hglib
13df2b0
Summary:        Mercurial Python library
11138fc
%{?python_provide:%python_provide python2-hglib}
11138fc
%description -n python2-hglib
11138fc
python-hglib is a library with a fast, convenient interface to
11138fc
Mercurial. It uses Mercurials command server for communication with
11138fc
hg.
13df2b0
11138fc
%package     -n python3-hglib
11138fc
Summary:        Mercurial Python library
11138fc
%{?python_provide:%python_provide python3-hglib}
13df2b0
%description -n python3-hglib
13df2b0
python-hglib is a library with a fast, convenient interface to
13df2b0
Mercurial. It uses Mercurials command server for communication with
13df2b0
hg.
13df2b0
13df2b0
%prep
13df2b0
%setup -q
13df2b0
13df2b0
%build
11138fc
%{py2_build}
11138fc
%{py3_build}
13df2b0
13df2b0
%install
11138fc
%{py2_install}
11138fc
%{py3_install}
13df2b0
13df2b0
%check
13df2b0
%{__python2} test.py --with-doctest
13df2b0
%{__python3} test.py --with-doctest
13df2b0
11138fc
%files -n python2-hglib
13df2b0
%license LICENSE
13df2b0
%{python2_sitelib}/hglib
13df2b0
%{python2_sitelib}/python_hglib-*-py*.egg-info
13df2b0
13df2b0
%files -n python3-hglib
13df2b0
%license LICENSE
13df2b0
%{python3_sitelib}/hglib
13df2b0
%{python3_sitelib}/python_hglib-*-py*egg-info
13df2b0
13df2b0
%changelog
a058ff7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-4
a058ff7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a058ff7
59e52f4
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-3
59e52f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
59e52f4
b43cca2
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.6.1-2
b43cca2
- Rebuilt for Python 3.7
b43cca2
02e13a5
* Mon May 21 2018 Terje Rosten <terje.rosten@ntnu.no> - 2.6.1-1
02e13a5
- 2.6.1
02e13a5
ac7b923
* Thu Apr 26 2018 Terje Rosten <terje.rosten@ntnu.no> - 2.6-1
ac7b923
- 2.6
ac7b923
a1010df
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
a1010df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a1010df
1c6c674
* Fri Feb 02 2018 Terje Rosten <terje.rosten@ntnu.no> - 2.5-1
1c6c674
- 2.5
1c6c674
800e75e
* Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.4-3
800e75e
- Update Python 2 dependency declarations to new packaging standards
800e75e
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
800e75e
4eff7b8
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-2
4eff7b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4eff7b8
88d2893
* Tue Apr 04 2017 Terje Rosten <terje.rosten@ntnu.no> - 2.4-1
88d2893
- 2.4
88d2893
596be5e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-2
596be5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
596be5e
815d6ee
* Mon Jan 23 2017 Terje Rosten <terje.rosten@ntnu.no> - 2.3-1
815d6ee
- 2.3
815d6ee
a566da1
* Wed Dec 28 2016 Adam Williamson <awilliam@redhat.com> - 2.2-1
a566da1
- 2.2 (should fix issue between tests and recent hg)
a566da1
f055fa9
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.0-3
f055fa9
- Rebuild for Python 3.6
f055fa9
cb27734
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-2
cb27734
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
cb27734
11138fc
* Tue Feb 02 2016 Terje Rosten <terje.rosten@ntnu.no> - 2.0-1
11138fc
- 2.0
11138fc
c6d83e6
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
c6d83e6
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
c6d83e6
48b2480
* Sat Oct 03 2015 Terje Rosten <terje.rosten@ntnu.no> - 1.9-1
48b2480
- 1.9
48b2480
2236fa4
* Wed Sep 02 2015 Terje Rosten <terje.rosten@ntnu.no> - 1.8-1
2236fa4
- 1.8
2236fa4
2487a9b
* Sun Aug 02 2015 Terje Rosten <terje.rosten@ntnu.no> - 1.7-1
2487a9b
- 1.7
2487a9b
13df2b0
* Wed Jun 24 2015 Terje Rosten <terje.rosten@ntnu.no> - 1.6-2
13df2b0
- use license macro (bz #1231330)
13df2b0
13df2b0
* Fri Jun 12 2015 Terje Rosten <terje.rosten@ntnu.no> - 1.6-1
13df2b0
- initial package