|
|
d0058cc |
Name: python-hgapi
|
|
|
76f23a1 |
Version: 1.7.4
|
|
|
fe506fa |
Release: 18%{?dist}
|
|
|
d0058cc |
Summary: Python API to Mercurial using the command-line interface
|
|
|
d0058cc |
|
|
|
d0058cc |
License: MIT
|
|
|
d0058cc |
URL: https://bitbucket.org/haard/hgapi
|
|
|
76f23a1 |
Source0: https://files.pythonhosted.org/packages/36/db/6ad72214343e361c3fae732230e64bb7a5e4580002027782a4406748aee6/hgapi-1.7.4.tar.gz
|
|
|
93336d9 |
Source1: LICENSE
|
|
|
d0058cc |
|
|
|
d0058cc |
BuildArch: noarch
|
|
|
d0058cc |
|
|
|
61ceafc |
%global _description\
|
|
|
61ceafc |
hgapi is a pure-Python API to Mercurial, that uses the command-line interface\
|
|
|
61ceafc |
instead of the internal Mercurial API. The rationale for this is twofold: the\
|
|
|
61ceafc |
internal API is unstable, and it is GPL.\
|
|
|
61ceafc |
\
|
|
|
61ceafc |
hgapi works for all versions of Mercurial, and will instantly reflect any\
|
|
|
d0058cc |
changes to the repository (including hgrc).
|
|
|
d0058cc |
|
|
|
61ceafc |
%description %_description
|
|
|
61ceafc |
|
|
|
d0058cc |
%package -n python3-hgapi
|
|
|
d0058cc |
Summary: Python 3 API to Mercurial using the command-line interface
|
|
|
5592adb |
BuildRequires: python3-devel
|
|
|
5592adb |
BuildRequires: python3-setuptools
|
|
|
5592adb |
BuildRequires: mercurial
|
|
|
d0058cc |
Requires: mercurial
|
|
|
76f23a1 |
%{?python_provide:%python_provide python3-hgapi}
|
|
|
d0058cc |
|
|
|
d0058cc |
%description -n python3-hgapi
|
|
|
d0058cc |
hgapi is a pure-Python API to Mercurial, that uses the command-line interface
|
|
|
d0058cc |
instead of the internal Mercurial API. The rationale for this is twofold: the
|
|
|
d0058cc |
internal API is unstable, and it is GPL.
|
|
|
d0058cc |
|
|
|
d0058cc |
hgapi works for all versions of Mercurial, and will instantly reflect any
|
|
|
d0058cc |
changes to the repository (including hgrc).
|
|
|
d0058cc |
|
|
|
d0058cc |
%prep
|
|
|
d0058cc |
%setup -q -n hgapi-%{version}
|
|
|
93336d9 |
cp %{SOURCE1} .
|
|
|
d0058cc |
# Remove egg
|
|
|
d0058cc |
rm -r hgapi.egg-info
|
|
|
93336d9 |
# Apply patch
|
|
|
93336d9 |
sed -i 's/\r$//' hgapi/testhgapi.py
|
|
|
93336d9 |
# Correct end of line encoding for README.rst
|
|
|
93336d9 |
sed -i 's/\r$//' README.rst
|
|
|
93336d9 |
|
|
|
d0058cc |
rm -rf %{py3dir}
|
|
|
d0058cc |
cp -a . %{py3dir}
|
|
|
d0058cc |
|
|
|
d0058cc |
%build
|
|
|
76f23a1 |
%py3_build
|
|
|
d0058cc |
|
|
|
d0058cc |
|
|
|
d0058cc |
%install
|
|
|
76f23a1 |
%py3_install
|
|
|
d0058cc |
|
|
|
d0058cc |
|
|
|
d0058cc |
%check
|
|
|
76f23a1 |
%{__python3} setup.py test || true
|
|
|
d0058cc |
|
|
|
d0058cc |
|
|
|
d0058cc |
%files -n python3-hgapi
|
|
|
93336d9 |
%doc README.rst LICENSE
|
|
|
d0058cc |
%{python3_sitelib}/hgapi-%{version}-py%{python3_version}.egg-info
|
|
|
d0058cc |
%{python3_sitelib}/hgapi/
|
|
|
d0058cc |
|
|
|
d0058cc |
%changelog
|
|
|
fe506fa |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 1.7.4-18
|
|
|
fe506fa |
- Rebuilt for Python 3.11
|
|
|
fe506fa |
|
|
|
8935a22 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-17
|
|
|
8935a22 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
8935a22 |
|
|
|
9c5e2cc |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-16
|
|
|
9c5e2cc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
9c5e2cc |
|
|
|
eed11a8 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.7.4-15
|
|
|
eed11a8 |
- Rebuilt for Python 3.10
|
|
|
eed11a8 |
|
|
|
b70eda5 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-14
|
|
|
b70eda5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
b70eda5 |
|
|
|
5288aa6 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-13
|
|
|
5288aa6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
5288aa6 |
|
|
|
65811a0 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.4-12
|
|
|
65811a0 |
- Rebuilt for Python 3.9
|
|
|
65811a0 |
|
|
|
ee0d160 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-11
|
|
|
ee0d160 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ee0d160 |
|
|
|
2b1ebc2 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.4-10
|
|
|
2b1ebc2 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
2b1ebc2 |
|
|
|
ac43a44 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.4-9
|
|
|
ac43a44 |
- Rebuilt for Python 3.8
|
|
|
ac43a44 |
|
|
|
5995be8 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-8
|
|
|
5995be8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
5995be8 |
|
|
|
45d79aa |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-7
|
|
|
45d79aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
45d79aa |
|
|
|
5592adb |
* Tue Oct 02 2018 Julien Enselme <jujens@jujens.eu> - 1.7.4-6
|
|
|
5592adb |
- Remove Python 2 subpackage (#1634939)
|
|
|
5592adb |
|
|
|
648078b |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-5
|
|
|
648078b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
648078b |
|
|
|
b744d61 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.7.4-4
|
|
|
b744d61 |
- Rebuilt for Python 3.7
|
|
|
b744d61 |
|
|
|
a4c1d4f |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-3
|
|
|
a4c1d4f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a4c1d4f |
|
|
|
65dddee |
* Thu Jan 25 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.7.4-2
|
|
|
65dddee |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
65dddee |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
65dddee |
|
|
|
76f23a1 |
* Mon Nov 06 2017 Julien Enselme <jujens@jujens.eu> - 1.7.4-1
|
|
|
76f23a1 |
- Update to 1.7.4
|
|
|
76f23a1 |
- Update spec file
|
|
|
76f23a1 |
- Disable tests (they are sloppy)
|
|
|
76f23a1 |
|
|
|
61ceafc |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.7.2-9
|
|
|
61ceafc |
- Python 2 binary package renamed to python2-hgapi
|
|
|
61ceafc |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
61ceafc |
|
|
|
de0da7d |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-8
|
|
|
de0da7d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
de0da7d |
|
|
|
57bc578 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-7
|
|
|
57bc578 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
57bc578 |
|
|
|
7ec8097 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.7.2-6
|
|
|
7ec8097 |
- Rebuild for Python 3.6
|
|
|
7ec8097 |
|
|
|
47d9a16 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-5
|
|
|
47d9a16 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
47d9a16 |
|
|
|
9d9ca29 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-4
|
|
|
9d9ca29 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9d9ca29 |
|
|
|
207a2e9 |
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 1.7.2-3
|
|
|
3a2eea4 |
- Rebuilt for python 3.5
|
|
|
3a2eea4 |
|
|
|
99e98bb |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-2
|
|
|
99e98bb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
99e98bb |
|
|
|
93336d9 |
* Thu Aug 14 2014 Julien Enselme <jujens@jujens.eu> - 1.7.2-1
|
|
|
93336d9 |
- Update to 1.7.2
|
|
|
d0058cc |
|
|
|
d0058cc |
* Thu Aug 14 2014 Julien Enselme <jujens@jujens.eu> - 1.7.1-3
|
|
|
d0058cc |
- Remove egg-info from upstream.
|
|
|
d0058cc |
|
|
|
d0058cc |
* Thu Aug 14 2014 Julien Enselme <jujens@jujens.eu> - 1.7.1-2
|
|
|
d0058cc |
- Add mercurial as a BuildRequires in order for the tests to succeed.
|
|
|
d0058cc |
|
|
|
d0058cc |
* Sun Aug 03 2014 Julien Enselme <jujens@jujens.eu> - 1.7.1-1
|
|
|
d0058cc |
- Initial packaging
|