forked from pool/python-humanfriendly
Accepting request 407653 from home:okurz
Followup to declined request https://build.opensuse.org/request/show/355695: package without _services and based on latest release. Hope this is the right way to do. OBS-URL: https://build.opensuse.org/request/show/407653 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=1
This commit is contained in:
44
python-humanfriendly.spec
Normal file
44
python-humanfriendly.spec
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright (c) 2016 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
|
||||
Name: python-humanfriendly
|
||||
Version: 1.44.7
|
||||
Release: 0
|
||||
Summary: Human friendly input/output for text interfaces using Python
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: https://github.com/xolox/%{name}/archive/%{version}.tar.gz
|
||||
Url: https://github.com/xolox/%{name}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-setuptools
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Human friendly input/output for text interfaces using Python https://humanfriendly.readthedocs.org
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
# TODO properly build docs
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt README.rst
|
||||
%{python_sitelib}
|
||||
%{_bindir}/humanfriendly
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user