15
0

- Update to 0.6.1:

- Switch to MIT license (same as: parse module)
  - Use SPDX-License-Identifier in source code (to simplify
    understanding)
  - UPDATE/SYNC to parse v1.19.1
  - ADDED: pyproject.toml to support newer pip versions
  - REASON: setup.py becomes DEPRECATED in 2023-09 for newer pip
    versions.
  - Issue #19: 0.6.0: pytest is failing in two units (caused by:
    parse v1.19.1)
  - Issue #1: Licensing confusion

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parse_type?expand=0&rev=12
This commit is contained in:
2023-07-02 15:25:01 +00:00
committed by Git OBS Bridge
parent 3ee84096bb
commit b732fd4647
4 changed files with 31 additions and 15 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Sun Jul 2 15:18:54 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Update to 0.6.1:
- Switch to MIT license (same as: parse module)
- Use SPDX-License-Identifier in source code (to simplify
understanding)
- UPDATE/SYNC to parse v1.19.1
- ADDED: pyproject.toml to support newer pip versions
- REASON: setup.py becomes DEPRECATED in 2023-09 for newer pip
versions.
- Issue #19: 0.6.0: pytest is failing in two units (caused by:
parse v1.19.1)
- Issue #1: Licensing confusion
-------------------------------------------------------------------
Mon Feb 28 10:33:12 UTC 2022 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-parse_type
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,28 +16,28 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-parse_type
Version: 0.6.0
Version: 0.6.1
Release: 0
Summary: Extension to the parse module
License: BSD-3-Clause
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jenisys/parse_type
Source: https://github.com/jenisys/parse_type/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-parse >= 1.12.0
Requires: python-six >= 1.11
BuildArch: noarch
%if %{with python2}
BuildRequires: python-enum34
%endif
Requires: python-parse >= 1.12.0
Requires: python-six >= 1.11
%ifpython2
Requires: python-enum34
%endif
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module parse >= 1.12.0}
BuildRequires: %{python_module pytest >= 3.0}
@@ -58,7 +58,7 @@ the following features:
primary type converter
%prep
%setup -q -n parse_type-%{version}
%autosetup -p1 -n parse_type-%{version}
# no extra pytest options are needed
rm pytest.ini
@@ -67,10 +67,10 @@ rm parse_type/parse.py
rm tests/test_parse.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -79,6 +79,7 @@ rm tests/test_parse.py
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/parse_type
%{python_sitelib}/parse_type-%{version}*-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b20e386a8091ba9a37f706827a5a3b81df2d7c323f886ade5f27b0c0af3e9e23
size 272744

3
v0.6.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2fc99f3e855c80f772692ae4ab27d49dd706530560afb3d8c5aac837620f84e
size 66216