[packages/python3-executing] UP to 2.2.0

arekm arekm at pld-linux.org
Sun May 4 02:11:41 CEST 2025


commit 423b7c79d4fd56a01f3661fc114f0f6785a675a4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun May 4 00:18:34 2025 +0200

    UP to 2.2.0

 python-executing.spec => python3-executing.spec | 70 ++-----------------------
 1 file changed, 5 insertions(+), 65 deletions(-)
---
diff --git a/python-executing.spec b/python3-executing.spec
similarity index 50%
rename from python-executing.spec
rename to python3-executing.spec
index 09db6cd..c991846 100644
--- a/python-executing.spec
+++ b/python3-executing.spec
@@ -1,34 +1,18 @@
 #
 # Conditional build:
 %bcond_without	tests	# unit tests
-%bcond_without	python2 # CPython 2.x module
-%bcond_without	python3 # CPython 3.x module
 
 Summary:	Get the currently executing AST node of a frame, and other information
 Summary(pl.UTF-8):	Pobieranie aktualnie wykonywanego węzła AST ramki oraz innych informacji
-Name:		python-executing
-# keep 1.x here for python2 support
-Version:	1.2.0
-Release:	3
+Name:		python3-executing
+Version:	2.2.0
+Release:	1
 License:	MIT
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/executing/
 Source0:	https://files.pythonhosted.org/packages/source/e/executing/executing-%{version}.tar.gz
-# Source0-md5:	e6fa9a6abf00555ccc8a6b3524729238
+# Source0-md5:	6d79de70b73814ee0ac523140c47714f
 URL:		https://pypi.org/project/executing/
-%if %{with python2}
-BuildRequires:	python-modules >= 1:2.7
-BuildRequires:	python-setuptools
-BuildRequires:	python-setuptools_scm
-BuildRequires:	python-toml
-%if %{with tests}
-BuildRequires:	python-asttokens
-BuildRequires:	python-littleutils
-BuildRequires:	python-pytest
-BuildRequires:	python-typing
-%endif
-%endif
-%if %{with python3}
 BuildRequires:	python3-modules >= 1:3.5
 BuildRequires:	python3-setuptools
 BuildRequires:	python3-setuptools_scm
@@ -41,10 +25,9 @@ BuildRequires:	python3-pytest
 # py3.11+
 #BuildRequires:	python3-rich
 %endif
-%endif
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python-modules >= 1:2.7
+Requires:	python3-modules >= 1:3.5
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -56,70 +39,27 @@ currently doing, particularly the AST node being executed.
 Ten minipakiet pozwala pobierać informacje o wykonywanej aktualnie
 ramce, w szczególności węźle AST.
 
-%package -n python3-executing
-Summary:	Get the currently executing AST node of a frame, and other information
-Summary(pl.UTF-8):	Pobieranie aktualnie wykonywanego węzła AST ramki oraz innych informacji
-Group:		Libraries/Python
-Requires:	python3-modules >= 1:3.5
-
-%description -n python3-executing
-This mini-package lets you get information about what a frame is
-currently doing, particularly the AST node being executed.
-
-%description -n python3-executing -l pl.UTF-8
-Ten minipakiet pozwala pobierać informacje o wykonywanej aktualnie
-ramce, w szczególności węźle AST.
-
 %prep
 %setup -q -n executing-%{version}
 
 %build
-%if %{with python2}
-%py_build
-
-%if %{with tests}
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-%{__python} -m pytest tests
-%endif
-%endif
-
-%if %{with python3}
 %py3_build
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python3} -m pytest tests
 %endif
-%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
 %py3_install
-%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%if %{with python2}
 %files
 %defattr(644,root,root,755)
 %doc LICENSE.txt README.md
-%{py_sitescriptdir}/executing
-%{py_sitescriptdir}/executing-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-executing
-%defattr(644,root,root,755)
-%doc LICENSE.txt README.md
 %{py3_sitescriptdir}/executing
 %{py3_sitescriptdir}/executing-%{version}-py*.egg-info
-%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-executing.git/commitdiff/423b7c79d4fd56a01f3661fc114f0f6785a675a4



More information about the pld-cvs-commit mailing list