forked from pool/python-pystache
Accepting request 1136321 from devel:languages:python
- update to 0.6.5: * Use the content-type for RST that pypi now wants * Add full sphinx apidoc build, include readme/extras. * Fix included filename and link cleanup. * Remove more py2 cruft from doctesting (py3.10 warnings) * Update maintainer info and spec test cmd. * Use updated bandit action and workflow excludes (exclude test) * Use current org-level coverage workflow. OBS-URL: https://build.opensuse.org/request/show/1136321 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pystache?expand=0&rev=6
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:93bf92b2149a4c4b58d12142e2c4c6dd5c08d89e4c95afccd4b6efe2ee1d470d
|
|
||||||
size 78240
|
|
3
pystache-0.6.5.tar.gz
Normal file
3
pystache-0.6.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9f238d5a06f18843e0d491d8e4e292dc03fed6a54cb0a5c34be37a3faa973174
|
||||||
|
size 100731
|
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 2 21:19:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.6.5:
|
||||||
|
* Use the content-type for RST that pypi now wants
|
||||||
|
* Add full sphinx apidoc build, include readme/extras.
|
||||||
|
* Fix included filename and link cleanup.
|
||||||
|
* Remove more py2 cruft from doctesting (py3.10 warnings)
|
||||||
|
* Update maintainer info and spec test cmd.
|
||||||
|
* Use updated bandit action and workflow excludes (exclude test)
|
||||||
|
* Use current org-level coverage workflow.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 27 12:40:27 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Thu Jul 27 12:40:27 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pystache
|
# spec file for package python-pystache
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2024 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,15 +18,18 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pystache
|
Name: python-pystache
|
||||||
Version: 0.6.0
|
Version: 0.6.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Mustache for Python
|
Summary: Mustache for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/defunkt/pystache
|
URL: https://github.com/defunkt/pystache
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pystache/pystache-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pystache/pystache-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -49,16 +52,16 @@ https://github.com/mustache/spec.
|
|||||||
%setup -q -n pystache-%{version}
|
%setup -q -n pystache-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pystache
|
%python_clone -a %{buildroot}%{_bindir}/pystache
|
||||||
%python_clone -a %{buildroot}%{_bindir}/pystache-test
|
%python_clone -a %{buildroot}%{_bindir}/pystache-test
|
||||||
%{python_expand %fdupes %{buildroot}%$python_sitelib/}
|
%{python_expand %fdupes %{buildroot}%$python_sitelib/}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest build/lib/pystache
|
%pytest
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{python_install_alternative pystache pystache-test}
|
%{python_install_alternative pystache pystache-test}
|
||||||
@@ -68,10 +71,10 @@ https://github.com/mustache/spec.
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc HISTORY.md README.md TODO.md
|
%doc HISTORY.md README.rst TODO.rst
|
||||||
%python_alternative %{_bindir}/pystache
|
%python_alternative %{_bindir}/pystache
|
||||||
%python_alternative %{_bindir}/pystache-test
|
%python_alternative %{_bindir}/pystache-test
|
||||||
%{python_sitelib}/pystache/
|
%{python_sitelib}/pystache/
|
||||||
%{python_sitelib}/pystache-*
|
%{python_sitelib}/pystache-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user