7875314
%global srcname sen
7875314
%global sum Terminal User Interface for docker engine
7875314
cd0c33c
cd0c33c
# enable tests by default, disable with --without tests
cd0c33c
%bcond_without tests
cd0c33c
cd0c33c
7875314
Name:           %{srcname}
Packit a855290
Version:        0.7.0
Packit a855290
Release:        1%{?dist}
7875314
Summary:        %{sum}
7875314
7875314
License:        MIT
Packit a855290
URL:            http://pypi.python.org/pypi/%{srcname}
7ef3f8f
Source0:        https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz
7875314
7875314
BuildArch:      noarch
7875314
Requires:       python3-%{srcname}
7875314
BuildRequires:  python3-devel
cd0c33c
BuildRequires:  python3-setuptools
7875314
7875314
7875314
%description
7875314
sen enables you to manage your containers and images interactively directly
7875314
from command line. Interface is similar to htop, alot or tig.
7875314
7875314
7875314
%package -n python3-%{srcname}
7875314
Requires:       python3-urwid
cd0c33c
Requires:       python3-urwidtrees
3852c58
Requires:       python3-docker
cd0c33c
%if %{with tests}
cd0c33c
BuildRequires:  python3-pytest
cd0c33c
BuildRequires:  python3-flexmock
cd0c33c
BuildRequires:  python3-urwid
cd0c33c
BuildRequires:  python3-urwidtrees
3852c58
BuildRequires:  python3-docker
cd0c33c
%endif  # tests
7875314
7875314
Summary:        %{sum}
7875314
%{?python_provide:%python_provide python3-%{srcname}}
7875314
7875314
%description -n python3-%{srcname}
7875314
sen enables you to manage your containers and images interactively directly
7875314
from command line. Interface is similar to htop, alot or tig.
7875314
7875314
7875314
%prep
7875314
%autosetup -n %{srcname}-%{version}
7875314
sed -i 1d sen/cli.py
7875314
7875314
7875314
%build
7875314
%py3_build
7875314
7875314
7875314
%install
7875314
%py3_install
7875314
cd0c33c
%check
cd0c33c
%if %{with tests}
cd0c33c
py.test-%{python3_version} -vv tests || :
cd0c33c
%endif  # tests
7875314
7875314
7875314
%files
7875314
%license LICENSE
7875314
%{_bindir}/sen
7875314
%doc README.md
7875314
7875314
%files -n python3-%{srcname}
7875314
%license LICENSE
7875314
%{python3_sitelib}/*
7875314
7875314
7875314
%changelog
Packit a855290
* Wed Apr 12 2023 Packit <hello@packit.dev> - 0.7.0-1
Packit a855290
- 0.7.0 release (Tomas Tomecek)
Packit a855290
- RPM packaging: drop pytest-capturelog (Tomas Tomecek)
Packit a855290
- simplify packit.yaml (Tomas Tomecek)
Packit a855290
- Use more sources for port binding (soyo42)
Packit a855290
- Read alternative cpu-count safely (soyo42)
Packit a855290
5bb9a9e
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-5
5bb9a9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
5bb9a9e
1b0aba2
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-4
1b0aba2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
1b0aba2
ce6b28b
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 0.6.2-3
ce6b28b
- Rebuilt for Python 3.11
ce6b28b
385c524
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
385c524
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
385c524
4964946
* Mon Nov 01 2021 Tomas Tomecek <ttomecek@redhat.com> - 0.6.2-1
4964946
- New upstream release 0.6.2
4964946
d8245a5
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-10
d8245a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d8245a5
5af591c
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.6.1-9
5af591c
- Rebuilt for Python 3.10
5af591c
0ceb189
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-8
0ceb189
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0ceb189
27033d6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-7
27033d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
27033d6
6f0ea10
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-6
6f0ea10
- Rebuilt for Python 3.9
6f0ea10
fff38f8
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-5
fff38f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
fff38f8
9c8167b
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-4
9c8167b
- Rebuilt for Python 3.8.0rc1 (#1748018)
9c8167b
a14c299
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.1-3
a14c299
- Rebuilt for Python 3.8
a14c299
e5f1c0c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
e5f1c0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e5f1c0c
f2e850c
* Mon Mar 04 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.6.1-1
f2e850c
- New upstream release 0.6.1
f2e850c
1beeaec
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
1beeaec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1beeaec
62cc6e4
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-3
62cc6e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
62cc6e4
9ff6db6
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-2
9ff6db6
- Rebuilt for Python 3.7
9ff6db6
21c1d37
* Thu Mar 22 2018 Tomas Tomecek <ttomecek@redhat.com> - 0.6.0-1
21c1d37
- New upstream release 0.6.0
21c1d37
b2f47e1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-3
b2f47e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b2f47e1
bf46704
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
bf46704
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bf46704
3852c58
* Mon Mar 27 2017 Tomas Tomecek <ttomecek@redhat.com> - 0.5.1-1
3852c58
- new upstream release: 0.5.1
3852c58
b18736d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
b18736d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b18736d
7ef3f8f
* Thu Jan 12 2017 Tomas Tomecek <ttomecek@redhat.com> - 0.5.0-1
7ef3f8f
- new upstream release: 0.5.0
7ef3f8f
f9b7e37
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-2
f9b7e37
- Rebuild for Python 3.6
f9b7e37
c0b3806
* Tue Aug 09 2016 Tomas Tomecek <ttomecek@redhat.com> - 0.4.0-1
c0b3806
- new upstream release: 0.4.0
c0b3806
569e9e3
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-2
569e9e3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
569e9e3
cd0c33c
* Thu May 05 2016 Tomas Tomecek <ttomecek@redhat.com> - 0.3.0-1
cd0c33c
- new upstream release: 0.3.0
cd0c33c
a7484e7
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-2
a7484e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a7484e7
7875314
* Thu Dec 10 2015 Tomas Tomecek <ttomecek@redhat.com> - 0.1.1-1
7875314
- initial build
7875314