commit dffcfae99e2824a91861c4ba124d737036f9458a9647f7edee9ca827a71207d4 Author: Tomáš Chvátal Date: Tue May 14 21:43:25 2019 +0000 Accepting request 702065 from home:jayvdb:py-new - Initial spec for v1.0.7 OBS-URL: https://build.opensuse.org/request/show/702065 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dirtyjson?expand=0&rev=1 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/dirtyjson-1.0.7.tar.gz b/dirtyjson-1.0.7.tar.gz new file mode 100644 index 0000000..9c7d33f --- /dev/null +++ b/dirtyjson-1.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1d1e457b5432fd53283eb0341b2a273690a8b6bb9090689d2cd6a776f57efe7 +size 25351 diff --git a/python-dirtyjson.changes b/python-dirtyjson.changes new file mode 100644 index 0000000..806e199 --- /dev/null +++ b/python-dirtyjson.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Apr 3 04:35:39 AM UTC 2019 - John Vandenberg + +- Initial spec for v1.0.7 diff --git a/python-dirtyjson.spec b/python-dirtyjson.spec new file mode 100644 index 0000000..ff2d7b5 --- /dev/null +++ b/python-dirtyjson.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-dirtyjson +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-dirtyjson +Version: 1.0.7 +Release: 0 +Summary: Python JSON decoder that can extract data from dirty input +License: MIT +Group: Development/Languages/Python +URL: https://github.com/codecobblers/dirtyjson +Source: https://files.pythonhosted.org/packages/source/d/dirtyjson/dirtyjson-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +JSON decoder for Python that can extract data from dirty input. + +%prep +%setup -q -n dirtyjson-%{version} + +%build +%python_build + +%install +%python_install +%python_expand rm -r %{buildroot}%{$python_sitelib}/dirtyjson/tests +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc CHANGES.txt README.rst +%license LICENSE.txt +%{python_sitelib}/* + +%changelog