forked from pool/python-easydev
- Add patch support-poetry-core-2.patch:
* Support poetry-core 2.0 changes. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-easydev?expand=0&rev=18
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 10 04:35:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch support-poetry-core-2.patch:
|
||||
* Support poetry-core 2.0 changes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 29 06:11:17 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-easydev
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -23,6 +23,8 @@ Summary: Common utilities to ease the development of Python packages
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/cokelaer/easydev
|
||||
Source: https://github.com/cokelaer/easydev/archive/refs/tags/v%{version}.tar.gz#/easydev-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#cokelaer/easydev#37
|
||||
Patch0: support-poetry-core-2.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-colorama
|
||||
@@ -72,6 +74,6 @@ also as an incubator for other packages and is stable.
|
||||
%doc README.rst
|
||||
%license COPYING
|
||||
%{python_sitelib}/easydev
|
||||
%{python_sitelib}/easydev*-info
|
||||
%{python_sitelib}/easydev-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
31
support-poetry-core-2.patch
Normal file
31
support-poetry-core-2.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
From 57840ffd66a23e9546c3cf97f870094d0b6dd5aa Mon Sep 17 00:00:00 2001
|
||||
From: Steve Kowalik <steven@wedontsleep.org>
|
||||
Date: Fri, 10 Jan 2025 15:33:10 +1100
|
||||
Subject: [PATCH] Support poetry-core 2.0
|
||||
|
||||
poetry-core 2.0 has been released, and it is a lot more strict with the
|
||||
configuration in pyproject.toml.
|
||||
---
|
||||
pyproject.toml | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 52c55a3..2ad7f62 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -2,11 +2,13 @@
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
-[tool.poetry]
|
||||
+[project]
|
||||
name = "easydev"
|
||||
version = "0.13.2"
|
||||
description = "Commn utilities to ease development of Python packages"
|
||||
-authors = ["Thomas Cokelaer <thomas.cokelaer@pasteur.fr>"]
|
||||
+authors = [
|
||||
+ { "name" = "Thomas Cokelaer", "email" = "thomas.cokelaer@pasteur.fr" },
|
||||
+]
|
||||
license = "BSD-3-Clause"
|
||||
readme = "README.rst"
|
||||
keywords = ["config", "decorators", "development"]
|
||||
Reference in New Issue
Block a user