Compare commits

..

35 commits

Author SHA1 Message Date
Scott K Logan
25a40ea1a5 Ignore warnings during pytest
Some of these tests capture stdout, and the warning output to stdout
breaks the asserts.
2025-11-19 16:11:21 -06:00
Python Maint
6b564486a0 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:43:20 +02:00
Python Maint
ccb4bee364 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:07:18 +02:00
Fedora Release Engineering
c8c627932d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 11:01:51 +00:00
Python Maint
7ccb7f8f97 Rebuilt for Python 3.14 2025-06-02 23:24:41 +02:00
Fedora Release Engineering
340169b1d0 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 20:32:51 +00:00
Miroslav Suchý
befb791516 convert ASL 2.0 license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-24 17:48:33 +02:00
Fedora Release Engineering
c893949e57 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 16:54:03 +00:00
Python Maint
95bd11b958 Rebuilt for Python 3.13 2024-06-07 10:59:20 +02:00
Fedora Release Engineering
bb6419bd54 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 12:33:29 +00:00
Fedora Release Engineering
41b1bab071 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 08:49:51 +00:00
Fedora Release Engineering
567084bbda Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 15:09:08 +00:00
Python Maint
2eefb44506 Rebuilt for Python 3.12 2023-06-13 23:05:29 +02:00
Fedora Release Engineering
d60468f4d7 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 18:15:06 +00:00
Scott K Logan
7d1639f4f7 Update to 0.3.0
Also drop Python 2 subpackage, which is no longer supported upstream
2022-10-16 16:10:46 -07:00
Fedora Release Engineering
27645f4661 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 23:16:59 +00:00
Python Maint
f43bed1174 Rebuilt for Python 3.11 2022-06-13 17:17:06 +02:00
Fedora Release Engineering
8d38e6efe9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 16:20:31 +00:00
Fedora Release Engineering
039f281357 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-27 08:30:20 +00:00
Python Maint
981ed650a8 Rebuilt for Python 3.10 2021-06-04 21:07:48 +02:00
Fedora Release Engineering
a0e5237089 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 14:04:34 +00:00
Scott K Logan
2efe543388 Update to 0.2.15 2020-11-02 12:04:29 -08:00
Scott K Logan
515d9da493 Update to 0.2.14 2020-08-16 14:23:04 -07:00
Scott K Logan
60f5dd5aaa Update to 0.2.13 2020-07-27 10:25:23 -07:00
Scott K Logan
e9c16550c2 Update to 0.2.12 2020-07-02 08:41:59 -07:00
Scott K Logan
f37b2733b1 Update to 0.2.11 2020-06-18 11:44:47 -07:00
Scott K Logan
9449b2c35d Update to 0.2.10 2020-06-15 17:07:37 -07:00
Scott K Logan
7274119a5c Update to 0.2.9 2020-05-29 10:52:07 -07:00
Miro Hrončok
1fb26c2175 Rebuilt for Python 3.9 2020-05-26 03:44:59 +02:00
Scott K Logan
c23e884e3d Update to 0.2.8 2020-05-10 02:41:22 -07:00
Scott K Logan
32fffa0ae9 Update to 0.2.7 2020-04-15 13:34:59 -07:00
Fedora Release Engineering
cfd749d032 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 16:04:28 +00:00
Scott K Logan
69377a4509 Update to 0.2.4 2019-10-30 12:37:35 -07:00
Miro Hrončok
efca341428 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:35:05 +02:00
Miro Hrončok
9359207b47 Rebuilt for Python 3.8 2019-08-19 11:01:09 +02:00
4 changed files with 86 additions and 100 deletions

1
.gitignore vendored
View file

@ -13,3 +13,4 @@
/vcstool-0.2.13.tar.gz
/vcstool-0.2.14.tar.gz
/vcstool-0.2.15.tar.gz
/vcstool-0.3.0.tar.gz

View file

@ -1,6 +1 @@
# MANUAL PAGES
addFilter(r'no-manual-page-for-binary (vcs|vcs-.*)( |$)')
# SPELLING ERRORS
addFilter(r'spelling-error .* en_US (vcstools)( |$)')
addFilter(r'spelling-error Summary\(en_US\) (vcs)( |$)')

View file

@ -1,14 +1,12 @@
%{?!_without_python2:%global with_python2 0%{?_with_python2:1} || !(0%{?fedora} >= 30 || 0%{?rhel} >= 8)}
%{?!_without_python3:%global with_python3 0%{?_with_python3:1} || !0%{?rhel} || 0%{?rhel} >= 7}
%global srcname vcstool
Name: python-%{srcname}
Version: 0.2.15
Release: 1%{?dist}
Version: 0.3.0
Release: 15%{?dist}
Summary: Tool to invoke vcs commands on multiple repositories
License: ASL 2.0
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
License: Apache-2.0
URL: https://github.com/dirk-thomas/%{srcname}
Source0: https://github.com/dirk-thomas/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz
@ -30,43 +28,6 @@ The biggest differences between the two are:
command line tools built on top.
%if 0%{?with_python2}
%package -n python2-%{srcname}
Summary: %{summary}
BuildRequires: git
BuildRequires: python2-devel
BuildRequires: python2-pytest
BuildRequires: python2-pyyaml
BuildRequires: python2-setuptools
%{?python_provide:%python_provide python2-%{srcname}}
%if %{undefined __pythondist_requires}
Requires: python2-pyyaml
Requires: python2-setuptools
%endif
%if !0%{?rhel} || 0%{?rhel} >= 8
Recommends: git
%endif
%description -n python2-%{srcname}
Vcstool is a version control system (VCS) tool, designed to make working with
multiple repositories easier.
Note: This tool should not be confused with vcstools (with a trailing s) which
provides a Python API for interacting with different version control systems.
The biggest differences between the two are:
- vcstool doesn't use any state beside the repository working copies available
in the filesystem.
- The file format of vcstool export uses the relative paths of the repositories
as keys in YAML which avoids collisions by design.
- vcstool has significantly less lines of code than vcstools including the
command line tools built on top.
%endif
%if 0%{?with_python3}
%package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary}
BuildRequires: git
@ -99,7 +60,6 @@ The biggest differences between the two are:
as keys in YAML which avoids collisions by design.
- vcstool has significantly less lines of code than vcstools including the
command line tools built on top.
%endif
%prep
@ -107,13 +67,7 @@ The biggest differences between the two are:
%build
%if 0%{?with_python2}
%py2_build
%endif
%if 0%{?with_python3}
%py3_build
%endif
%install
@ -124,27 +78,6 @@ The biggest differences between the two are:
install -d %{buildroot}%{_datadir}/bash-completion/completions %{buildroot}%{_bindir}
%if 0%{?with_python2}
%py2_install -- --install-scripts %{_bindir}2
echo -n "" > py2_bins
for f in `ls %{buildroot}%{_bindir}2`; do
mv %{buildroot}%{_bindir}2/$f %{buildroot}%{_bindir}/$f-%{python2_version}
ln -s $f-%{python2_version} %{buildroot}%{_bindir}/$f-2
%if !(0%{?with_python3})
ln -s $f-%{python2_version} %{buildroot}%{_bindir}/$f
echo "%{_bindir}/$f" >> py2_bins
%endif
echo -e "%{_bindir}/$f-2\n%{_bindir}/$f-%{python2_version}" >> py2_bins
done
# Integrate bash completion with the bash-completion package
cp -f %{buildroot}%{_datadir}/%{srcname}-completion/vcs.bash %{buildroot}%{_datadir}/bash-completion/completions/vcs
ln -sf vcs %{buildroot}%{_datadir}/bash-completion/completions/vcs-2
ln -s vcs %{buildroot}%{_datadir}/bash-completion/completions/vcs-%{python2_version}
%endif
%if 0%{?with_python3}
%py3_install -- --install-scripts %{_bindir}%{python3_pkgversion}
echo -n "" > py3_bins
@ -156,10 +89,9 @@ for f in `ls %{buildroot}%{_bindir}%{python3_pkgversion}`; do
done
# Integrate bash completion with the bash-completion package
cp -f %{buildroot}%{_datadir}/%{srcname}-completion/vcs.bash %{buildroot}%{_datadir}/bash-completion/completions/vcs
cp -af %{buildroot}%{_datadir}/%{srcname}-completion/vcs.bash %{buildroot}%{_datadir}/bash-completion/completions/vcs
ln -sf vcs %{buildroot}%{_datadir}/bash-completion/completions/vcs-3
ln -s vcs %{buildroot}%{_datadir}/bash-completion/completions/vcs-%{python3_version}
%endif
%check
@ -171,28 +103,10 @@ ln -s vcs %{buildroot}%{_datadir}/bash-completion/completions/vcs-%{python3_vers
--ignore test/test_commands.py \\\
test
%if 0%{?with_python2}
%{__python2} -m pytest %pytest_options
%endif
%if 0%{?with_python3}
%{__python3} -m pytest %pytest_options
%endif
PYTHONWARNINGS=ignore \
%{__python3} -m pytest %pytest_options
%if 0%{?with_python2}
%files -n python2-%{srcname} -f py2_bins
%license LICENSE
%doc CONTRIBUTING.md README.rst
%{python2_sitelib}/%{srcname}/
%{python2_sitelib}/%{srcname}-%{version}-py%{python2_version}.egg-info/
%{_datadir}/%{srcname}-completion
%{_datadir}/bash-completion/completions/vcs
%{_datadir}/bash-completion/completions/vcs-2
%{_datadir}/bash-completion/completions/vcs-%{python2_version}
%endif
%if 0%{?with_python3}
%files -n python%{python3_pkgversion}-%{srcname} -f py3_bins
%license LICENSE
%doc CONTRIBUTING.md README.rst
@ -202,10 +116,74 @@ ln -s vcs %{buildroot}%{_datadir}/bash-completion/completions/vcs-%{python3_vers
%{_datadir}/bash-completion/completions/vcs
%{_datadir}/bash-completion/completions/vcs-3
%{_datadir}/bash-completion/completions/vcs-%{python3_version}
%endif
%changelog
* Wed Nov 19 2025 Scott K Logan <logans@cottsay.net> - 0.3.0-15
- Ignore warnings during pytest (rhbz#2403567)
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 0.3.0-14
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 0.3.0-13
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 0.3.0-11
- Rebuilt for Python 3.14
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 0.3.0-9
- convert license to SPDX
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.3.0-7
- Rebuilt for Python 3.13
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.3.0-3
- Rebuilt for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Oct 16 2022 Scott K Logan <logans@cottsay.net> - 0.3.0-1
- Update to 0.3.0 (rhbz#1991775)
- Drop Python 2 subpackage, which is no longer supported upstream
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.15-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.2.15-6
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.15-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.15-4
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.15-3
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Nov 02 2020 Scott K Logan <logans@cottsay.net> - 0.2.15-1
- Update to 0.2.15 (rhbz#1891662)
@ -227,15 +205,27 @@ ln -s vcs %{buildroot}%{_datadir}/bash-completion/completions/vcs-%{python3_vers
* Fri May 29 2020 Scott K Logan <logans@cottsay.net> - 0.2.9-1
- Update to 0.2.9 (rhbz#1838404)
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.8-2
- Rebuilt for Python 3.9
* Sun May 10 2020 Scott K Logan <logans@cottsay.net> - 0.2.8-1
- Update to 0.2.8 (rhbz#1833742)
* Wed Apr 15 2020 Scott K Logan <logans@cottsay.net> - 0.2.7-1
- Update to 0.2.7 (rhbz#1787844)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Oct 30 2019 Scott K Logan <logans@cottsay.net> - 0.2.4-1
- Update to 0.2.4 (rhbz#1764143)
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.3-3
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.2.3-2
- Rebuilt for Python 3.8
* Thu Aug 08 2019 Scott K Logan <logans@cottsay.net> - 0.2.3-1
- Update to 0.2.3

View file

@ -1 +1 @@
SHA512 (vcstool-0.2.15.tar.gz) = be4817ff466687e57b04254cee5b5cf9b6759b2d1e01e5f756e7d2f1294ca485a172aaab98ba09fc33a3bf0fb86e8798d95f097a15d5491ef544fb2a8825e691
SHA512 (vcstool-0.3.0.tar.gz) = f50ec4c23fce65f71ec0070b709840150f6a90b0620dd937c234c408951b4eb6ad9d53d841d3862ce7ece54c15458fd9db434341fd4a1eabb40a7084fb71b101