commit d1de5cd7b407b8ad6dbec555a0d484e4518b2400 Author: Adrian Schröter Date: Fri Jul 12 12:18:55 2024 +0200 Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-flit-scm revision a738fac4d6b6379078fbda2f37b92f5f diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/flit_scm-1.7.0.tar.gz b/flit_scm-1.7.0.tar.gz new file mode 100644 index 0000000..6a7dfa7 --- /dev/null +++ b/flit_scm-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:961bd6fb24f31bba75333c234145fff88e6de0a90fc0f7e5e7c79deca69f6bb2 +size 2405 diff --git a/saltbundlepy-flit-scm.changes b/saltbundlepy-flit-scm.changes new file mode 100644 index 0000000..d83a87c --- /dev/null +++ b/saltbundlepy-flit-scm.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Oct 9 20:04:15 UTC 2022 - Ben Greiner + +- Initial specfile for v1.7.0 +- Required by python-exceptiongroup diff --git a/saltbundlepy-flit-scm.spec b/saltbundlepy-flit-scm.spec new file mode 100644 index 0000000..1c65aad --- /dev/null +++ b/saltbundlepy-flit-scm.spec @@ -0,0 +1,70 @@ +# +# spec file for package saltbundlepy-flit-scm +# +# Copyright (c) 2023 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/ +# + + +%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} +%define pythons saltbundlepy + +Name: saltbundlepy-flit-scm +Version: 1.7.0 +Release: 0 +Summary: PEP 518 build backend using setuptools_scm and flit +License: MIT +URL: https://gitlab.com/WillDaSilva/flit_scm +Source: https://files.pythonhosted.org/packages/source/f/flit_scm/flit_scm-%{version}.tar.gz +BuildRequires: %{saltbundlepy_module flit-core >= 3.5} +BuildRequires: %{saltbundlepy_module pip} +BuildRequires: %{saltbundlepy_module setuptools-scm >= 6.4} +BuildRequires: %{saltbundlepy_module tomli} +BuildRequires: fdupes +BuildRequires: saltbundlepy-rpm-macros +Requires: saltbundlepy-flit-core >= 3.5 +Requires: saltbundlepy-setuptools-scm >= 6.4 +Provides: saltbundlepy-flit-scm = %{version}-%{release} +Requires: saltbundlepy-tomli +BuildArch: noarch +%python_subpackages + +%description +A PEP 518 build backend that uses setuptools_scm to generate a version file +from your version control system, then flit to build the package. + +%prep +%setup -q -n flit_scm-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%{python_expand \ +find %{buildroot}%{$python_sitelib} -name '*.pyc' -delete +$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib} +$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib} +%fdupes %{buildroot}%{$python_sitelib} +} + +#%%check +# there are no tests + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/flit_scm +%{python_sitelib}/flit_scm-%{version}*-info + +%changelog