commit 122b1dc8cf52ca0f03ae2d2cc709e32822fdb0b5d5dd24b5ee828849bd7ee529 Author: Thomas Bechtold Date: Mon Mar 6 08:35:31 2017 +0000 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 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/EditorConfig-0.12.1.tar.gz b/EditorConfig-0.12.1.tar.gz new file mode 100644 index 0000000..b271433 --- /dev/null +++ b/EditorConfig-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b53c857956194a21043753c9adca5a5b0eaef6cf1db3273a362ddec78f2b8e3 +size 19282 diff --git a/python-EditorConfig.changes b/python-EditorConfig.changes new file mode 100644 index 0000000..b43eecc --- /dev/null +++ b/python-EditorConfig.changes @@ -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) + diff --git a/python-EditorConfig.spec b/python-EditorConfig.spec new file mode 100644 index 0000000..451fcb9 --- /dev/null +++ b/python-EditorConfig.spec @@ -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