From a63340cfde5aa096bb8154d90b34d37a45c5b1ce36a4fba9bf049298119607b6 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Mon, 19 Jan 2026 07:42:02 +0000 Subject: [PATCH] - Nobody needs full poetry to build a rpm package - Remove pytest-cov, we don't care about upstreams coverage OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-easydev?expand=0&rev=22 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + easydev-0.13.3.tar.gz | 3 ++ python-easydev.changes | 81 ++++++++++++++++++++++++++++++++++++++++++ python-easydev.spec | 76 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 184 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 easydev-0.13.3.tar.gz create mode 100644 python-easydev.changes create mode 100644 python-easydev.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/easydev-0.13.3.tar.gz b/easydev-0.13.3.tar.gz new file mode 100644 index 0000000..47a9067 --- /dev/null +++ b/easydev-0.13.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:347f814bde55f444cd4f1e6550189957f5933b257c4d7ade21198db370e417de +size 83581 diff --git a/python-easydev.changes b/python-easydev.changes new file mode 100644 index 0000000..fce6c76 --- /dev/null +++ b/python-easydev.changes @@ -0,0 +1,81 @@ +------------------------------------------------------------------- +Sun Jan 18 14:09:20 UTC 2026 - Ben Greiner + +- Nobody needs full poetry to build a rpm package +- Remove pytest-cov, we don't care about upstreams coverage + +------------------------------------------------------------------- +Mon Jan 13 03:01:27 UTC 2025 - Steve Kowalik + +- 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 + +- 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 + +- Remove unneeded BuildRequires on line_profiler. + +------------------------------------------------------------------- +Fri Feb 10 10:33:40 UTC 2023 - Dirk Müller + +- 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 + +- 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 + +- %python3_only -> %python_alternative + +------------------------------------------------------------------- +Fri Sep 13 08:20:09 UTC 2019 - Tomáš Chvátal + +- 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 + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Thu May 3 04:42:13 UTC 2018 - toddrme2178@gmail.com + +- Initial version diff --git a/python-easydev.spec b/python-easydev.spec new file mode 100644 index 0000000..88985c3 --- /dev/null +++ b/python-easydev.spec @@ -0,0 +1,76 @@ +# +# spec file for package python-easydev +# +# Copyright (c) 2026 SUSE LLC and contributors +# +# 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: %{python_module pip} +BuildRequires: %{python_module poetry-core} +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 platformdirs} +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