Accepting request 1086724 from devel:languages:python
- Update to 0.12.2: * setuptools plugin: * Fix problem with license-files patterns, by removing default value. - 0.12.1: * setuptools plugin: * Allow PEP 561 stub names in tool.setuptools.package-dir, #87 - 0.12.0: * setuptools plugin: * Allow PEP 561 stub names in tool.setuptools.packages, #86 - 0.11.0: * Improve error message for invalid replacements in the pre_compile CLI, #71 * Allow package to be build from git archive, #53 * Improve error message for invalid replacements in the pre_compile CLI, #71 * Error-out when extra keys are added to project.authors/maintainers, #82 * De-vendor fastjsonschema, #83 - 0.10.1: * Ensure LICENSE.txt is added to wheel. - 0.10.0: * Add NOTICE.txt to license_files, #58 * Use default SSL context when downloading classifiers from PyPI, #57 * Remove setup.py, #52 * Explicitly limit oldest supported Python version * Replace usage of cgi.parse_header with email.message.Message OBS-URL: https://build.opensuse.org/request/show/1086724 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-validate-pyproject?expand=0&rev=3
This commit is contained in:
commit
f59c193875
@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 12 09:59:00 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.12.2:
|
||||||
|
* setuptools plugin:
|
||||||
|
* Fix problem with license-files patterns, by removing default value.
|
||||||
|
- 0.12.1:
|
||||||
|
* setuptools plugin:
|
||||||
|
* Allow PEP 561 stub names in tool.setuptools.package-dir, #87
|
||||||
|
- 0.12.0:
|
||||||
|
* setuptools plugin:
|
||||||
|
* Allow PEP 561 stub names in tool.setuptools.packages, #86
|
||||||
|
- 0.11.0:
|
||||||
|
* Improve error message for invalid replacements in the pre_compile CLI, #71
|
||||||
|
* Allow package to be build from git archive, #53
|
||||||
|
* Improve error message for invalid replacements in the pre_compile CLI, #71
|
||||||
|
* Error-out when extra keys are added to project.authors/maintainers, #82
|
||||||
|
* De-vendor fastjsonschema, #83
|
||||||
|
- 0.10.1:
|
||||||
|
* Ensure LICENSE.txt is added to wheel.
|
||||||
|
- 0.10.0:
|
||||||
|
* Add NOTICE.txt to license_files, #58
|
||||||
|
* Use default SSL context when downloading classifiers from PyPI, #57
|
||||||
|
* Remove setup.py, #52
|
||||||
|
* Explicitly limit oldest supported Python version
|
||||||
|
* Replace usage of cgi.parse_header with email.message.Message
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:38:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:38:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-validate-pyproject
|
# spec file for package python-validate-pyproject
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -18,34 +18,36 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-validate-pyproject
|
Name: python-validate-pyproject
|
||||||
Version: 0.9
|
Version: 0.12.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Validation library and CLI tool for checking on 'pyprojecttoml'
|
Summary: Validation library and CLI tool for checking on 'pyprojecttoml'
|
||||||
License: MPL-2.0 and MIT and BSD-3-Clause
|
License: BSD-3-Clause AND MIT AND MPL-2.0
|
||||||
URL: https://github.com/abravalheri/validate-pyproject/
|
URL: https://github.com/abravalheri/validate-pyproject/
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/validate-pyproject/validate-pyproject-0.9.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/validate-pyproject/validate-pyproject-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: %{python_module fastjsonschema}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
%if 0%{python_version_nodots} < 38
|
%if 0%{python_version_nodots} < 38
|
||||||
Requires: python-importlib-metadata
|
Requires: python-importlib-metadata
|
||||||
%endif
|
%endif
|
||||||
%if 0%{python_version_nodots} < 37
|
%if 0%{python_version_nodots} < 37
|
||||||
Requires: python-importlib-resources
|
Requires: python-importlib-resources
|
||||||
%endif
|
%endif
|
||||||
|
Requires: python-fastjsonschema
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
Provides: python-validate_pyproject = %{version}-%{release}
|
Provides: python-validate_pyproject = %{version}-%{release}
|
||||||
# SECTION test
|
# SECTION test
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tomli >= 1.2.1 if %python-base < 3.11}
|
|
||||||
BuildRequires: %{python_module packaging >= 20.4}
|
|
||||||
BuildRequires: %{python_module trove-classifiers >= 2021.10.20}
|
|
||||||
BuildRequires: %{python_module importlib-metadata if %python-base < 3.8}
|
BuildRequires: %{python_module importlib-metadata if %python-base < 3.8}
|
||||||
BuildRequires: %{python_module importlib-resources if %python-base < 3.7}
|
BuildRequires: %{python_module importlib-resources if %python-base < 3.7}
|
||||||
|
BuildRequires: %{python_module packaging >= 20.4}
|
||||||
|
BuildRequires: %{python_module tomli >= 1.2.1 if %python-base < 3.11}
|
||||||
|
BuildRequires: %{python_module trove-classifiers >= 2021.10.20}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -67,7 +69,9 @@ sed -i '/--cov/d' setup.cfg
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest -k "not downloaded"
|
# Ignore test_pre_compile that fails because how fastjsonschema and
|
||||||
|
# validate-pyproject packages are installed
|
||||||
|
%pytest --ignore tests/test_pre_compile.py --ignore tests/test_vendoring.py -k "not downloaded"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative validate-pyproject
|
%python_install_alternative validate-pyproject
|
||||||
@ -75,7 +79,6 @@ sed -i '/--cov/d' setup.cfg
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative validate-pyproject
|
%python_uninstall_alternative validate-pyproject
|
||||||
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
3
validate-pyproject-0.12.2.tar.gz
Normal file
3
validate-pyproject-0.12.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cbda86139ae848e848bb48f450aaa97008cf03bf8899b9f1a83ea8ca0a1c030d
|
||||||
|
size 88343
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d7f0bf7270534499ff960e02c120b8731a153e02bdf51b9a580cbf17317bc414
|
|
||||||
size 105047
|
|
Loading…
Reference in New Issue
Block a user