15
0

- 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
This commit is contained in:
2026-01-19 07:42:02 +00:00
committed by Git OBS Bridge
commit a63340cfde
5 changed files with 184 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.3.tar.gz Normal file
View File

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

81
python-easydev.changes Normal file
View File

@@ -0,0 +1,81 @@
-------------------------------------------------------------------
Sun Jan 18 14:09:20 UTC 2026 - Ben Greiner <code@bnavigator.de>
- 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 <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

76
python-easydev.spec Normal file
View File

@@ -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