diff --git a/json5-0.9.14.tar.gz b/json5-0.9.14.tar.gz deleted file mode 100644 index 1dc4c53fd662e70a7e99dd1acc72f3e33990dc90..0000000000000000000000000000000000000000 Binary files a/json5-0.9.14.tar.gz and /dev/null differ diff --git a/json5-0.9.19.tar.gz b/json5-0.9.19.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..63125df8558d4adc5d59d903cca9d9182c33fb19 Binary files /dev/null and b/json5-0.9.19.tar.gz differ diff --git a/python-json5.spec b/python-json5.spec index 8f165dfdfb8be07390485e3152387eac346a2b42..265f31abd27ad04d93901436a5fb974c08ad788e 100644 --- a/python-json5.spec +++ b/python-json5.spec @@ -1,22 +1,18 @@ %global _empty_manifest_terminate_build 0 Name: python-json5 -Version: 0.9.14 +Version: 0.9.19 Release: 1 Summary: Python implementation of the JSON5 data format License: Apache-2.0 URL: https://github.com/dpranke/pyjson5 -Source0: https://files.pythonhosted.org/packages/f9/40/89e0ecbf8180e112f22046553b50a99fdbb9e8b7c49d547cda2bfa81097b/json5-0.9.14.tar.gz +Source0: https://files.pythonhosted.org/packages/f9/40/89e0ecbf8180e112f22046553b50a99fdbb9e8b7c49d547cda2bfa81097b/json5-%{version}.tar.gz BuildArch: noarch -%description -JSON5 extends the JSON data interchange format to make it slightly more usable -as a configuration language: +%global _description %{expand: +A Python implementation of the JSON5 data format.} +%description %{_description} -- JavaScript-style comments (both single and multi-line) are legal. -- Object keys may be unquoted if they are legal ECMAScript identifiers -- Objects and arrays may end with trailing commas. -- Strings can be single-quoted, and multi-line string literals are allowed. %package -n python3-json5 Summary: Python implementation of the JSON5 data format @@ -24,26 +20,13 @@ Provides: python-json5 = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-hypothesis -%description -n python3-json5 -JSON5 extends the JSON data interchange format to make it slightly more usable -as a configuration language: +%description -n python3-json5 %{_description} -- JavaScript-style comments (both single and multi-line) are legal. -- Object keys may be unquoted if they are legal ECMAScript identifiers -- Objects and arrays may end with trailing commas. -- Strings can be single-quoted, and multi-line string literals are allowed. %package help Summary: Development documents and examples for json5 Provides: python3-json5-doc -%description help -JSON5 extends the JSON data interchange format to make it slightly more usable -as a configuration language: - -- JavaScript-style comments (both single and multi-line) are legal. -- Object keys may be unquoted if they are legal ECMAScript identifiers -- Objects and arrays may end with trailing commas. -- Strings can be single-quoted, and multi-line string literals are allowed. +%description help %{_description} %prep %autosetup -n json5-%{version} @@ -89,6 +72,13 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Mar 04 2024 wangqiang - 0.9.19-1 +- Update to 0.9.19 +- Drop Python2 versions from setup.py +- Add minimal packaging instructions to //README.md +- Add typing information +- Replace the benchmarking data files + * Mon Jun 19 2023 jiangxinyu - 0.9.14-1 - Update package to version 0.9.14 diff --git a/python-json5.yaml b/python-json5.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e60a9909c09d5ac5ebba54d724f350881dc0c8c6 --- /dev/null +++ b/python-json5.yaml @@ -0,0 +1,4 @@ +version_control: pypi +src_repo: json5 +tag_prefix: ^v +separator: .