forked from pool/python-pytoml
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytoml?expand=0&rev=15
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
b212790.tar.gz
Normal file
3
b212790.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:551bae7c70d83a315a3ed092caa3fbc6b2e8d65fb52d0f555647cbc3f5eb5f3b
|
||||
size 19525
|
||||
85
python-pytoml.changes
Normal file
85
python-pytoml.changes
Normal file
@@ -0,0 +1,85 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 11 05:49:35 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:32:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 07:31:19 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix build without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 9 13:30:32 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 0.1.21
|
||||
- add "deprecation notice" to summary
|
||||
* Fix incorrectly stripped new-lines at the beginning of strings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 11:15:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix the test call
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 7 10:20:44 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix fdupes call
|
||||
- Update to 0.1.20:
|
||||
* many small bugfixes around
|
||||
* Include license file
|
||||
- Update the test tgz tarball from the git
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 18 06:07:49 UTC 2018 - bruno@ioda-net.ch
|
||||
|
||||
- Update to bugfix version 0.1.14
|
||||
- Packaging
|
||||
+ add raw source for LICENSE (next tgz will contain it)
|
||||
+ spec-cleaner (date,url,license)
|
||||
+ add %check section to run tests
|
||||
+ add specific author's fork tgz of toml-test
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 13 07:53:17 UTC 2017 - bruno@ioda-net.ch
|
||||
|
||||
- Update to bugfix version 0.1.13
|
||||
- Move to python singlespec build
|
||||
- Update copyright year
|
||||
- Use pythonhosted host for source download
|
||||
- Use normal tar.gz source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 29 20:38:32 UTC 2016 - bruno@ioda-net.ch
|
||||
|
||||
- Update to bugfix revision 0.1.11
|
||||
- Fix issues with sort_key.
|
||||
- Tweak tests to handle failure correctly.
|
||||
- A python3-pytoml packages is available in d:l:python3
|
||||
- Notice to packagers : if you update python2, update python3
|
||||
version too.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 28 08:47:36 UTC 2016 - kgronlund@suse.com
|
||||
|
||||
- Update sourcelink
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 28 00:31:19 UTC 2016 - kgronlund@suse.com
|
||||
|
||||
- Updated description and license for package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 1 20:52:56 UTC 2016 - kgronlund@suse.com
|
||||
|
||||
- Update to 0.1.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 27 19:19:32 UTC 2016 - mvyskocil@opensuse.org
|
||||
|
||||
- Initial openSUSE packaging
|
||||
|
||||
67
python-pytoml.spec
Normal file
67
python-pytoml.spec
Normal file
@@ -0,0 +1,67 @@
|
||||
#
|
||||
# spec file for package python-pytoml
|
||||
#
|
||||
# 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-pytoml
|
||||
Version: 0.1.21
|
||||
Release: 0
|
||||
Summary: TOML-0.4.0 parser/writer for Python
|
||||
License: MIT
|
||||
URL: https://github.com/avakar/pytoml
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/pytoml/pytoml-%{version}.tar.gz
|
||||
# toml-test for tests from author's fork with specific commit
|
||||
Source1: https://github.com/avakar/toml-test/archive/b212790.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A specs-conforming and strict parser and writer for TOML files.
|
||||
The library currently supports version 0.4.0 of the specs.
|
||||
|
||||
The pytoml project is no longer being actively maintained.
|
||||
Consider using the toml package instead.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytoml-%{version}
|
||||
tar -C test -xzf%{SOURCE1}
|
||||
cd test
|
||||
mv toml-test-b212790a6b7367489f389411bda009e5ff765f20 toml-test
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python test/test.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitelib}/pytoml/
|
||||
%{python_sitelib}/pytoml-%{version}.dist-info/
|
||||
|
||||
%changelog
|
||||
3
pytoml-0.1.21.tar.gz
Normal file
3
pytoml-0.1.21.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7
|
||||
size 8783
|
||||
Reference in New Issue
Block a user