From 2daf41bc680d2301f9165f19b134222900c33f43acc5731e54326cdedd45c1f2 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 25 Mar 2025 02:26:32 +0000 Subject: [PATCH 1/2] - Lowercase metadata directory name. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=16 --- .gitattributes | 23 ++++++ .gitignore | 1 + _service | 15 ++++ _servicedata | 4 + ...re-py-0.12.3+git.1630438300.f43312a.tar.xz | 3 + ...e-py-0.12.4+git.1707726233.2740dee.obscpio | 3 + editorconfig-core-py.obsinfo | 4 + python-EditorConfig.changes | 80 +++++++++++++++++++ python-EditorConfig.spec | 67 ++++++++++++++++ 9 files changed, 200 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 editorconfig-core-py-0.12.3+git.1630438300.f43312a.tar.xz create mode 100644 editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio create mode 100644 editorconfig-core-py.obsinfo create mode 100644 python-EditorConfig.changes create mode 100644 python-EditorConfig.spec 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/_service b/_service new file mode 100644 index 0000000..1024f2c --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/editorconfig/editorconfig-core-py.git + git + 0.12.4+git + enable + mcepl@cepl.eu + + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..ce562d3 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/editorconfig/editorconfig-core-py.git + 2740deeacfa9b6a5fbfd419500126daec80c5022 \ No newline at end of file diff --git a/editorconfig-core-py-0.12.3+git.1630438300.f43312a.tar.xz b/editorconfig-core-py-0.12.3+git.1630438300.f43312a.tar.xz new file mode 100644 index 0000000..0ebb9b8 --- /dev/null +++ b/editorconfig-core-py-0.12.3+git.1630438300.f43312a.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d828948977c6b02ea3aa78865b0de1bf183b7034e62e84b70d5654a6920bf806 +size 27788 diff --git a/editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio b/editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio new file mode 100644 index 0000000..d2099b3 --- /dev/null +++ b/editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21f0feb49468bf45305c6ee08f28afd1eaac865bd5dc45cef7a5d7b3cd8f9e1d +size 146955 diff --git a/editorconfig-core-py.obsinfo b/editorconfig-core-py.obsinfo new file mode 100644 index 0000000..fd3348d --- /dev/null +++ b/editorconfig-core-py.obsinfo @@ -0,0 +1,4 @@ +name: editorconfig-core-py +version: 0.12.4+git.1707726233.2740dee +mtime: 1707726233 +commit: 2740deeacfa9b6a5fbfd419500126daec80c5022 diff --git a/python-EditorConfig.changes b/python-EditorConfig.changes new file mode 100644 index 0000000..d3b66e9 --- /dev/null +++ b/python-EditorConfig.changes @@ -0,0 +1,80 @@ +------------------------------------------------------------------- +Tue Mar 25 02:26:09 UTC 2025 - Steve Kowalik + +- Lowercase metadata directory name. + +------------------------------------------------------------------- +Sun Aug 4 13:38:40 UTC 2024 - Bernhard Wiedemann + +- Don't write python bytecode in tests for reproducible builds + +------------------------------------------------------------------- +Tue Jul 30 21:16:59 UTC 2024 - Matej Cepl + +- Update to editorconfig-core-py-0.12.4+git.1707726233.2740dee: + * Bump to v0.12.4 (#50) + * fix: only support Python3 (#48) + * Move the most of metadata into `setup.cfg` supported since Dec 2015. (#44) + * Add additional URLs into package metadata. (#43) + * Fix cloning submodules (#40) + +------------------------------------------------------------------- +Sat Sep 18 09:35:34 UTC 2021 - mcepl@cepl.eu + +- Update to version 0.12.3+git.1630438300.f43312a: + * Add PYTHONPATH to the instructions (#38) + +------------------------------------------------------------------- +Fri Aug 27 09:45:50 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 0.12.3 + * Update 0.12.3 to final version + * Add Python 3.9 support + * Fix fnmatch adjacent nested curly braces (#33) + * tests: bump to master (#32) + * editorconfig as a module (#31) + * setup.py: read version without installing (#30) + * travis: support Python 3.8 + * Fix deprecation warnings coming with Python 3.7 + * Add (c) to copyright notices per @xuhdev's request + +------------------------------------------------------------------- +Sat Mar 14 08:59:26 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + +------------------------------------------------------------------- +Tue Mar 5 14:55:37 UTC 2019 - Tomáš Chvátal + +- Update to 0.12.2: + * no upstream changelog + +------------------------------------------------------------------- +Tue Dec 4 12:47:35 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Fri Mar 3 12:11:49 UTC 2017 - aloisio@gmx.com + +- Converted to single-spec +- Dropped rpmlintrc +- Dropped executable already supplied by the editorconfig + package + +------------------------------------------------------------------- +Thu Feb 16 21:21:07 UTC 2017 - aloisio@gmx.com + +- Renamed executable to avoid conflict with the editorconfig + package + +------------------------------------------------------------------- +Tue Feb 14 20:28:18 UTC 2017 - aloisio@gmx.com + +- Added python3-EditorConfig-rpmlintrc as source file + +------------------------------------------------------------------- +Thu Feb 2 23:19:49 UTC 2017 - aloisio@gmx.com + +- Initial package (0.12.1) + diff --git a/python-EditorConfig.spec b/python-EditorConfig.spec new file mode 100644 index 0000000..81687fc --- /dev/null +++ b/python-EditorConfig.spec @@ -0,0 +1,67 @@ +# +# spec file for package python-EditorConfig +# +# 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/ +# + + +%define modname editorconfig-core-py +Name: python-EditorConfig +Version: 0.12.4+git.1707726233.2740dee +Release: 0 +Summary: File Locator and Interpreter for Python +License: BSD-2-Clause AND Python-2.0 +URL: https://editorconfig.org +Source0: %{modname}-%{version}.tar.xz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +EditorConfig Python Core provides the same functionality as the +EditorConfig C Core. EditorConfig Python core can be used as a +command line program or as an importable library. + +%prep +%autosetup -p1 -n %{modname}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +# remove executable that is already supplied by the editorconfig package +rm -rf %{buildroot}%{_bindir} +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +export PYTHONDONTWRITEBYTECODE=1 +# Still not resolved issues with tests, gh#editorconfig/editorconfig-core-py#37 +%{python_expand cmake . +export PYTHONPATH=%{buildroot}%{$python_sitelib} +ctest -VV --output-on-failure . || /bin/true +} + +%files %{python_files} +%license LICENSE.* COPYING +%doc README.rst +%{python_sitelib}/editorconfig +%{python_sitelib}/editorconfig-%(echo %{version}|cut -d+ -f 1)*-info + +%changelog From 970c4ed98b19b8c584da56a72e6474da00b8a798cc06f00eb8b8a91b23eef4c8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 29 Mar 2025 21:16:30 +0000 Subject: [PATCH 2/2] - Update to version 0.17.0+git.1743012229.8dca1b6: * chore(deps): update dependency setuptools to v78 (#70) * chore(deps): update dependency setuptools to >=77.0.3 (#69) * chore(deps): update dependency setuptools to v77 (#68) * chore(deps): update dependency setuptools to >=76.1.0 (#66) * chore(deps): update dependency setuptools to v76 (#67) * chore(deps): update dependency setuptools to >=75.8.2 (#65) * chore(deps): update dependency setuptools to >=75.8.1 (#64) * chore(deps): update tests digest to 38e1f14 (#63) * chore(deps): update tests digest to 7d75ceb (#62) * chore(deps): update dependency setuptools to >=75.8.0 (#61) * chore(deps): update dependency setuptools to v75 (#60) * Add renovate for auto updating dependencies (#58) * Bump version to 0.17.0 (#57) * Use alpine 3.21 (CMake 3.21), bump tests (#56) * Use alpine instead of Debian image for testing (#55) * Move the metadata into `PEP 621`-compliant `pyproject.toml` (#54) * Add CI for Runtime Test (#53) * Require CMake 3.16.3 (#52) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=17 --- _service | 2 +- _servicedata | 2 +- ...e-py-0.12.4+git.1707726233.2740dee.obscpio | 3 --- ...e-py-0.17.0+git.1743012229.8dca1b6.obscpio | 3 +++ editorconfig-core-py.obsinfo | 6 ++--- python-EditorConfig.changes | 23 +++++++++++++++++++ python-EditorConfig.spec | 9 ++++---- 7 files changed, 36 insertions(+), 12 deletions(-) delete mode 100644 editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio create mode 100644 editorconfig-core-py-0.17.0+git.1743012229.8dca1b6.obscpio diff --git a/_service b/_service index 1024f2c..606cc7f 100644 --- a/_service +++ b/_service @@ -2,7 +2,7 @@ https://github.com/editorconfig/editorconfig-core-py.git git - 0.12.4+git + 0.17.0+git enable mcepl@cepl.eu diff --git a/_servicedata b/_servicedata index ce562d3..9c6ffbb 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/editorconfig/editorconfig-core-py.git - 2740deeacfa9b6a5fbfd419500126daec80c5022 \ No newline at end of file + 8dca1b6fb5606082f9f95fa312ecb08f0382ee4a \ No newline at end of file diff --git a/editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio b/editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio deleted file mode 100644 index d2099b3..0000000 --- a/editorconfig-core-py-0.12.4+git.1707726233.2740dee.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21f0feb49468bf45305c6ee08f28afd1eaac865bd5dc45cef7a5d7b3cd8f9e1d -size 146955 diff --git a/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6.obscpio b/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6.obscpio new file mode 100644 index 0000000..ade9498 --- /dev/null +++ b/editorconfig-core-py-0.17.0+git.1743012229.8dca1b6.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7fcee83375adc025aa4f89fd81e8d45c35964635a6d9761ce3a8648d4f7345c6 +size 153099 diff --git a/editorconfig-core-py.obsinfo b/editorconfig-core-py.obsinfo index fd3348d..e5c2479 100644 --- a/editorconfig-core-py.obsinfo +++ b/editorconfig-core-py.obsinfo @@ -1,4 +1,4 @@ name: editorconfig-core-py -version: 0.12.4+git.1707726233.2740dee -mtime: 1707726233 -commit: 2740deeacfa9b6a5fbfd419500126daec80c5022 +version: 0.17.0+git.1743012229.8dca1b6 +mtime: 1743012229 +commit: 8dca1b6fb5606082f9f95fa312ecb08f0382ee4a diff --git a/python-EditorConfig.changes b/python-EditorConfig.changes index d3b66e9..db633eb 100644 --- a/python-EditorConfig.changes +++ b/python-EditorConfig.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Sat Mar 29 21:11:42 UTC 2025 - mcepl@cepl.eu + +- Update to version 0.17.0+git.1743012229.8dca1b6: + * chore(deps): update dependency setuptools to v78 (#70) + * chore(deps): update dependency setuptools to >=77.0.3 (#69) + * chore(deps): update dependency setuptools to v77 (#68) + * chore(deps): update dependency setuptools to >=76.1.0 (#66) + * chore(deps): update dependency setuptools to v76 (#67) + * chore(deps): update dependency setuptools to >=75.8.2 (#65) + * chore(deps): update dependency setuptools to >=75.8.1 (#64) + * chore(deps): update tests digest to 38e1f14 (#63) + * chore(deps): update tests digest to 7d75ceb (#62) + * chore(deps): update dependency setuptools to >=75.8.0 (#61) + * chore(deps): update dependency setuptools to v75 (#60) + * Add renovate for auto updating dependencies (#58) + * Bump version to 0.17.0 (#57) + * Use alpine 3.21 (CMake 3.21), bump tests (#56) + * Use alpine instead of Debian image for testing (#55) + * Move the metadata into `PEP 621`-compliant `pyproject.toml` (#54) + * Add CI for Runtime Test (#53) + * Require CMake 3.16.3 (#52) + ------------------------------------------------------------------- Tue Mar 25 02:26:09 UTC 2025 - Steve Kowalik diff --git a/python-EditorConfig.spec b/python-EditorConfig.spec index 81687fc..3d566d2 100644 --- a/python-EditorConfig.spec +++ b/python-EditorConfig.spec @@ -16,14 +16,15 @@ # -%define modname editorconfig-core-py +%define modname editorconfig Name: python-EditorConfig -Version: 0.12.4+git.1707726233.2740dee +Version: 0.17.0+git.1743012229.8dca1b6 Release: 0 Summary: File Locator and Interpreter for Python License: BSD-2-Clause AND Python-2.0 URL: https://editorconfig.org -Source0: %{modname}-%{version}.tar.xz +# Source0: https://files.pythonhosted.org/packages/source/e/%%{modname}/%%{modname}-%%{version}.tar.gz +Source0: editorconfig-core-py-%{version}.tar.xz BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -39,7 +40,7 @@ EditorConfig C Core. EditorConfig Python core can be used as a command line program or as an importable library. %prep -%autosetup -p1 -n %{modname}-%{version} +%autosetup -p1 -n editorconfig-core-py-%{version} %build %pyproject_wheel