forked from pool/python-texttable
Accepting request 555176 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/555176 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-texttable?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 7 13:10:46 UTC 2017 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
- update to 1.1.1, no upstream changelog available
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 18 09:06:05 UTC 2015 - jmassaguerpla@suse.com
|
Tue Aug 18 09:06:05 UTC 2015 - jmassaguerpla@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-texttable
|
# spec file for package python-texttable
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,40 +16,49 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define upstream_name texttable
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_with test
|
||||||
Name: python-texttable
|
Name: python-texttable
|
||||||
Version: 0.8.3
|
Version: 1.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Module for creating simple ASCII tables
|
Summary: Module for creating simple ASCII tables
|
||||||
License: LGPL-3.0+
|
License: LGPL-3.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://foutaise.org/code
|
Url: https://github.com/foutaise/texttable/
|
||||||
Source0: %{upstream_name}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/texttable/texttable-%{version}.tar.gz
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module devel}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: %{python_module setuptools}
|
||||||
|
%if %{with test}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
BuildRequires: python3-testsuite
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Texttable is a module to generate a formatted text table, using ASCII
|
texttable is a module to generate a formatted text table, using ASCII
|
||||||
characters.
|
characters.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{upstream_name}-%{version}
|
%setup -q -n texttable-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files
|
%if %{with test}
|
||||||
%defattr(-,root,root,-)
|
%check
|
||||||
%{python_sitelib}/%{upstream_name}.py*
|
%python_exec setup.py test
|
||||||
%{python_sitelib}/%{upstream_name}-%{version}*egg-info
|
%endif
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f333ac915e7c5daddc7d4877b096beafe74ea88b4b746f82a4b110f84e348701
|
|
||||||
size 8569
|
|
3
texttable-1.1.1.tar.gz
Normal file
3
texttable-1.1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:44674d1d470a9fc264c4d1eba44b74463ca0066d7b954453dd5a4f8057779c9c
|
||||||
|
size 11623
|
Reference in New Issue
Block a user