14
0

- Rename package according to the PyPI name

- update to 2.4.0:
  * Markdown: Add colons to align the rendered output 
  * Add rows attribute to prettytable
  * Add Jupyter repr and default interpreter repr methods
  * Add custom format support 
  * Add method to generate LaTex formatted string
  * Add support for Python 3.10
  * Update issue templates
  * Add support for positional junction characters and add "double_border" table style
  * Access properties instead of protected fields in _get_options()
  * Use declarative metadata and support PyPy3
  * Add auto index column 
  * Support formatting options in get_json_string()
  * Add tbody and thead tags
  * Add add_rows to add several rows at once 
  * Add setuptools as a dependency
  * Fix string comparison and deprecation warning
- skip python2

- %check: use %pyunittest rpm macro

- Update URL/Source0 due to Google Code Hosting being dead since 2016 

- Run through spec-cleaner

- Remove superfluous devel dependency for noarch package

- Make description neutral.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prettytable?expand=0&rev=3
This commit is contained in:
2021-11-24 10:00:39 +00:00
committed by Git OBS Bridge
parent b4d50706b4
commit a847a37670
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 24 07:41:38 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Rename package according to the PyPI name
-------------------------------------------------------------------
Mon Nov 8 21:56:21 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,5 +1,5 @@
#
# spec file for package python-PrettyTable
# spec file for package python-prettytable
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2011 Christian Berendt.
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-PrettyTable
Name: python-prettytable
Version: 2.4.0
Release: 0
Summary: Library for displaying tabular data in formatted fashion
@@ -58,6 +58,6 @@ export LANG=en_US.UTF-8
%files %{python_files}
%license COPYING
%doc CHANGELOG.md README.md
%{python_sitelib}/*
%{python_sitelib}/prettytable*
%changelog