commit 2253cc6fd7b219f2c9ef1853c35fe941943088721e60029405e57ab5ee1dbe7f Author: Steve Kowalik Date: Thu Mar 27 00:35:10 2025 +0000 - Normalize metadata directory name. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calmjs.types?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/1.0.1.tar.gz b/1.0.1.tar.gz new file mode 100644 index 0000000..9cd190d --- /dev/null +++ b/1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1abcd1701bb36c7387f317b1308f251c8a604ce50032eff3d64928c3aa512ce5 +size 3965 diff --git a/python-calmjs.types.changes b/python-calmjs.types.changes new file mode 100644 index 0000000..6cc418a --- /dev/null +++ b/python-calmjs.types.changes @@ -0,0 +1,31 @@ +------------------------------------------------------------------- +Thu Mar 27 00:34:56 UTC 2025 - Steve Kowalik + +- Normalize metadata directory name. + +------------------------------------------------------------------- +Wed Nov 6 11:18:41 UTC 2024 - Matej Cepl + +- Clean up the SPEC file to build again. + +------------------------------------------------------------------- +Mon Jun 26 05:57:56 UTC 2023 - Andreas Schneider + +- Use sle15_python_module_pythons + +------------------------------------------------------------------- +Fri Jan 24 10:16:50 UTC 2020 - Marketa Calabkova + +- update to 1.0.1 + * Package metadata update - LICENSE file now included in source distribution. + +------------------------------------------------------------------- +Mon Jan 6 15:14:06 UTC 2020 - Tomáš Chvátal + +- Do not package tests + +------------------------------------------------------------------- +Mon Jan 6 14:46:06 UTC 2020 - Tomáš Chvátal + +- Initial commit, needed by python-calmjs + diff --git a/python-calmjs.types.spec b/python-calmjs.types.spec new file mode 100644 index 0000000..dcf382d --- /dev/null +++ b/python-calmjs.types.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-calmjs.types +# +# 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-calmjs.types +Version: 1.0.1 +Release: 0 +Summary: Types for the calmjs framework +License: MIT +URL: https://github.com/calmjs/calmjs.types +Source: https://github.com/calmjs/calmjs.types/archive/%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-setuptools +BuildArch: noarch +%python_subpackages + +%description +A collection of types (mostly exception classes) for use with |calmjs|_. + +%prep +%autosetup -p1 -n calmjs.types-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand rm -r %{buildroot}%{$python_sitelib}/calmjs/types/tests +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license LICENSE +%doc CHANGES.rst README.rst +%{python_sitelib}/calmjs +%{python_sitelib}/calmjs_types-%{version}.dist-info +%{python_sitelib}/calmjs.types-%{version}*-nspkg.pth + +%changelog