15
0
forked from pool/python-plette

Accepting request 1012098 from home:pgajdos:python

- version update to 0.4.2
  * Add logic to populate the ``default`` and ``develop`` package
    sections from the ``Pipfile`` to ``with_meta_from``.
  * Change validation schema for Requires object to allow for both
    ``python_version`` and ``python_full_version``. 
  * Exclude ``pipenv`` section from ``Pipfile`` hash generation as
    this was a regression caused by named package categories.
  * Add support for named catergories.
  * Bug fix.
  * Drop Python2 support.

OBS-URL: https://build.opensuse.org/request/show/1012098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-plette?expand=0&rev=7
This commit is contained in:
2022-10-17 13:10:27 +00:00
committed by Git OBS Bridge
parent 1eac02247d
commit 56bd98f89c
4 changed files with 24 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-plette
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-plette
Version: 0.2.3
Version: 0.4.2
Release: 0
Summary: Structured Pipfile and Pipfile.lock models
License: ISC
Group: Development/Languages/Python
URL: https://github.com/sarugaku/plette
Source: https://github.com/sarugaku/plette/archive/%{version}/plette-%{version}.tar.gz
Source: https://github.com/sarugaku/plette/archive/refs/tags/v%{version}.tar.gz#/plette-%{version}.tar.gz
# See https://github.com/sarugaku/plette/issues/8
Patch0: ignore-hashlib-case.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 36.2.2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
Requires: python-tomlkit
Suggests: python-Cerberus
BuildArch: noarch
@@ -38,7 +39,6 @@ BuildArch: noarch
BuildRequires: %{python_module Cerberus}
BuildRequires: %{python_module invoke}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: %{python_module tomlkit}
# /SECTION
%python_subpackages
@@ -51,10 +51,10 @@ Structured Pipfile and Pipfile.lock models.
%patch0 -p1
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check