forked from pool/python-EditorConfig
Accepting request 920041 from devel:languages:python
- Update to version 0.12.3+git.1630438300.f43312a: * Add PYTHONPATH to the instructions (#38) OBS-URL: https://build.opensuse.org/request/show/920041 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-EditorConfig?expand=0&rev=6
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:57f8ce78afcba15c8b18d46b5170848c88d56fd38f05c2ec60dbbfcb8996e89e
|
||||
size 13329
|
||||
15
_service
Normal file
15
_service
Normal file
@@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="url">https://github.com/editorconfig/editorconfig-core-py.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionprefix">0.12.3+git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="changesauthor">mcepl@cepl.eu</param>
|
||||
</service>
|
||||
<service mode="disabled" name="tar" />
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version" />
|
||||
</services>
|
||||
4
_servicedata
Normal file
4
_servicedata
Normal 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">f43312abcf6888b78ca80f1e95bfa627281746ad</param></service></servicedata>
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d828948977c6b02ea3aa78865b0de1bf183b7034e62e84b70d5654a6920bf806
|
||||
size 27788
|
||||
5
editorconfig-core-py.obsinfo
Normal file
5
editorconfig-core-py.obsinfo
Normal file
@@ -0,0 +1,5 @@
|
||||
name: editorconfig-core-py
|
||||
version: 0.12.3+git.1630438300.f43312a
|
||||
mtime: 1630438300
|
||||
commit: f43312abcf6888b78ca80f1e95bfa627281746ad
|
||||
|
||||
@@ -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 <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user