|
|
888da9 |
%global pypi_name path.py
|
|
|
888da9 |
|
|
|
888da9 |
Name: python-path
|
|
|
888da9 |
Version: 11.5.0
|
|
|
888da9 |
Release: 9%{?dist}
|
|
|
888da9 |
Summary: Python module wrapper for os.path
|
|
|
888da9 |
|
|
|
888da9 |
License: MIT
|
|
|
888da9 |
URL: https://pypi.python.org/pypi/path.py
|
|
|
888da9 |
Source0: %pypi_source
|
|
|
888da9 |
BuildArch: noarch
|
|
|
888da9 |
|
|
|
888da9 |
%description
|
|
|
888da9 |
path.py implements path objects as first-class entities, allowing common
|
|
|
888da9 |
operations on files to be invoked on those path objects directly.
|
|
|
888da9 |
|
|
|
888da9 |
|
|
|
888da9 |
%package -n python3-path
|
|
|
888da9 |
Summary: Python 3 module wrapper for os.path
|
|
|
888da9 |
BuildRequires: python3-devel
|
|
|
888da9 |
BuildRequires: python3-setuptools
|
|
|
888da9 |
BuildRequires: python3-setuptools_scm
|
|
|
888da9 |
BuildRequires: python3-packaging
|
|
|
888da9 |
BuildRequires: python3-pytest
|
|
|
888da9 |
%{?python_provide:%python_provide python3-path}
|
|
|
888da9 |
%description -n python3-path
|
|
|
888da9 |
path.py implements path objects as first-class entities, allowing common
|
|
|
888da9 |
operations on files to be invoked on those path objects directly.
|
|
|
888da9 |
|
|
|
888da9 |
|
|
|
888da9 |
%prep
|
|
|
888da9 |
%autosetup -n %{pypi_name}-%{version} -p1
|
|
|
888da9 |
sed -i 's/\[pytest\]/\[tool:pytest\]/' setup.cfg
|
|
|
888da9 |
sed -i 's/ --flake8//' pytest.ini
|
|
|
888da9 |
|
|
|
888da9 |
# We do not have https://pypi.org/project/importlib-metadata/ in python2
|
|
|
888da9 |
# to populate __version__, so we do it statically here:
|
|
|
888da9 |
sed -i "s/__version__ = 'unknown'/__version__ = '%{version}'/" path.py
|
|
|
888da9 |
sed -i "/importlib_metadata/d" setup.py
|
|
|
888da9 |
|
|
|
888da9 |
|
|
|
888da9 |
%build
|
|
|
888da9 |
SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
|
|
888da9 |
%py3_build
|
|
|
888da9 |
|
|
|
888da9 |
|
|
|
888da9 |
%install
|
|
|
888da9 |
%py3_install
|
|
|
888da9 |
|
|
|
888da9 |
|
|
|
888da9 |
%check
|
|
|
888da9 |
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 -v
|
|
|
888da9 |
|
|
|
888da9 |
|
|
|
888da9 |
%files -n python3-path
|
|
|
888da9 |
%{python3_sitelib}/__pycache__/*
|
|
|
888da9 |
%{python3_sitelib}/path.py
|
|
|
888da9 |
%{python3_sitelib}/path.py-%{version}-py%{python3_version}.egg-info/
|
|
|
888da9 |
%exclude %{python3_sitelib}/test_path.py
|
|
|
888da9 |
|
|
|
888da9 |
|
|
|
888da9 |
%changelog
|
|
|
888da9 |
* Mon Oct 25 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 11.5.0-9
|
|
|
888da9 |
- Rebuild from lookaside
|
|
|
888da9 |
|
|
|
888da9 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.5.0-8
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 11.5.0-7
|
|
|
888da9 |
- Rebuilt for Python 3.10
|
|
|
888da9 |
|
|
|
888da9 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 11.5.0-7
|
|
|
888da9 |
- Rebuilt for Python 3.10
|
|
|
888da9 |
|
|
|
888da9 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.5.0-6
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 11.5.0-5
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 11.5.0-4
|
|
|
888da9 |
- Rebuilt for Python 3.9
|
|
|
888da9 |
|
|
|
888da9 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 11.5.0-3
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Wed Sep 11 2019 Miro Hrončok <mhroncok@redhat.com> - 11.5.0-2
|
|
|
888da9 |
- Subpackage python2-path has been removed
|
|
|
888da9 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
888da9 |
|
|
|
888da9 |
* Tue Aug 20 2019 Ken Dreyer <kdreyer@redhat.com> - 11.5.0-1
|
|
|
888da9 |
- Update to latest upstream release (rhbz#1206250)
|
|
|
888da9 |
|
|
|
888da9 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 5.2-18
|
|
|
888da9 |
- Rebuilt for Python 3.8
|
|
|
888da9 |
|
|
|
888da9 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-17
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-16
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.2-15
|
|
|
888da9 |
- Drop explicit locale setting for python3, use C.UTF-8 for python2
|
|
|
888da9 |
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
|
|
|
888da9 |
|
|
|
888da9 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-14
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 5.2-13
|
|
|
888da9 |
- Rebuilt for Python 3.7
|
|
|
888da9 |
|
|
|
888da9 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-12
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Tue Jan 16 2018 Troy Dawson <tdawson@redhat.com> - 5.2-11
|
|
|
888da9 |
- Update conditional
|
|
|
888da9 |
|
|
|
888da9 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-10
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-9
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Mon Jan 02 2017 Thomas Spura <tomspur@fedoraproject.org> - 5.2-8
|
|
|
888da9 |
- rename python-* to python2-*
|
|
|
888da9 |
- expand %%files
|
|
|
888da9 |
- use py_build/install macros
|
|
|
888da9 |
|
|
|
888da9 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 5.2-7
|
|
|
888da9 |
- Rebuild for Python 3.6
|
|
|
888da9 |
|
|
|
888da9 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-6
|
|
|
888da9 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
888da9 |
|
|
|
888da9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-5
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Wed Nov 11 2015 Orion Poplawski <orion@cora.nwra.com> - 5.2-4
|
|
|
888da9 |
- Fix py.test call for python3
|
|
|
888da9 |
|
|
|
888da9 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-4
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
888da9 |
|
|
|
888da9 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-3
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Wed Sep 3 2014 Thomas Spura <tomspur@fedoraproject.org> - 5.2-2
|
|
|
888da9 |
- enable testsuite
|
|
|
888da9 |
|
|
|
888da9 |
* Wed Sep 3 2014 Thomas Spura <tomspur@fedoraproject.org> - 5.2-1
|
|
|
888da9 |
- update to 5.2
|
|
|
888da9 |
|
|
|
888da9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1-3
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
888da9 |
|
|
|
888da9 |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 5.1-2
|
|
|
888da9 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
888da9 |
|
|
|
888da9 |
* Fri Apr 04 2014 Xavier Lamien <laxathom@fedoraproject.org> - 5.1-1
|
|
|
888da9 |
- Upstream release.
|
|
|
888da9 |
- Add python3's subpackage.
|
|
|
888da9 |
|
|
|
888da9 |
* Fri Jul 26 2013 Xavier Lamien <laxathom@fedoraproject.org> - 4.3-1
|
|
|
888da9 |
- Upstream release.
|
|
|
888da9 |
|
|
|
888da9 |
* Wed Apr 10 2013 Xavier Lamien <laxathom@fedoraproject.org> - 3.0.1-2
|
|
|
888da9 |
- Add %%check stage.
|
|
|
888da9 |
- Update BuildRequire.
|
|
|
888da9 |
- Add missing %%docs.
|
|
|
888da9 |
|
|
|
888da9 |
* Wed Apr 10 2013 Xavier Lamien <laxathom@fedoraproject.org> - 3.0.1-1
|
|
|
888da9 |
- Initial RPM release.
|