commit 7d3b9d6904a6d8702679b204e1819c9eb027022c0569f282d4107cb979791580 Author: Todd R Date: Thu May 18 15:37:43 2017 +0000 - Initial version OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyaml?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/pyaml-16.12.2.tar.gz b/pyaml-16.12.2.tar.gz new file mode 100644 index 0000000..3cb6167 --- /dev/null +++ b/pyaml-16.12.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b865e4f53a85f4d8a092e7701f759a3237fb3ee8a928627401914aafadc00907 +size 18705 diff --git a/python-pyaml.changes b/python-pyaml.changes new file mode 100644 index 0000000..e81113d --- /dev/null +++ b/python-pyaml.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu May 18 15:04:04 UTC 2017 - toddrme2178@gmail.com + +- Initial version diff --git a/python-pyaml.spec b/python-pyaml.spec new file mode 100644 index 0000000..f875f4f --- /dev/null +++ b/python-pyaml.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-pyaml +# +# Copyright (c) 2017 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 http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test +Name: python-pyaml +Version: 16.12.2 +Release: 0 +Summary: Produce pretty and readable YAML-serialized data +License: WTFPL +Group: Development/Languages/Python +Url: https://github.com/mk-fg/pretty-yaml +Source: https://files.pythonhosted.org/packages/source/p/pyaml/pyaml-%{version}.tar.gz +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +%if %{with test} +BuildRequires: %{python_module Unidecode} +%endif +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-PyYAML +Recommends: python-Unidecode +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%python_subpackages + +%description +PyYAML-based python module to produce pretty and readable +YAML-serialized data. + +%prep +%setup -q -n pyaml-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_exec setup.py test +%endif + +%files %{python_files} +%defattr(-,root,root,-) +%doc COPYING README.rst +%{python_sitelib}/* + +%changelog