!13 Update to 1.0.9

From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-12-18 01:07:47 +00:00 committed by Gitee
commit 37b6935b86
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 7 additions and 31 deletions

View File

@ -1,25 +0,0 @@
From 5106f673610f22a03e16f363d617ffc1814680ba Mon Sep 17 00:00:00 2001
From: Dustin Ingram <di@users.noreply.github.com>
Date: Fri, 11 Mar 2016 10:19:28 -0500
Subject: [PATCH 07/14] Fix typo in README
---
README.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.rst b/README.rst
index 74c99f7..7fdb36d 100644
--- a/README.rst
+++ b/README.rst
@@ -43,7 +43,7 @@ the value ``"US"``. Unlike mocks, ``x`` will not respond to any other attribute
or methods, nor does it have any methods for making assertions about what you
accessed.
-If you want to add a method to the stub, simple provide a function to it:
+If you want to add a method to the stub, simply provide a function to it:
.. code:: pycon
--
2.39.0.windows.2

Binary file not shown.

BIN
pretend-1.0.9.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,13 @@
Name: python-pretend
Version: 1.0.8
Release: 18
Version: 1.0.9
Release: 1
Summary: A library to make stubbing with Python easier
License: BSD-3-Clause
URL: https://github.com/alex/pretend
Source0: https://pypi.python.org/packages/source/p/pretend/pretend-%{version}.tar.gz
Source0: https://github.com/alex/pretend/archive/v%{version}/pretend-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools
Patch0001: backport-0001-Fix-typo-in-README.patch
%description
Pretend is a library to make stubbing with Python easier.
@ -34,10 +32,13 @@ Pretend is a library to make stubbing with Python easier.
%files -n python3-pretend
%defattr(-,root,root)
%license LICENSE.rst
%doc PKG-INFO README.rst
%doc README.rst
%{python3_sitelib}/*
%changelog
* Fri Dec 15 2023 liyanan <liyanan61@h-partners.com> - 1.0.9-1
- Update to 1.0.9
* Wed Jan 18 2023 yangbo <yangbo1@xfusion.com> - 1.0.8-18
- Fix typo in README