15
0

- Update to 0.13.3:

* Support poetry-core 2.0 by @s-t-e-v-e-n-k in #37
- Drop patch support-poetry-core-2.patch, included upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-easydev?expand=0&rev=20
This commit is contained in:
2025-01-13 03:02:33 +00:00
committed by Git OBS Bridge
commit e163e67a60
7 changed files with 213 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
easydev-0.13.2.tar.gz Normal file
View File

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

3
easydev-0.13.3.tar.gz Normal file
View File

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

75
python-easydev.changes Normal file
View File

@@ -0,0 +1,75 @@
-------------------------------------------------------------------
Mon Jan 13 03:01:27 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.13.3:
* Support poetry-core 2.0 by @s-t-e-v-e-n-k in #37
- Drop patch support-poetry-core-2.patch, included upstream.
-------------------------------------------------------------------
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
- update to 0.13.2
* remove Python2 crumbs by @a-detiste in #29
* remove more Python2 compat code by @a-detiste in #30
- removed patches
- python-easydev-no-mock.patch (upstreamed)
-------------------------------------------------------------------
Tue Mar 28 06:38:58 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Remove unneeded BuildRequires on line_profiler.
-------------------------------------------------------------------
Fri Feb 10 10:33:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.12.1:
* Fix a ipython warning
-------------------------------------------------------------------
Wed Mar 16 13:50:05 UTC 2022 - pgajdos@suse.com
- do not require python-mock for build
- added patches
fix https://github.com/cokelaer/easydev/issues/20
+ python-easydev-no-mock.patch
-------------------------------------------------------------------
Thu Sep 16 04:01:51 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.12.0:
* Fixing a warning from deprecated get_platform function.
* Applied black
* some cleanups
* removed the package module (not used)
* more tests
* logging slightly improved
- Actually run tests, skipping one test that requires network.
- Stop installing easydev_buildPackage
-------------------------------------------------------------------
Tue May 26 06:34:04 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
-------------------------------------------------------------------
Fri Sep 13 08:20:09 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.9.38:
* synchronized with pypi. Just an updated travis version to get rid of
py3.3 and removing deprecated messages.
-------------------------------------------------------------------
Tue Dec 4 12:47:31 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Thu May 3 04:42:13 UTC 2018 - toddrme2178@gmail.com
- Initial version

77
python-easydev.spec Normal file
View File

@@ -0,0 +1,77 @@
#
# spec file for package python-easydev
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-easydev
Version: 0.13.3
Release: 0
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
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-colorama
Requires: python-colorlog
Requires: python-line_profiler
Requires: python-pexpect
Requires: python-platformdirs
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-line_profiler
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module colorama}
BuildRequires: %{python_module colorlog}
BuildRequires: %{python_module line_profiler}
BuildRequires: %{python_module pexpect}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module platformdirs}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
The easydev package provides miscellaneous functions that are
repeatedly used during the development of Python packages. The goal
is to help developers on speeding up their own dev. It has been used
also as an incubator for other packages and is stable.
%prep
%autosetup -p1 -n easydev-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Requires network access
%pytest -k 'not test_isurl'
%files %{python_files}
%doc README.rst
%license COPYING
%{python_sitelib}/easydev
%{python_sitelib}/easydev-%{version}.dist-info
%changelog

View 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"]