From 7c002b1ee904a4f08af24ef2f2d0e45d96c0257096db5e12bab50a0c2149128a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 21 Jan 2021 11:45:42 +0000 Subject: [PATCH] Accepting request 865046 from home:jayvdb:py-submit FROM Backports:SLE-15-SP3 OBS-URL: https://build.opensuse.org/request/show/865046 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-anymarkup-core?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + anymarkup-core-0.8.1.tar.gz | 3 ++ python-anymarkup-core.changes | 16 ++++++++ python-anymarkup-core.spec | 73 +++++++++++++++++++++++++++++++++++ 5 files changed, 116 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 anymarkup-core-0.8.1.tar.gz create mode 100644 python-anymarkup-core.changes create mode 100644 python-anymarkup-core.spec 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/anymarkup-core-0.8.1.tar.gz b/anymarkup-core-0.8.1.tar.gz new file mode 100644 index 0000000..9bb4f8f --- /dev/null +++ b/anymarkup-core-0.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca796ef1609444f32a90a2382bb5f74cd04376b92f995e96155c9aec514640ee +size 11218 diff --git a/python-anymarkup-core.changes b/python-anymarkup-core.changes new file mode 100644 index 0000000..da5ea71 --- /dev/null +++ b/python-anymarkup-core.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Wed Jan 20 16:02:14 UTC 2021 - John Vandenberg + +- Add Suggests for optional dependencies +- Remove unnecessary build dependency python-devel and tidy spec +- Activate test suite + +------------------------------------------------------------------- +Tue Dec 1 15:35:13 UTC 2020 - Marcus Schaefer + +- version 0.8.1 + +------------------------------------------------------------------- +Tue Dec 1 15:07:21 UTC 2020 - Marcus Schaefer + +- Initial submission for anymarkup core library jsc#SLE-16925 diff --git a/python-anymarkup-core.spec b/python-anymarkup-core.spec new file mode 100644 index 0000000..51003bc --- /dev/null +++ b/python-anymarkup-core.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-anymarkup-core +# +# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2020 SUSE Software Solutions Germany GmbH. +# +# 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-anymarkup-core +Version: 0.8.1 +Release: 0 +Summary: Core library for anymarkup +License: BSD-3-Clause +Group: Development/Languages/Python +URL: https://github.com/bkabrda/anymarkup-core +Source0: https://github.com/bkabrda/anymarkup-core/archive/v%{version}/anymarkup-core-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-six +Suggests: python-PyYAML +Suggests: python-configobj +Suggests: python-json5 +Suggests: python-toml +Suggests: python-xmltodict +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module configobj} +BuildRequires: %{python_module flexmock} +BuildRequires: %{python_module json5} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module six} +BuildRequires: %{python_module toml} +BuildRequires: %{python_module xmltodict} +# /SECTION +%python_subpackages + +%description +This is the core library that implements functionality of +python-anymarkup. + +%prep +%setup -q -n anymarkup-core-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog