Notification time stamped 2022-09-01 02:28:36 UTC
From b0700a4ce5e89ce8579397573cb57b6aafe41991 Mon Sep 17 00:00:00 2001 From: Lumir Balhar lbalhar@redhat.com Date: Jan 10 2022 06:08:35 +0000 Subject: Initial import (#2036909).
---
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc508b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/stack_data-0.1.3.tar.gz diff --git a/18.patch b/18.patch new file mode 100644 index 0000000..925cd3f --- /dev/null +++ b/18.patch @@ -0,0 +1,24 @@ +From 65e6273add4ad687a51660c411e710266e2f1de4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Lum=C3=ADr=20=27Frenzy=27=20Balhar?= + frenzy.madness@gmail.com +Date: Tue, 4 Jan 2022 12:01:02 +0100 +Subject: [PATCH] Use extras in tox.ini + +`extras` is more readable than `.[tests]` +--- + tox.ini | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/tox.ini b/tox.ini +index a8d4f6e..63bcdf2 100644 +--- a/tox.ini ++++ b/tox.ini +@@ -3,7 +3,6 @@ envlist = py{35,36,37,38,39,310} + + [testenv] + commands = pytest +-deps = +- .[tests] ++extras = tests + passenv = + STACK_DATA_SLOW_TESTS diff --git a/python-stack-data.spec b/python-stack-data.spec new file mode 100644 index 0000000..1885265 --- /dev/null +++ b/python-stack-data.spec @@ -0,0 +1,55 @@ +Name: python-stack-data +Version: 0.1.3 +Release: 1%{?dist} +Summary: Extract data from python stack frames and tracebacks for informative displays + +License: MIT +URL: http://github.com/alexmojaki/stack_data +Source0: %{pypi_source stack_data} + +#Proposed upstream: https://github.com/alexmojaki/stack_data/pull/18 +Patch0: https://github.com/alexmojaki/stack_data/pull/18.patch + +BuildArch: noarch +BuildRequires: python3-devel + +%global _description %{expand: +This is a library that extracts data from stack frames and tracebacks, +particularly to display more useful tracebacks than the default.} + + +%description %_description + +%package -n python3-stack-data +Summary: %{summary} + +%description -n python3-stack-data %_description + + +%prep +%autosetup -p1 -n stack_data-%{version} + + +%generate_buildrequires +%pyproject_buildrequires -r -t + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files stack_data + + +%check +%tox + + +%files -n python3-stack-data -f %{pyproject_files} +%doc README.md + +%changelog +* Tue Jan 04 2022 Lumír Balhar lbalhar@redhat.com - 0.1.3-1 +- Package generated with pyp2spec diff --git a/sources b/sources new file mode 100644 index 0000000..0beeb36 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (stack_data-0.1.3.tar.gz) = 89f6fcc680b245747c505fac81780834280d3c67aa37f8ba5e782552d074566fe5d8645ccf1e0e47563593b842a4f4dbe50c0ee100773e1888475728ee0007bb
https://src.fedoraproject.org/rpms/python-stack-data/c/b0700a4ce5e89ce857939...
scm-commits@lists.fedoraproject.org