Compare commits
	
		
			6 Commits
		
	
	
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| 4e511abad8 | |||
| fd034461f5 | |||
| 67f7d9247d | |||
| d2fd1f4d76 | |||
| de046b8e8e | |||
| 391b4e1781 | 
| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:ec994dbcd4ac3af87e54631205ec5df3655f7fb4c256085aac781091b591fe69 |  | ||||||
| size 210387 |  | ||||||
							
								
								
									
										
											BIN
										
									
								
								python-semver-3.0.4.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								python-semver-3.0.4.tar.gz
									 (Stored with Git LFS)
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -1,3 +1,53 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Mon Aug 25 11:39:05 UTC 2025 - Markéta Machová <mmachova@suse.com> | ||||||
|  |  | ||||||
|  | - Convert to libalternatives on SLE-16-based and newer systems | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Sat Jan 25 08:44:46 UTC 2025 - Sebastian Wagner <sebix@sebix.at> | ||||||
|  |  | ||||||
|  | - update to version 3.0.4: | ||||||
|  |  - Bug Fixes: | ||||||
|  |   - Fix 3.0.3: | ||||||
|  |    * Re-enable Trove license identifier | ||||||
|  |    * Fix source dist file | ||||||
|  |  | ||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Sat Jan 18 14:37:13 UTC 2025 - Sebastian Wagner <sebix@sebix.at> | ||||||
|  |  | ||||||
|  | - update to version 3.0.3: | ||||||
|  |  - Bug Fixes: | ||||||
|  |   - :pr:`453`: The check in ``_comparator`` does not match the check in :meth:`Version.compare`.  | ||||||
|  |     This breaks comparision with subclasses. | ||||||
|  |  - Improved Documentation: | ||||||
|  |   - :pr:`435`: Several small improvements for documentation: | ||||||
|  |     * Add meta description to improve SEO | ||||||
|  |     * Use canonicals on ReadTheDocs (commit 87f639f) | ||||||
|  |     * Pin versions for reproducable doc builds (commit 03fb990) | ||||||
|  |     * Add missing :file:`.readthedocs.yaml` file (commit ec9348a) | ||||||
|  |     * Correct some smaller issues when building (commit f65feab) | ||||||
|  |   - :pr:`436`: Move search box more at the top. This makes it easier for | ||||||
|  |     users as if the TOC is long, the search box isn't visible | ||||||
|  |     anymore. | ||||||
|  |  - Features: | ||||||
|  |   - :pr:`439`: Improve type hints to fix TODOs | ||||||
|  |  - Internal Changes: | ||||||
|  |  - :pr:`447`: Modernize project configs with :file:`pyproject.toml` and | ||||||
|  |    use Astral's uv command. | ||||||
|  |    * In :file:`pyproject.toml`: | ||||||
|  |      * Move all project related data from :file:`setup.cfg` to :file:`pyproject.toml` | ||||||
|  |      * Use new dependency group from :pep:`735` | ||||||
|  |      * Consolidate flake8, isort, pycodestyle with ruff | ||||||
|  |      * Split towncrier config type "trivial" into "trivial" and "internal" | ||||||
|  |    * Create config file for ruff (:file:`.ruff.toml`) | ||||||
|  |    * Create config file for pytest (:file:`.pytest.ini`) | ||||||
|  |    * Document installation with new :command:`uv` command | ||||||
|  |  - Trivial Changes: | ||||||
|  |   - :pr:`445`: Improve private :func:`_nat_cmp` method: | ||||||
|  |     * Remove obsolete else. | ||||||
|  |     * Find a better way to identify digits without the :mod:`re` module. | ||||||
|  |     * Fix docstring in :meth:`Version.compare` | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Fri Dec  8 16:18:10 UTC 2023 - Dirk Müller <dmueller@suse.com> | Fri Dec  8 16:18:10 UTC 2023 - Dirk Müller <dmueller@suse.com> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package python-semver | # spec file for package python-semver | ||||||
| # | # | ||||||
| # Copyright (c) 2023 SUSE LLC | # Copyright (c) 2025 SUSE LLC and contributors | ||||||
| # | # | ||||||
| # All modifications and additions to the file contributed by third parties | # All modifications and additions to the file contributed by third parties | ||||||
| # remain the property of their copyright owners, unless otherwise agreed | # remain the property of their copyright owners, unless otherwise agreed | ||||||
| @@ -17,9 +17,14 @@ | |||||||
|  |  | ||||||
|  |  | ||||||
| %bcond_without test | %bcond_without test | ||||||
|  | %if 0%{?suse_version} > 1500 | ||||||
|  | %bcond_without libalternatives | ||||||
|  | %else | ||||||
|  | %bcond_with libalternatives | ||||||
|  | %endif | ||||||
| %{?sle15_python_module_pythons} | %{?sle15_python_module_pythons} | ||||||
| Name:           python-semver | Name:           python-semver | ||||||
| Version:        3.0.2 | Version:        3.0.4 | ||||||
| Release:        0 | Release:        0 | ||||||
| Summary:        Python helper for Semantic Versioning | Summary:        Python helper for Semantic Versioning | ||||||
| License:        BSD-3-Clause | License:        BSD-3-Clause | ||||||
| @@ -28,16 +33,23 @@ URL:            https://github.com/python-semver/python-semver | |||||||
| Source:         https://github.com/python-semver/python-semver/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz | Source:         https://github.com/python-semver/python-semver/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz | ||||||
| BuildRequires:  %{python_module base >= 3.7} | BuildRequires:  %{python_module base >= 3.7} | ||||||
| BuildRequires:  %{python_module pip} | BuildRequires:  %{python_module pip} | ||||||
| BuildRequires:  %{python_module pytest} |  | ||||||
| BuildRequires:  %{python_module setuptools} | BuildRequires:  %{python_module setuptools} | ||||||
| BuildRequires:  %{python_module wheel} | BuildRequires:  %{python_module wheel} | ||||||
| BuildRequires:  fdupes | BuildRequires:  fdupes | ||||||
| BuildRequires:  python-rpm-macros | BuildRequires:  python-rpm-macros | ||||||
| Requires(post): update-alternatives |  | ||||||
| Requires(postun):update-alternatives |  | ||||||
| # See https://github.com/k-bx/python-semver/issues/67 for why conflicts is needed | # See https://github.com/k-bx/python-semver/issues/67 for why conflicts is needed | ||||||
| Conflicts:      python-node-semver | Conflicts:      python-node-semver | ||||||
| BuildArch:      noarch | BuildArch:      noarch | ||||||
|  | # SECTION tests | ||||||
|  | BuildRequires:  %{python_module pytest} | ||||||
|  | # /SECTIOn | ||||||
|  | %if %{with libalternatives} | ||||||
|  | BuildRequires:  alts | ||||||
|  | Requires:       alts | ||||||
|  | %else | ||||||
|  | Requires(post): update-alternatives | ||||||
|  | Requires(postun): update-alternatives | ||||||
|  | %endif | ||||||
| %python_subpackages | %python_subpackages | ||||||
|  |  | ||||||
| %description | %description | ||||||
| @@ -46,7 +58,7 @@ See also http://semver.org/ | |||||||
|  |  | ||||||
| %prep | %prep | ||||||
| %setup -q -n python-semver-%{version} | %setup -q -n python-semver-%{version} | ||||||
| sed -i '/-cov/d' setup.cfg | sed -i 's/--[^ ]*cov[^ ]*//g' .pytest.ini | ||||||
|  |  | ||||||
| %build | %build | ||||||
| %pyproject_wheel | %pyproject_wheel | ||||||
| @@ -66,6 +78,9 @@ sed -i '/-cov/d' setup.cfg | |||||||
| %postun | %postun | ||||||
| %python_uninstall_alternative pysemver | %python_uninstall_alternative pysemver | ||||||
|  |  | ||||||
|  | %pre | ||||||
|  | %python_libalternatives_reset_alternative pysemver | ||||||
|  |  | ||||||
| %files %{python_files} | %files %{python_files} | ||||||
| %doc README.rst | %doc README.rst | ||||||
| %{python_sitelib}/semver* | %{python_sitelib}/semver* | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user