commit abc1d7b06f48ea1036f93bad54591c7b3a4bd1f6a4476c9e6df3a0e4225edf73 Author: Markéta Machová Date: Fri Jun 27 14:48:38 2025 +0000 - Update to 0.6.8 * pystache has been stable and out of beta a long time, update config to reflect by @bakert in (#36) * feat: Supply ParsingError with additional information by @mykola-mokhnach-parloa in (#37) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pystache?expand=0&rev=16 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pystache-0.6.5.tar.gz b/pystache-0.6.5.tar.gz new file mode 100644 index 0000000..9cb21aa --- /dev/null +++ b/pystache-0.6.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f238d5a06f18843e0d491d8e4e292dc03fed6a54cb0a5c34be37a3faa973174 +size 100731 diff --git a/pystache-0.6.7.tar.gz b/pystache-0.6.7.tar.gz new file mode 100644 index 0000000..b275467 --- /dev/null +++ b/pystache-0.6.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55d8bb5aac450389369584b1627cecbe9069e13a09471a8fe783c44b64e94d5a +size 101395 diff --git a/pystache-0.6.8.tar.gz b/pystache-0.6.8.tar.gz new file mode 100644 index 0000000..e3dca72 --- /dev/null +++ b/pystache-0.6.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3707518e6a4d26dd189b07c10c669b1fc17df72684617c327bd3550e7075c72c +size 101892 diff --git a/python-pystache.changes b/python-pystache.changes new file mode 100644 index 0000000..f543ceb --- /dev/null +++ b/python-pystache.changes @@ -0,0 +1,86 @@ +------------------------------------------------------------------- +Thu Jun 26 12:52:01 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.6.8 + * pystache has been stable and out of beta a long time, + update config to reflect by @bakert in (#36) + * feat: Supply ParsingError with additional information + by @mykola-mokhnach-parloa in (#37) + +------------------------------------------------------------------- +Fri Jan 10 12:16:29 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.6.7 + * fix: Fail on unmatched tags. +- from version 0.6.6 + * Update README to match supported versions. + * Update pre-commit. + * Update pyproject.toml with 3.12 and 3.13 Python versions. + * Update tox config to use Python 3.12 and 3.13 versions. + * Update yml files with Python 3.12 and 3.13. + * Update changelog for v0.6.5 a bit belatedly. + +------------------------------------------------------------------- +Tue Jan 2 21:19:04 UTC 2024 - Dirk Müller + +- 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 + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Sat Dec 11 22:37:37 UTC 2021 - Dirk Müller + +- udpate to 0.6.0: + * Bump spec versions to latest => v1.1.3 + * Modernize python and CI tools, update docs/doctests + * Update unicode conversion test for py3-only + * Add pep8speaks cfg, cleanup warnings + * Remove superfluous setup test/unused imports + * Use correct wheel name in release workflow, limit wheels + * Add install check/test of downloaded wheel + * Update/add ci workflows and tox cfg, bump to next dev0 version + * fix document processing, update pandoc args and history + * add release.yml to CI, test env settings + * fix bogus commit message, update versions and tox cf + * add post-test steps for building pkgs with/without doc updates + * Bugfix: test_specloader.py: fix test_find__with_directory on other OSs + * Bugfix: pystache/loader.py: remove stray windows line-endings + * fix crufty (and insecure) http urls + * Bugfix: modernize python versions (keep py27) + +------------------------------------------------------------------- +Thu Jul 2 14:07:09 UTC 2020 - pgajdos@suse.com + +- switch from nose to pytest + +------------------------------------------------------------------- +Mon Jul 16 12:31:15 UTC 2018 - tchvatal@suse.com + +- Drop the devel package from buildrequires + +------------------------------------------------------------------- +Sun Jul 2 14:21:11 UTC 2017 - sor.alexei@meowr.ru + +- Update for the multipython build. + +------------------------------------------------------------------- +Sun May 8 07:05:17 UTC 2016 - arun@gmx.de + +- specfile: + * updated source url to files.pythonhosted.org + +------------------------------------------------------------------- +Fri Aug 29 12:41:09 UTC 2014 - toddrme2178@gmail.com + +- Initial version + diff --git a/python-pystache.spec b/python-pystache.spec new file mode 100644 index 0000000..f3db7ef --- /dev/null +++ b/python-pystache.spec @@ -0,0 +1,80 @@ +# +# spec file for package python-pystache +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-pystache +Version: 0.6.8 +Release: 0 +Summary: Mustache for Python +License: MIT +Group: Development/Languages/Python +URL: https://github.com/defunkt/pystache +Source: https://files.pythonhosted.org/packages/source/p/pystache/pystache-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch + +%description +Pystache is a Python implementation of Mustache. Mustache is a +framework-agnostic, logic-free templating system inspired by +ctemplate and etc. Like ctemplate, Mustache "emphasises separating +logic from presentation: it is impossible to embed application +logic in this template language." + +The mustache(5) man page provides a good introduction to Mustache's +syntax. For a more complete (and more current) description of +Mustache's behaviour, see the official Mustache spec: +https://github.com/mustache/spec. + +%python_subpackages + +%prep +%setup -q -n pystache-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_clone -a %{buildroot}%{_bindir}/pystache +%python_clone -a %{buildroot}%{_bindir}/pystache-test +%{python_expand %fdupes %{buildroot}%$python_sitelib/} + +%check +%pytest + +%post +%{python_install_alternative pystache pystache-test} + +%postun +%{python_uninstall_alternative pystache pystache-test} + +%files %{python_files} +%license LICENSE +%doc HISTORY.md README.rst TODO.rst +%python_alternative %{_bindir}/pystache +%python_alternative %{_bindir}/pystache-test +%{python_sitelib}/pystache/ +%{python_sitelib}/pystache-%{version}.dist-info + +%changelog