|
|
b6735cb |
%global pypi_name plumbum
|
|
|
b94557e |
%global with_python2 0
|
|
|
b6735cb |
|
|
|
b6735cb |
Name: python-%{pypi_name}
|
|
|
95a8c69 |
Version: 1.7.2
|
|
|
b30cda1 |
Release: 4%{?dist}
|
|
|
b6735cb |
Summary: Shell combinators library
|
|
|
b6735cb |
|
|
|
b6735cb |
License: MIT
|
|
|
b6735cb |
URL: https://github.com/tomerfiliba/plumbum
|
|
|
b735225 |
Source0: %{pypi_source}
|
|
|
b6735cb |
|
|
|
b6735cb |
BuildArch: noarch
|
|
|
b94557e |
%if 0%{?with_python2}
|
|
|
7b8da42 |
BuildRequires: python2-devel
|
|
|
b94557e |
%endif # if with_python2
|
|
|
b6735cb |
|
|
|
3104abd |
BuildRequires: python3-devel
|
|
|
0754f55 |
BuildRequires: python3-setuptools
|
|
|
3936fc0 |
BuildRequires: python3-setuptools_scm
|
|
|
3936fc0 |
BuildRequires: python3-setuptools_scm+toml
|
|
|
3104abd |
|
|
|
710ed1e |
%global _description\
|
|
|
710ed1e |
Ever wished the wrist-handiness of shell scripts be put into a real programming\
|
|
|
710ed1e |
language? Say hello to Plumbum Shell Combinators. Plumbum (Latin for lead,\
|
|
|
710ed1e |
which was used to create pipes back in the day) is a small yet feature-rich\
|
|
|
710ed1e |
library for shell script-like programs in Python. The motto of the library is\
|
|
|
710ed1e |
"Never write shell scripts again", and thus it attempts to mimic the shell\
|
|
|
710ed1e |
syntax ("shell combinators") where it makes sense, while keeping it all\
|
|
|
b6735cb |
pythonic and cross-platform.
|
|
|
b6735cb |
|
|
|
710ed1e |
%description %_description
|
|
|
710ed1e |
|
|
|
b94557e |
%if 0%{?with_python2}
|
|
|
710ed1e |
%package -n python2-%{pypi_name}
|
|
|
710ed1e |
Summary: %summary
|
|
|
7b8da42 |
Requires: python2-six
|
|
|
710ed1e |
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
710ed1e |
|
|
|
710ed1e |
%description -n python2-%{pypi_name} %_description
|
|
|
b94557e |
%endif # with_python2
|
|
|
710ed1e |
|
|
|
3104abd |
%package -n python3-%{pypi_name}
|
|
|
3104abd |
Summary: Shell combinators library
|
|
|
3104abd |
Requires: python3-six
|
|
|
3104abd |
|
|
|
3104abd |
%description -n python3-%{pypi_name}
|
|
|
3104abd |
Ever wished the wrist-handiness of shell scripts be put into a real programming
|
|
|
3104abd |
language? Say hello to Plumbum Shell Combinators. Plumbum (Latin for lead,
|
|
|
3104abd |
which was used to create pipes back in the day) is a small yet feature-rich
|
|
|
3104abd |
library for shell script-like programs in Python. The motto of the library is
|
|
|
3104abd |
"Never write shell scripts again", and thus it attempts to mimic the shell
|
|
|
3104abd |
syntax ("shell combinators") where it makes sense, while keeping it all
|
|
|
3104abd |
pythonic and cross-platform.
|
|
|
3104abd |
|
|
|
b6735cb |
%prep
|
|
|
b6735cb |
%setup -q -n %{pypi_name}-%{version}
|
|
|
b6735cb |
rm -rf %{pypi_name}.egg-info
|
|
|
b6735cb |
|
|
|
b6735cb |
%build
|
|
|
b94557e |
%if 0%{?with_python2}
|
|
|
b735225 |
%{py2_build}
|
|
|
b94557e |
%endif # with_python2
|
|
|
b6735cb |
|
|
|
b735225 |
%{py3_build}
|
|
|
b6735cb |
|
|
|
b6735cb |
%install
|
|
|
b735225 |
%{py3_install}
|
|
|
3104abd |
|
|
|
b94557e |
%if 0%{?with_python2}
|
|
|
b735225 |
%{py2_install}
|
|
|
b94557e |
%endif # with_python2
|
|
|
b6735cb |
|
|
|
b94557e |
%if 0%{?with_python2}
|
|
|
710ed1e |
%files -n python2-%{pypi_name}
|
|
|
b6735cb |
%doc LICENSE README.rst
|
|
|
b735225 |
%{python2_sitelib}/%{pypi_name}
|
|
|
b735225 |
%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
|
|
|
b94557e |
%endif # with_python2
|
|
|
b6735cb |
|
|
|
3104abd |
%files -n python3-%{pypi_name}
|
|
|
3104abd |
%doc LICENSE README.rst
|
|
|
3104abd |
%{python3_sitelib}/%{pypi_name}
|
|
|
9948318 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
3104abd |
|
|
|
b6735cb |
|
|
|
b6735cb |
%changelog
|
|
|
b30cda1 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-4
|
|
|
b30cda1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
b30cda1 |
|
|
|
beb09dc |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
|
|
|
beb09dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
beb09dc |
|
|
|
920d8c9 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.7.2-2
|
|
|
920d8c9 |
- Rebuilt for Python 3.11
|
|
|
920d8c9 |
|
|
|
95a8c69 |
* Fri Mar 18 2022 Greg Hellings <greg.hellings@gmail.com> - 1.7.2-1
|
|
|
95a8c69 |
- Update to 1.7.2
|
|
|
95a8c69 |
|
|
|
22fd05f |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
|
|
|
22fd05f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
22fd05f |
|
|
|
777ac97 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-3
|
|
|
777ac97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
777ac97 |
|
|
|
533908c |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.7.0-2
|
|
|
533908c |
- Rebuilt for Python 3.10
|
|
|
533908c |
|
|
|
3936fc0 |
* Sun Feb 14 2021 Greg Hellings <greg.hellings@gmail.com> - 1.7.0-1
|
|
|
3936fc0 |
- New version 1.7.0
|
|
|
3936fc0 |
|
|
|
befbb6a |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.9-4
|
|
|
befbb6a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
befbb6a |
|
|
|
6ce75bd |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.9-3
|
|
|
6ce75bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
6ce75bd |
|
|
|
42db520 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.6.9-2
|
|
|
42db520 |
- Rebuilt for Python 3.9
|
|
|
42db520 |
|
|
|
066c6a7 |
* Sat Apr 25 2020 Greg Hellings <greg.hellings@gmail.com> - 1.6.9-1
|
|
|
066c6a7 |
- New version 1.6.9
|
|
|
066c6a7 |
|
|
|
5a15471 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.8-2
|
|
|
5a15471 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
5a15471 |
|
|
|
e4183d6 |
* Sun Nov 24 2019 Greg Hellings <greg.hellings@gmail.com> - 1.6.8-1
|
|
|
e4183d6 |
- New version 1.6.8
|
|
|
e4183d6 |
|
|
|
7e2f929 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.7-4
|
|
|
7e2f929 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
7e2f929 |
|
|
|
606018f |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.6.7-3
|
|
|
606018f |
- Rebuilt for Python 3.8
|
|
|
606018f |
|
|
|
a8e6f38 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.7-2
|
|
|
a8e6f38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
a8e6f38 |
|
|
|
b94557e |
* Mon Jul 22 2019 Greg Hellings <greg.hellings@gmail.com> - 1.6.7-1
|
|
|
b94557e |
- Upstream version 1.6.7
|
|
|
b94557e |
- Drop python2 package in Fedora Rawhide
|
|
|
b94557e |
|
|
|
b4fe13a |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.6-2
|
|
|
b4fe13a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
b4fe13a |
|
|
|
b735225 |
* Wed Jul 25 2018 Greg Hellings <greg.hellings@gmail.com> - 1.6.6-1
|
|
|
b735225 |
- Upstream version 1.6.6
|
|
|
b735225 |
- Fix FTBFS BZ#1605834
|
|
|
b735225 |
- Switch to standard Python macros for source URL and building
|
|
|
b735225 |
|
|
|
ff6e175 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-11
|
|
|
ff6e175 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ff6e175 |
|
|
|
5ab1793 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.6.0-10
|
|
|
5ab1793 |
- Rebuilt for Python 3.7
|
|
|
5ab1793 |
|
|
|
a43f6a0 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-9
|
|
|
a43f6a0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a43f6a0 |
|
|
|
7b8da42 |
* Sat Jan 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.6.0-8
|
|
|
7b8da42 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
7b8da42 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
7b8da42 |
|
|
|
710ed1e |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.6.0-7
|
|
|
710ed1e |
- Python 2 binary package renamed to python2-plumbum
|
|
|
710ed1e |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
710ed1e |
|
|
|
1a50456 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-6
|
|
|
1a50456 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
1a50456 |
|
|
|
245c2c1 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-5
|
|
|
245c2c1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
245c2c1 |
|
|
|
42a13a9 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.6.0-4
|
|
|
42a13a9 |
- Rebuild for Python 3.6
|
|
|
42a13a9 |
|
|
|
b0215eb |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-3
|
|
|
b0215eb |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
b0215eb |
|
|
|
ad83535 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
|
|
|
ad83535 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
ad83535 |
|
|
|
92899cb |
* Fri Nov 13 2015 Slavek Kabrda <bkabrda@redhat.com> - 1.6.0-1
|
|
|
92899cb |
- Update to 1.6.0
|
|
|
92899cb |
|
|
|
cb5db5c |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-3
|
|
|
cb5db5c |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
cb5db5c |
|
|
|
1804b93 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-2
|
|
|
1804b93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
1804b93 |
|
|
|
448545a |
* Fri Nov 14 2014 Slavek Kabrda <bkabrda@redhat.com> - 1.4.2-1
|
|
|
448545a |
- Update to 1.4.2
|
|
|
448545a |
|
|
|
f19855b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-5
|
|
|
f19855b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f19855b |
|
|
|
9b77a54 |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 1.1.0-4
|
|
|
9b77a54 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
9b77a54 |
|
|
|
d82b184 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
d82b184 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d82b184 |
|
|
|
4188425 |
* Fri Feb 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1.0-2
|
|
|
4188425 |
- Patch the Python 3.3 module subclass error.
|
|
|
4188425 |
|
|
|
22858e5 |
* Fri Feb 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1.0-1
|
|
|
22858e5 |
- Update to 1.1.0.
|
|
|
22858e5 |
|
|
|
3104abd |
* Fri Feb 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.0.1-2
|
|
|
3104abd |
- Introduce python3 subpackage.
|
|
|
3104abd |
|
|
|
67ad120 |
* Mon Nov 05 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.0.1-1
|
|
|
67ad120 |
- Update to 1.0.1.
|
|
|
67ad120 |
|
|
|
44877e0 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
|
|
|
44877e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
44877e0 |
|
|
|
b6735cb |
* Mon May 14 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.9.0-1
|
|
|
b6735cb |
- Initial package.
|