forked from pool/python-PyHamcrest
		
	- update to 2.1.0:
* Add a matcher for exceptions in asyncio future
  * Use the correct generic type in the internal
    ``describe_keyvalue`` method
  * ``has_properties`` now returns ``Matcher[Any]`` type, which
    addresses type checking errors when nested as a matcher.
  * Added Python 3.11 testing
- Because of gh#hamcrest/PyHamcrest#123 we have to remove
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=25
			
			
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								V2.0.3.tar.gz
									 (Stored with Git LFS)
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								V2.0.3.tar.gz
									 (Stored with Git LFS)
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								pyhamcrest-2.1.0.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								pyhamcrest-2.1.0.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -1,3 +1,14 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Sat Jan 27 11:03:23 UTC 2024 - Dirk Müller <dmueller@suse.com> | ||||
|  | ||||
| - update to 2.1.0: | ||||
|   * Add a matcher for exceptions in asyncio future | ||||
|   * Use the correct generic type in the internal | ||||
|     ``describe_keyvalue`` method | ||||
|   * ``has_properties`` now returns ``Matcher[Any]`` type, which | ||||
|     addresses type checking errors when nested as a matcher. | ||||
|   * Added Python 3.11 testing | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Fri Apr 21 12:20:58 UTC 2023 - Dirk Müller <dmueller@suse.com> | ||||
|  | ||||
| @@ -53,7 +64,7 @@ Tue Nov  5 11:20:23 UTC 2019 - Matej Cepl <mcepl@suse.com> | ||||
| ------------------------------------------------------------------- | ||||
| Mon Nov  4 14:35:43 UTC 2019 - Matej Cepl <mcepl@suse.com> | ||||
|  | ||||
| - Because of gh#hamcrest/PyHamcrest#123 we have to remove  | ||||
| - Because of gh#hamcrest/PyHamcrest#123 we have to remove | ||||
|   tests/hamcrest_unit_test/core/is{_test,instanceof_test}.py to | ||||
|   make the test suite passing. | ||||
|   Patch pytest4.patch has been removed, it was a step into dead | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package python-PyHamcrest | ||||
| # | ||||
| # Copyright (c) 2023 SUSE LLC | ||||
| # Copyright (c) 2024 SUSE LLC | ||||
| # | ||||
| # All modifications and additions to the file contributed by third parties | ||||
| # remain the property of their copyright owners, unless otherwise agreed | ||||
| @@ -16,22 +16,22 @@ | ||||
| # | ||||
|  | ||||
|  | ||||
| %{?!python_module:%define python_module() python-%{**} python3-%{**}} | ||||
| %define skip_python2 1 | ||||
| %{?sle15_python_module_pythons} | ||||
| Name:           python-PyHamcrest | ||||
| Version:        2.0.3 | ||||
| Version:        2.1.0 | ||||
| Release:        0 | ||||
| Summary:        Hamcrest framework for matcher objects | ||||
| License:        BSD-3-Clause | ||||
| URL:            https://github.com/hamcrest/PyHamcrest | ||||
| # PyPi is missing tests | ||||
| #Source:         https://files.pythonhosted.org/packages/source/P/PyHamcrest/PyHamcrest-%%{version}.tar.gz | ||||
| Source:         https://github.com/hamcrest/PyHamcrest/archive/V%{version}.tar.gz | ||||
| Source:         https://files.pythonhosted.org/packages/source/p/pyhamcrest/pyhamcrest-%{version}.tar.gz | ||||
| Patch0:         0001-Add-boolean-matchers.patch | ||||
| BuildRequires:  %{python_module hatch_vcs} | ||||
| BuildRequires:  %{python_module hatchling} | ||||
| BuildRequires:  %{python_module hypothesis >= 1.11} | ||||
| BuildRequires:  %{python_module pip} | ||||
| BuildRequires:  %{python_module pytest} | ||||
| BuildRequires:  %{python_module setuptools} | ||||
| BuildRequires:  %{python_module setuptools_scm} | ||||
| BuildRequires:  %{python_module wheel} | ||||
| BuildRequires:  fdupes | ||||
| BuildRequires:  python-rpm-macros | ||||
| Provides:       python-hamcrest = %{version} | ||||
| @@ -45,14 +45,14 @@ PyHamcrest is a framework for writing matcher objects, | ||||
| allowing you to declaratively define “match” rules. | ||||
|  | ||||
| %prep | ||||
| %setup -q -n PyHamcrest-%{version} | ||||
| %setup -q -n pyhamcrest-%{version} | ||||
| %autopatch -p1 | ||||
|  | ||||
| %build | ||||
| %python_build | ||||
| %pyproject_wheel | ||||
|  | ||||
| %install | ||||
| %python_install | ||||
| %pyproject_install | ||||
| %python_expand %fdupes %{buildroot}%{$python_sitelib}/hamcrest | ||||
|  | ||||
| %check | ||||
| @@ -62,6 +62,6 @@ allowing you to declaratively define “match” rules. | ||||
| %license LICENSE.txt | ||||
| %doc README.rst | ||||
| %{python_sitelib}/hamcrest | ||||
| %{python_sitelib}/PyHamcrest-%{version}-py*.egg-info/ | ||||
| %{python_sitelib}/pyhamcrest-%{version}.dist-info | ||||
|  | ||||
| %changelog | ||||
|   | ||||
		Reference in New Issue
	
	Block a user