commit f7703e33e873f81658d98f173d0ef8863a13cc515e0bfd8dc317dc09cc104e66 Author: Nico Krapp Date: Tue May 13 08:46:41 2025 +0000 - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-XStatic?expand=0&rev=10 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/XStatic-1.0.3.tar.gz b/XStatic-1.0.3.tar.gz new file mode 100644 index 0000000..0a0275c --- /dev/null +++ b/XStatic-1.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:402544cc9e179489441054f09c807804e115ea246907de87c0355fb4f5a31268 +size 8452 diff --git a/python-XStatic.changes b/python-XStatic.changes new file mode 100644 index 0000000..0f340ab --- /dev/null +++ b/python-XStatic.changes @@ -0,0 +1,40 @@ +------------------------------------------------------------------- +Mon May 12 15:58:46 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Sun May 14 18:52:18 UTC 2023 - Dirk Müller + +- update to 1.0.3 + * packaging refresh + +------------------------------------------------------------------- +Thu Nov 7 16:08:48 UTC 2019 - Matej Cepl + +- Run through spec-cleaner + +------------------------------------------------------------------- +Tue Dec 11 14:30:33 UTC 2018 - Jan Engelhardt + +- Update description + +------------------------------------------------------------------- +Tue Dec 11 10:21:30 UTC 2018 - Thomas Bechtold + +- update to 1.0.2: + * update packaging docs about git / .gitignore + * bump version to 1.0.2 + * .gitignore + * update docs url + * update year and repo url in setup.py / pypi metadata + * update readme + * cosmetic changes to setup.py + * update year in copyright, docs, etc. + * tagged release 1.0.1 +- convert to singlespec + +------------------------------------------------------------------- +Fri Sep 12 16:04:14 UTC 2014 - dmueller@suse.com + +- Initial package diff --git a/python-XStatic.spec b/python-XStatic.spec new file mode 100644 index 0000000..74fbf0a --- /dev/null +++ b/python-XStatic.spec @@ -0,0 +1,53 @@ +# +# spec file for package python-XStatic +# +# Copyright (c) 2025 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/ +# + + +Name: python-XStatic +Version: 1.0.3 +Release: 0 +Summary: XStatic base package with minimal support code +License: MIT +URL: https://github.com/xstatic-py/xstatic +Source: https://files.pythonhosted.org/packages/source/X/XStatic/XStatic-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +XStatic is a packaging standard to package external (often 3rd party) +static files as a Python package. + +%prep +%setup -q -n XStatic-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install + +%files %{python_files} +%doc README.txt +%license LICENSE.txt +%{python_sitelib}/[Xx][Ss]tatic +%{python_sitelib}/[Xx][Ss]tatic-%{version}*-info +%{python_sitelib}/[Xx][Ss]tatic-%{version}*nspkg.pth + +%changelog