[packages/python3-seedir] - updated to 0.5.1
qboosh
qboosh at pld-linux.org
Sat Feb 14 22:02:39 CET 2026
commit fbc2e5ed0a5b4c22bdb8353b8b2be94b1a00c54b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Feb 14 22:02:34 2026 +0100
- updated to 0.5.1
python3-seedir.spec | 29 ++++++++---------------------
1 file changed, 8 insertions(+), 21 deletions(-)
---
diff --git a/python3-seedir.spec b/python3-seedir.spec
index 426293f..5a3bb43 100644
--- a/python3-seedir.spec
+++ b/python3-seedir.spec
@@ -5,22 +5,24 @@
Summary: Package for creating, editing, and reading folder tree diagrams
Summary(pl.UTF-8): Pakiet do tworzenia, edycji i czytania diagramów drzew folderów
Name: python3-seedir
-Version: 0.4.2
-Release: 3
+Version: 0.5.1
+Release: 1
License: MIT
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/seedir/
Source0: https://files.pythonhosted.org/packages/source/s/seedir/seedir-%{version}.tar.gz
-# Source0-md5: ce5aa308ec611280521c1cffdd82e885
+# Source0-md5: 68ffc4ca54d10cf2cb24f328f0d510cf
URL: https://pypi.org/project/seedir/
BuildRequires: python3-modules >= 1:3.2
BuildRequires: python3-setuptools
%if %{with tests}
BuildRequires: python3-natsort
+BuildRequires: python3-pytest
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
Requires: python3-modules >= 1:3.2
+Obsoletes: python3-seedir-apidocs < 0.5.1
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,17 +33,6 @@ diagrams.
%description -l pl.UTF-8
Pakiet do tworzenia, edycji i czytania diagramów drzew folderów.
-%package apidocs
-Summary: Documentation for Python seedir module
-Summary(pl.UTF-8): Dokumentacja modułu Pythona seedir
-Group: Documentation
-
-%description apidocs
-Documentation for Python seedir module.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja modułu Pythona seedir.
-
%prep
%setup -q -n seedir-%{version}
@@ -49,8 +40,8 @@ Dokumentacja modułu Pythona seedir.
%py3_build
%if %{with tests}
-PYTHONPATH=$(pwd) \
-%{__python3} tests/tests.py
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
%endif
%install
@@ -63,11 +54,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGELOG.md LICENSE README.md
+%doc LICENSE README.md
%attr(755,root,root) %{_bindir}/seedir
%{py3_sitescriptdir}/seedir
%{py3_sitescriptdir}/seedir-%{version}-py*.egg-info
-
-%files apidocs
-%defattr(644,root,root,755)
-%doc docs/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-seedir.git/commitdiff/fbc2e5ed0a5b4c22bdb8353b8b2be94b1a00c54b
More information about the pld-cvs-commit
mailing list