commit d352fe20d7b52f1b44379bb69734b2e67206cc1783e9d3ef9896764b5d3ccbe2 Author: Matej Cepl Date: Thu Feb 18 18:47:31 2021 +0000 Accepting request 873056 from home:alois:branches:devel:languages:python new package OBS-URL: https://build.opensuse.org/request/show/873056 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-single-version?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.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 +*.tar 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..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/python-single-version.changes b/python-single-version.changes new file mode 100644 index 0000000..83f5548 --- /dev/null +++ b/python-single-version.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Feb 16 17:07:48 UTC 2021 - Luigi Baldoni + +- Initial package (v1.5.1) diff --git a/python-single-version.spec b/python-single-version.spec new file mode 100644 index 0000000..7979689 --- /dev/null +++ b/python-single-version.spec @@ -0,0 +1,53 @@ +# +# spec file for package python-single-version +# +# Copyright (c) 2021 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-single-version +Version: 1.5.1 +Release: 0 +Summary: Have a single source of version in your code base +License: MIT +URL: https://github.com/hongquan/single-version +Source0: https://pypi.io/packages/source/s/single-version/single-version-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +Requires: python-importlib-metadata +Requires: python-first >= 2.0 +BuildArch: noarch +%python_subpackages + +%description +Utility to let you have a single source of version in your code base. + +%prep +%autosetup -n single-version-%{version} + +%build +%python_build + +%install +%python_install + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/single_version +%{python_sitelib}/single_version-%{version}-py%{python_version}.egg-info + +%changelog diff --git a/single-version-1.5.1.tar.gz b/single-version-1.5.1.tar.gz new file mode 100644 index 0000000..db38770 --- /dev/null +++ b/single-version-1.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0dee097581a4a9cdf1576075219369abedb67583449c6a0ae2c3f8100b9e903 +size 4067