python-testpath package is retired on c9s for CS-569
This commit is contained in:
parent
5b8703a65b
commit
ae597288e6
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
/testpath-0.3.tar.gz
|
||||
/testpath-0.3.1.tar.gz
|
||||
/testpath-0.4.4.tar.gz
|
1
dead.package
Normal file
1
dead.package
Normal file
@ -0,0 +1 @@
|
||||
python-testpath package is retired on c9s for CS-569
|
@ -1,140 +0,0 @@
|
||||
%global pypi_name testpath
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 0.4.4
|
||||
Release: 5%{?dist}
|
||||
Summary: Test utilities for code working with files and commands
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/jupyter/testpath
|
||||
|
||||
Source0: %pypi_source
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-devel
|
||||
|
||||
BuildRequires: python3-flit
|
||||
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-sphinx_rtd_theme
|
||||
|
||||
# Tests:
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
%global _description \
|
||||
Testpath is a collection of utilities for Python code working with files and \
|
||||
commands. \
|
||||
\
|
||||
It contains functions to check things on the filesystem, and tools for \
|
||||
mocking system commands and recording calls to those.
|
||||
|
||||
%description %_description
|
||||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %summary
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
|
||||
%_description
|
||||
|
||||
%package doc
|
||||
Summary: %{name} documentation
|
||||
%description doc
|
||||
Documentation for %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
|
||||
# The exe files are only needed on Microsoft Windows
|
||||
rm -f %{pypi_name}/*.exe
|
||||
|
||||
%build
|
||||
# this package has no setup.py
|
||||
# and upstream does not want one
|
||||
# https://github.com/takluyver/flit/issues/74
|
||||
# we use flit to create a wheel from sources
|
||||
flit build --format wheel
|
||||
|
||||
# generate html docs
|
||||
sphinx-build-3 doc html
|
||||
# remove the sphinx-build leftovers
|
||||
rm -rf html/.{doctrees,buildinfo}
|
||||
|
||||
|
||||
%install
|
||||
# We install the wheel created at %%build
|
||||
%py3_install_wheel %{pypi_name}-%{version}-py2.py3-none-any.whl
|
||||
|
||||
|
||||
|
||||
%check
|
||||
%{__python3} -m pytest -v
|
||||
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/
|
||||
%{python3_sitelib}/%{pypi_name}/
|
||||
|
||||
%files doc
|
||||
%doc html
|
||||
|
||||
%changelog
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.4-5
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Thu May 14 2020 Tomas Hrnciar <thrnciar@redhat.com> - 0.4.4-1
|
||||
- Update to 0.4.4
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-10
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-9
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 15 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-7
|
||||
- Subpackage python2-testpath has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-4
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Wed May 31 2017 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-1
|
||||
- New version 0.3.1 (#1455375)
|
||||
- Uses pathlib2 instead of pathlib
|
||||
|
||||
* Wed Mar 08 2017 Miro Hrončok <mhroncok@redhat.com> - 0.3-1
|
||||
- initial package
|
||||
|
Loading…
Reference in New Issue
Block a user