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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59636fd72aa5627757f0638d8a4ead453af5ccab488e5ed2d528fbd53a2b368c
size 29774

3
plette-0.4.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Oct 17 12:20:21 UTC 2022 - pgajdos@suse.com
- 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.
-------------------------------------------------------------------
Mon Mar 16 14:03:08 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

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