From 018ad71d2956b5deda9505f0e187429a77920899653c2b497e728e4844118b20 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 18 Sep 2021 09:37:44 +0000 Subject: [PATCH] - Update to version 0.12.3+git.1630438300.f43312a: * Add PYTHONPATH to the instructions (#38) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=11 --- EditorConfig-0.12.3.tar.gz | 3 --- _service | 15 +++++++++++++++ _servicedata | 4 ++++ ...-core-py-0.12.3+git.1630438300.f43312a.tar.xz | 3 +++ editorconfig-core-py.obsinfo | 5 +++++ python-EditorConfig.changes | 6 ++++++ python-EditorConfig.spec | 16 ++++++++++++---- 7 files changed, 45 insertions(+), 7 deletions(-) delete mode 100644 EditorConfig-0.12.3.tar.gz 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.obsinfo diff --git a/EditorConfig-0.12.3.tar.gz b/EditorConfig-0.12.3.tar.gz deleted file mode 100644 index 70fd3b3..0000000 --- a/EditorConfig-0.12.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:57f8ce78afcba15c8b18d46b5170848c88d56fd38f05c2ec60dbbfcb8996e89e -size 13329 diff --git a/_service b/_service new file mode 100644 index 0000000..b878e23 --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + https://github.com/editorconfig/editorconfig-core-py.git + git + 0.12.3+git + enable + mcepl@cepl.eu + + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..99935b3 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/editorconfig/editorconfig-core-py.git + f43312abcf6888b78ca80f1e95bfa627281746ad \ 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.obsinfo b/editorconfig-core-py.obsinfo new file mode 100644 index 0000000..033ed3e --- /dev/null +++ b/editorconfig-core-py.obsinfo @@ -0,0 +1,5 @@ +name: editorconfig-core-py +version: 0.12.3+git.1630438300.f43312a +mtime: 1630438300 +commit: f43312abcf6888b78ca80f1e95bfa627281746ad + diff --git a/python-EditorConfig.changes b/python-EditorConfig.changes index 5319c37..1fd8d17 100644 --- a/python-EditorConfig.changes +++ b/python-EditorConfig.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/python-EditorConfig.spec b/python-EditorConfig.spec index 71f876f..998f1d5 100644 --- a/python-EditorConfig.spec +++ b/python-EditorConfig.spec @@ -17,14 +17,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define modname editorconfig-core-py Name: python-EditorConfig -Version: 0.12.3 +Version: 0.12.3+git.1630438300.f43312a Release: 0 Summary: File Locator and Interpreter for Python License: BSD-2-Clause AND Python-2.0 URL: https://editorconfig.org -Source0: https://files.pythonhosted.org/packages/source/E/EditorConfig/EditorConfig-%{version}.tar.gz +Source0: %{modname}-%{version}.tar.xz BuildRequires: %{python_module setuptools} +BuildRequires: cmake BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -36,7 +38,7 @@ 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} +%autosetup -p1 -n %{modname}-%{version} %build %python_build @@ -47,10 +49,16 @@ command line program or as an importable library. rm -rf %{buildroot}%{_bindir} %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# Still not resolved issues with tests, gh#editorconfig/editorconfig-core-py#37 +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-%{version}-py%{python_version}.egg-info +%{python_sitelib}/EditorConfig-*.egg-info %changelog