diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 0cd07eb..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/pecan-notario-0.0.3.tar.gz diff --git a/0001-exceptions-webob-1.7-compat.patch b/0001-exceptions-webob-1.7-compat.patch deleted file mode 100644 index 1c8869c..0000000 --- a/0001-exceptions-webob-1.7-compat.patch +++ /dev/null @@ -1,30 +0,0 @@ -From e8bf31ee9e792a6930ff2c216f961a5dd7f3ee1e Mon Sep 17 00:00:00 2001 -From: Ken Dreyer -Date: Mon, 11 Jun 2018 11:53:01 -0600 -Subject: [PATCH] exceptions: webob 1.7 compat - -WebOb 1.7 raises TypeError if we create a Response without a charset -kwarg. - -(cherry picked from commit ca9181bbcb0bbf4d65f7e7af8be81b0a824df751) ---- - pecan_notario/exceptions.py | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/pecan_notario/exceptions.py b/pecan_notario/exceptions.py -index ac77ea4..938c5f9 100644 ---- a/pecan_notario/exceptions.py -+++ b/pecan_notario/exceptions.py -@@ -20,10 +20,12 @@ class JSONValidationException(WSGIHTTPException): - if self.content_length is not None: - del self.content_length - headerlist = list(self.headerlist) -+ charset = 'utf-8' - content_type = 'application/json' - body = '{"error": "%s"}' % self.detail - resp = Response( - body, -+ charset=charset, - status=self.status, - headerlist=headerlist, - content_type=content_type diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/python-pecan-notario.spec b/python-pecan-notario.spec deleted file mode 100644 index 51304d8..0000000 --- a/python-pecan-notario.spec +++ /dev/null @@ -1,132 +0,0 @@ -%global srcname pecan-notario - -Name: python-%{srcname} -Version: 0.0.3 -Release: 26%{?dist} -Summary: JSON validation for Pecan with Notario -License: BSD -URL: https://github.com/alfredodeza/pecan-notario -Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz - -Patch0001: 0001-exceptions-webob-1.7-compat.patch - -BuildArch: noarch -BuildRequires: python3-devel -BuildRequires: python3-setuptools -BuildRequires: python3-pytest -BuildRequires: python3-notario -BuildRequires: python3-pecan - -%description -Notario is flexible and succinct Python dictionary validator with the ability -to validate against both keys and values. Schemas are smaller and readable -representations of data being validated. - -%package -n python3-%{srcname} -Summary: %{summary} -Requires: python3 -Requires: python3-notario -Requires: python3-pecan - -%description -n python3-%{srcname} -Notario is flexible and succinct Python dictionary validator with the ability -to validate against both keys and values. Schemas are smaller and readable -representations of data being validated. - -%prep -%autosetup -p1 -n %{srcname}-%{version} - -%build -%{py3_build} - -%install -%py3_install - -%check -export PYTHONPATH=$(pwd) -py.test-%{python3_version} -v pecan_notario/tests - -%files -n python3-%{srcname} -%doc README.rst -%license LICENSE -%{python3_sitelib}/* - -%changelog -* Fri Jul 22 2022 Fedora Release Engineering - 0.0.3-26 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Fri Jun 17 2022 Python Maint - 0.0.3-25 -- Rebuilt for Python 3.11 - -* Fri Jan 21 2022 Fedora Release Engineering - 0.0.3-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 0.0.3-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 0.0.3-22 -- Rebuilt for Python 3.10 - -* Wed Jan 27 2021 Fedora Release Engineering - 0.0.3-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.0.3-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue May 26 2020 Miro Hrončok - 0.0.3-19 -- Rebuilt for Python 3.9 - -* Thu Jan 30 2020 Fedora Release Engineering - 0.0.3-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Oct 03 2019 Miro Hrončok - 0.0.3-17 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Mon Aug 19 2019 Miro Hrončok - 0.0.3-16 -- Rebuilt for Python 3.8 - -* Fri Jul 26 2019 Fedora Release Engineering - 0.0.3-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sat Feb 02 2019 Fedora Release Engineering - 0.0.3-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jan 12 2019 Miro Hrončok - 0.0.3-13 -- Subpackage python2-pecan-notario has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Thu Jul 26 2018 Ken Dreyer 0.0.3-12 -- exceptions: webob 1.7 compat - -* Sat Jul 14 2018 Fedora Release Engineering - 0.0.3-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 0.0.3-10 -- Rebuilt for Python 3.7 - -* Fri Feb 09 2018 Fedora Release Engineering - 0.0.3-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.0.3-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Jul 14 2017 Ken Dreyer - 0.0.3-7 -- Update Source0 URL - -* Sat Feb 11 2017 Fedora Release Engineering - 0.0.3-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 0.0.3-5 -- Rebuild for Python 3.6 - -* Tue Jul 19 2016 Fedora Release Engineering - 0.0.3-4 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Tue Mar 15 2016 Ken Dreyer - 0.0.3-3 -- correct license tag (rhbz#1315816) - -* Tue Mar 15 2016 Ken Dreyer - 0.0.3-2 -- use %%global instead of %%define (rhbz#1315816) - -* Mon Mar 07 2016 Ken Dreyer - 0.0.3-1 -- Initial package diff --git a/sources b/sources deleted file mode 100644 index f5c66d4..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -72664d105f71bfbe69d908ec77506366 pecan-notario-0.0.3.tar.gz