15
0

Accepting request 477098 from home:alois:branches:devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/477098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=1
This commit is contained in:
2017-03-06 08:35:31 +00:00
committed by Git OBS Bridge
commit 122b1dc8cf
5 changed files with 110 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

View File

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

View File

@@ -0,0 +1,24 @@
-------------------------------------------------------------------
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)

59
python-EditorConfig.spec Normal file
View File

@@ -0,0 +1,59 @@
#
# spec file for package python-EditorConfig
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-EditorConfig
Version: 0.12.1
Release: 0
Summary: File Locator and Interpreter for Python
License: Python-2.0
Group: Development/Languages/Python
Url: http://editorconfig.org
Source0: https://pypi.io/packages/source/E/EditorConfig/EditorConfig-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%setup -q -n EditorConfig-%{version}
%build
%python_build
%install
%python_install
# remove executable that is already supplied by the editorconfig package
rm -rf %{buildroot}%{_bindir}
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%{python_sitelib}/editorconfig
%{python_sitelib}/EditorConfig-%{version}-py%{py_ver}.egg-info
%changelog