bradbell pushed to cppad (rawhide). "Include debugging printout in
patch to example/utility/to_string.cpp."
by notifications@fedoraproject.org
Notification time stamped 2022-01-31 23:50:33 UTC
From eb00ce3fab52851536a3c539551ca444769911e1 Mon Sep 17 00:00:00 2001
From: Brad Bell <bradbell(a)seanet.com>
Date: Jan 31 2022 23:49:04 +0000
Subject: Include debugging printout in patch to example/utility/to_string.cpp.
---
diff --git a/cppad.spec b/cppad.spec
index c8abdd8..f4059f2 100644
--- a/cppad.spec
+++ b/cppad.spec
@@ -99,7 +99,20 @@ sed -i.bak CppAD-%{version}/test_more/debug_rel/CMakeLists.txt \
# Patch to fix example/utility/to_string.cpp
# This will no longer be necessary once the upstread source > 20220000.1
cat << EOF > to_string.patch
-32,36c32,39
+26a27,38
+> template <class Type>
+> void print_error(
+> const char* routine_name,
+> const char* value_name,
+> Type value,
+> Type check,
+> Type eps = Type(0) )
+> { std::cout << routine_name << " error : ";
+> std::cout << value_name << " - check = " << value - check;
+> std::cout << ", eps = " << eps << "\n";
+> return;
+> }
+32,36c44,51
< ++index;
< while( index < s.size() )
< result = Integer( 10 * result + (s[index++] - '0') );
@@ -114,6 +127,24 @@ cat << EOF > to_string.patch
> { while( index < s.size() )
> result = Integer(10) * result + Integer(s[index++] - '0' );
> }
+54a70,71
+> if( max != check )
+> print_error("signed_integer", "max", max, check);
+59a77,78
+> if( min != check )
+> print_error("signed_integer", "min", min, check);
+70a90,91
+> if( max != check )
+> print_error("unsigned_integer", "max", max, check);
+71a93,94
+> if( std::numeric_limits<Integer>::min() != 0 )
+> std::cout << "unsigned_integer: min != 0\n";
+83a107,108
+> if( ! ok )
+> print_error("floating", "pi", pi, check, eps);
+100a126,127
+> if( ! ok )
+> print_error("ad_floating", "pi", pi, check, eps);
EOF
patch CppAD-%{version}/example/utility/to_string.cpp to_string.patch
# -----------------------------------------------------------------------------
https://src.fedoraproject.org/rpms/cppad/c/eb00ce3fab52851536a3c539551ca4...
2 years, 3 months
tdawson pushed to python-priority (epel8-playground).
"epel8-playground decommissioned : https://pagure.io/epel/issue/136"
by notifications@fedoraproject.org
Notification time stamped 2022-01-31 23:49:47 UTC
From eea50eb45b1636ca58b35d8ef51ffb8c89731f91 Mon Sep 17 00:00:00 2001
From: Troy Dawson <tdawson(a)redhat.com>
Date: Jan 31 2022 23:49:41 +0000
Subject: epel8-playground decommissioned : https://pagure.io/epel/issue/136
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index f1acfdf..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/priority-1.3.0.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..a72aec0
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+epel8-playground decommissioned : https://pagure.io/epel/issue/136
diff --git a/deadline.patch b/deadline.patch
deleted file mode 100644
index 2c97b16..0000000
--- a/deadline.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/test/test_priority.py b/test/test_priority.py
-index c98a28d..db84be6 100644
---- a/test/test_priority.py
-+++ b/test/test_priority.py
-@@ -12,7 +12,7 @@ import itertools
-
- import pytest
-
--from hypothesis import given
-+from hypothesis import given, settings
- from hypothesis.strategies import (
- integers, lists, tuples, sampled_from
- )
-@@ -488,6 +488,7 @@ class TestPriorityTreeOutput(object):
- of the tree is "good enough": that it meets certain requirements on
- fairness and equidistribution.
- """
-+ @settings(deadline=500)
- @given(STREAMS_AND_WEIGHTS)
- def test_period_of_repetition(self, streams_and_weights):
- """
diff --git a/python-priority.spec b/python-priority.spec
deleted file mode 100644
index b2ec25c..0000000
--- a/python-priority.spec
+++ /dev/null
@@ -1,131 +0,0 @@
-# Created by pyp2rpm-3.3.2
-%global pypi_name priority
-
-%global common_description %{expand:
-A HTTP/2 Priority Implementation Priority is a pure-Python
-implementation of the priority logic for HTTP/2, set out in RFC 7540 Section
-5.3 (Stream Priority)_. This logic allows for clients to express a preference
-for how the server allocates its (limited) resources to the many outstanding
-HTTP requests that may be running over a single HTTP/2 connection.}
-
-%global with_python2 1
-%if 0%{?rhel} && 0%{?rhel} > 7
-%global with_python2 0
-%global with_tests 0
-%endif
-
-Name: python-%{pypi_name}
-Version: 1.3.0
-Release: 5%{?dist}
-Summary: A pure-Python implementation of the HTTP/2 priority tree
-
-License: MIT
-URL: http://python-hyper.org/priority/
-Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name...
-
-# Increase deadline for test_period_of_repetition
-Patch1: deadline.patch
-
-BuildArch: noarch
-
-%if 0%{?with_python2}
-BuildRequires: python2-devel
-BuildRequires: python2dist(setuptools)
-BuildRequires: python2dist(pytest)
-BuildRequires: python2dist(hypothesis)
-%endif
-
-BuildRequires: python3-devel
-BuildRequires: python3dist(setuptools)
-BuildRequires: python3dist(pytest)
-BuildRequires: python3dist(hypothesis)
-
-%{?python_enable_dependency_generator}
-
-%description
-%{common_description}
-
-
-%if 0%{?with_python2}
-%package -n python2-%{pypi_name}
-Summary: %{summary}
-%{?python_provide:%python_provide python2-%{pypi_name}}
-
-%description -n python2-%{pypi_name}
-%{common_description}
-
-%endif
-
-%package -n python3-%{pypi_name}
-Summary: %{summary}
-%{?python_provide:%python_provide python3-%{pypi_name}}
-
-%description -n python3-%{pypi_name}
-%{common_description}
-
-
-%prep
-%autosetup -n %{pypi_name}-%{version} -p1
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
-
-
-%build
-%if 0%{?with_python2}
-%py2_build
-%endif
-%py3_build
-
-
-%install
-%if 0%{?with_python2}
-%py2_install
-%endif
-%py3_install
-
-
-%if 0%{?with_tests}
-%check
-%if 0%{?with_python2}
-PYTHONPATH=%{buildroot}%{python2_sitelib}:$PYTHONPATH %{__python2} -m pytest
-%endif # python2
-PYTHONPATH=%{buildroot}%{python3_sitelib}:$PYTHONPATH %{__python3} -m pytest
-%endif # tests
-
-%if 0%{?with_python2}
-%files -n python2-%{pypi_name}
-%license LICENSE
-%doc README.rst
-%{python2_sitelib}/%{pypi_name}
-%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
-
-%endif
-
-%files -n python3-%{pypi_name}
-%license LICENSE
-%doc README.rst
-%{python3_sitelib}/%{pypi_name}
-%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
-
-
-%changelog
-* Wed Jul 24 2019 Stephen Smoogen <smooge(a)fedoraproject.org> - 1.3.0-5
-- Mangle the spec file not to run tests. They seem to have weird timing in virt machines
-
-* Tue Jul 23 2019 Stephen Smoogen <smooge(a)fedoraproject.org> - 1.3.0-5
-- Take out python2 for rhel8
-
-* Thu Mar 07 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.3.0-5
-- Add actual tests
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Tue Jun 19 2018 Miro Hrončok <mhroncok(a)redhat.com> - 1.3.0-2
-- Rebuilt for Python 3.7
-
-* Mon May 14 2018 Robert-André Mauchin <zebob.m(a)gmail.com> - 1.3.0-1
-- Initial package.
diff --git a/sources b/sources
deleted file mode 100644
index fa80ac9..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (priority-1.3.0.tar.gz) = cefb13b15e99ef98c37fdd1486466c9e1d7d04b4574cbca1665fde7b7b44cc7d66964bed41184315a9b51bd6f9d0e02bbe113bfa004a754ac270170309b71e0a
https://src.fedoraproject.org/rpms/python-priority/c/eea50eb45b1636ca58b3...
2 years, 3 months
tdawson pushed to python-pretend (epel8-playground).
"epel8-playground decommissioned : https://pagure.io/epel/issue/136"
by notifications@fedoraproject.org
Notification time stamped 2022-01-31 23:49:35 UTC
From 2843ee900bf5ac80788b53f491eb7c0cb14ab2e4 Mon Sep 17 00:00:00 2001
From: Troy Dawson <tdawson(a)redhat.com>
Date: Jan 31 2022 23:49:28 +0000
Subject: epel8-playground decommissioned : https://pagure.io/epel/issue/136
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 0178ff6..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/pretend-1.0.8.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..a72aec0
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+epel8-playground decommissioned : https://pagure.io/epel/issue/136
diff --git a/python-pretend.spec b/python-pretend.spec
deleted file mode 100644
index 5f73794..0000000
--- a/python-pretend.spec
+++ /dev/null
@@ -1,135 +0,0 @@
-%if 0%{?fedora} || 0%{?rhel} > 7
-%bcond_without python3
-%else
-%bcond_with python3
-%endif
-
-%global srcname pretend
-
-Name: python-pretend
-Version: 1.0.8
-Release: 15%{?dist}
-Summary: A library for stubbing in Python
-
-License: BSD
-URL: https://github.com/alex/pretend
-Source0: https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-%{version...
-
-BuildArch: noarch
-
-BuildRequires: python2-devel
-BuildRequires: python2-setuptools
-%if %{with python3}
-BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-%endif
-
-
-%description
-Pretend is a library to make stubbing with Python easier.
-
-
-%package -n python2-pretend
-Summary: A library for stubbing in Python
-License: BSD
-%{?python_provide:%python_provide python2-%{srcname}}
-
-
-%description -n python2-pretend
-Pretend is a library to make stubbing with Python easier.
-
-
-%if %{with python3}
-%package -n python3-pretend
-Summary: A library for stubbing in Python
-License: BSD
-%{?python_provide:%python_provide python3-%{srcname}}
-
-
-%description -n python3-pretend
-Pretend is a library to make stubbing with Python easier.
-%endif
-
-
-%prep
-%autosetup -n %{srcname}-%{version}
-
-
-%build
-%py2_build
-
-%if %{with python3}
-%py3_build
-%endif
-
-
-%install
-%py2_install
-
-%if %{with python3}
-%py3_install
-%endif
-
-
-%files -n python2-pretend
-%doc PKG-INFO README.rst
-%license LICENSE.rst
-%{python2_sitelib}/pretend.py*
-%{python2_sitelib}/pretend-%{version}-py2.?.egg-info
-
-%if %{with python3}
-%files -n python3-pretend
-%doc PKG-INFO README.rst
-%license LICENSE.rst
-%{python3_sitelib}/pretend.py
-%{python3_sitelib}/__pycache__/pretend.cpython-3?*
-%{python3_sitelib}/pretend-%{version}-py3.?.egg-info
-%endif
-
-
-%changelog
-* Sat Feb 02 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.8-15
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.8-14
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Jun 14 2018 Miro Hrončok <mhroncok(a)redhat.com> - 1.0.8-13
-- Rebuilt for Python 3.7
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.8-12
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Fri Sep 29 2017 Troy Dawson <tdawson(a)redhat.com> - 1.0.8-11
-- Cleanup spec file conditionals
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.8-10
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Fri Jun 30 2017 Piotr Popieluch <piotr1212(a)gmail.com> - 1.0.8-9
-- Update to new package guidelines
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.8-8
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Mon Dec 12 2016 Charalampos Stratakis <cstratak(a)redhat.com> - 1.0.8-7
-- Rebuild for Python 3.6
-
-* Tue Jul 19 2016 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.0.8-6
-- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_...
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.8-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Wed Oct 14 2015 Robert Kuska <rkuska(a)redhat.com> - 1.0.8-4
-- Rebuilt for Python3.5 rebuild
-- Change pattern for listed files under __pycache__ folder to follow new naming of bytecompiled files
-
-* Thu Jun 18 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.0.8-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Sat Nov 22 2014 Piotr Popieluch <piotr1212(a)gmail.com> - 1.0.8-2
-- Added epel support
-
-* Mon Oct 20 2014 Piotr Popieluch <piotr1212(a)gmail.com> - 1.0.8-1
-- Initial package
diff --git a/sources b/sources
deleted file mode 100644
index 6770cd9..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-7147050a95c9f494248557b42b58ad79 pretend-1.0.8.tar.gz
https://src.fedoraproject.org/rpms/python-pretend/c/2843ee900bf5ac80788b5...
2 years, 3 months