17
0

- 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=12
This commit is contained in:
2024-07-30 21:18:35 +00:00
committed by Git OBS Bridge
commit 34b5a2fe00
9 changed files with 189 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

15
_service Normal file
View File

@@ -0,0 +1,15 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/editorconfig/editorconfig-core-py.git</param>
<param name="scm">git</param>
<param name="versionprefix">0.12.4+git</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">mcepl@cepl.eu</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="manual" name="set_version" />
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/editorconfig/editorconfig-core-py.git</param>
<param name="changesrevision">2740deeacfa9b6a5fbfd419500126daec80c5022</param></service></servicedata>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d828948977c6b02ea3aa78865b0de1bf183b7034e62e84b70d5654a6920bf806
size 27788

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21f0feb49468bf45305c6ee08f28afd1eaac865bd5dc45cef7a5d7b3cd8f9e1d
size 146955

View File

@@ -0,0 +1,4 @@
name: editorconfig-core-py
version: 0.12.4+git.1707726233.2740dee
mtime: 1707726233
commit: 2740deeacfa9b6a5fbfd419500126daec80c5022

View File

@@ -0,0 +1,70 @@
-------------------------------------------------------------------
Tue Jul 30 21:16:59 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- 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 <adrian.glaubitz@suse.com>
- 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 <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Tue Mar 5 14:55:37 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.12.2:
* no upstream changelog
-------------------------------------------------------------------
Tue Dec 4 12:47:35 UTC 2018 - Matej Cepl <mcepl@suse.com>
- 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)

66
python-EditorConfig.spec Normal file
View File

@@ -0,0 +1,66 @@
#
# spec file for package python-EditorConfig
#
# Copyright (c) 2024 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
# 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