commit 3110febba7bd8cbfd228084dff4038d304cf23c9dfe9668ccb84e8bfd46fa1a2 Author: Todd R Date: Fri Sep 21 17:59:52 2018 +0000 Required by the latest version of python-cheroot OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm_git_archive?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/python-setuptools_scm_git_archive.changes b/python-setuptools_scm_git_archive.changes new file mode 100644 index 0000000..d70b2cf --- /dev/null +++ b/python-setuptools_scm_git_archive.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Sep 21 17:50:46 UTC 2018 - Todd R + +- Initial version diff --git a/python-setuptools_scm_git_archive.spec b/python-setuptools_scm_git_archive.spec new file mode 100644 index 0000000..1dcc5e5 --- /dev/null +++ b/python-setuptools_scm_git_archive.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-setuptools_scm_git_archive +# +# Copyright (c) 2018 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-setuptools_scm_git_archive +Version: 1.0 +Release: 0 +Summary: Git archive plugin setuptools_scm +License: MIT +Group: Development/Languages/Python +Url: https://github.com/Changaco/setuptools_scm_git_archive/ +Source: https://files.pythonhosted.org/packages/source/s/setuptools_scm_git_archive/setuptools_scm_git_archive-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION +Requires: python-setuptools_scm +BuildArch: noarch + +%python_subpackages + +%description +This is a setuptools_scm plugin that adds support for git archives +(for example the ones GitHub automatically generates). + +Note that it only works for archives of tagged commits (because git currently +lacks a format option equivalent to git describe --tags). + +%prep +%setup -q -n setuptools_scm_git_archive-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog diff --git a/setuptools_scm_git_archive-1.0.tar.gz b/setuptools_scm_git_archive-1.0.tar.gz new file mode 100644 index 0000000..f436fa6 --- /dev/null +++ b/setuptools_scm_git_archive-1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52425f905518247c685fc64c5fdba6e1e74443c8562e141c8de56059be0e31da +size 3050