Accepting request 519781 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/519781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blessings?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-09-04 10:31:03 +00:00 committed by Git OBS Bridge
commit 18ab0096f9
2 changed files with 19 additions and 9 deletions

View File

@ -1,5 +1,11 @@
-------------------------------------------------------------------
Thu Aug 24 13:33:25 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Mon Aug 15 00:51:43 UTC 2016 - badshah400@gmail.com
- Initial package

View File

@ -1,7 +1,7 @@
#
# spec file for package python-blessings
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-blessings
Version: 1.6
Release: 0
@ -24,11 +25,14 @@ License: MIT
Group: Development/Languages/Python
Url: https://github.com/erikrose/blessings
Source: https://files.pythonhosted.org/packages/source/b/blessings/blessings-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{python_module curses}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-curses
BuildArch: noarch
%python_subpackages
%description
Curses-like terminal wrapper with a display based on compositing 2d
@ -38,14 +42,14 @@ arrays of text.
%setup -q -n blessings-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%files
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*
%doc LICENSE README.rst
%{python_sitelib}/*
%changelog