Blame python-language-server.spec

1721742
%global pypi_name python-language-server
1721742
1721742
%global short_name language-server
1721742
1721742
%global _description %{expand:
1721742
A Python implementation of the Language Server Protocol.
1721742
}
1721742
1721742
Name:           %{pypi_name}
0ad13a2
Version:        0.34.1
0ad13a2
Release:        1%{?dist}
1721742
Summary:        Python Language Server for the Language Server Protocol
1721742
1721742
License:        MIT
1721742
URL:            https://github.com/palantir/python-language-server
1721742
Source0:        https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
1721742
BuildArch:      noarch
1721742
1721742
BuildRequires:  python3-devel
1721742
BuildRequires:  python3dist(autopep8)
1721742
BuildRequires:  python3dist(coverage)
1721742
BuildRequires:  python3dist(flake8)
1721742
BuildRequires:  python3dist(jedi)
1721742
BuildRequires:  python3dist(matplotlib)
1721742
BuildRequires:  python3dist(mccabe)
1721742
BuildRequires:  python3dist(mock)
1721742
BuildRequires:  python3dist(numpy)
1721742
BuildRequires:  python3dist(pandas)
1721742
BuildRequires:  python3dist(pluggy)
1721742
BuildRequires:  python3dist(pycodestyle)
1721742
BuildRequires:  python3dist(pydocstyle) >= 2.0.0
1721742
BuildRequires:  python3dist(pyflakes) >= 1.6.0
1721742
BuildRequires:  python3dist(pylint)
1721742
BuildRequires:  python3dist(pyqt5)
1721742
BuildRequires:  python3dist(pytest)
1721742
BuildRequires:  python3dist(pytest-cov)
1721742
BuildRequires:  python3dist(python-jsonrpc-server)
1721742
BuildRequires:  python3dist(rope) >= 0.10.5
1721742
BuildRequires:  python3dist(setuptools)
1721742
BuildRequires:  python3dist(ujson)
1721742
BuildRequires:  python3-versioneer
1721742
BuildRequires:  python3dist(yapf)
1721742
1721742
%description %_description
1721742
1721742
%package -n     python3-%{short_name}
1721742
Summary:        %{summary}
1721742
%{?python_provide:%python_provide python3-%{short_name}}
1721742
1721742
Requires:       python3dist(jedi)
1721742
Requires:       python3dist(python-jsonrpc-server)
1721742
Requires:       python3dist(pluggy)
1721742
Requires:       python3dist(ujson)
1721742
1721742
%description -n python3-%{short_name}
1721742
%_description
1721742
1721742
%prep
1721742
%autosetup -n %{pypi_name}-%{version}
1721742
# drop ujson version
1721742
# https://github.com/palantir/python-language-server/issues/744
1721742
# https://github.com/palantir/python-jsonrpc-server/issues/36
1721742
sed -i 's/ujson<=1.35;/ujson;/' setup.py
1721742
1721742
# Remove bundled egg-info
1721742
rm -rf %{pypi_name}.egg-info
1721742
1721742
%build
1721742
%py3_build
1721742
1721742
%install
1721742
%py3_install
1721742
1721742
%check
1721742
# disable incompatible tests
1721742
# https://github.com/palantir/python-jsonrpc-server/issues/33
1721742
# https://github.com/palantir/python-jsonrpc-server/pull/37
2046b0b
# https://github.com/palantir/python-language-server/issues/825
0ad13a2
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-3 -v -k 'not ( test_missing_message or test_syntax_error_pylint_py )'
1721742
1721742
1721742
%files -n python3-%{short_name}
1721742
%license LICENSE
1721742
%doc README.rst
1721742
%{_bindir}/pyls
1721742
%{python3_sitelib}/pyls
1721742
%{python3_sitelib}/python_language_server-%{version}-py%{python3_version}.egg-info
1721742
1721742
%changelog
0ad13a2
* Fri Jul 10 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.34.1-1
0ad13a2
- Update to 0.34.1
0ad13a2
2046b0b
* Mon Jun 29 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.31.10-5
2046b0b
- Drop failing list temporarily
2046b0b
7a7658d
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.31.10-4
7a7658d
- Rebuilt for Python 3.9
7a7658d
2e7f78d
* Sun May 03 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.31.10-3
2e7f78d
- Drop BR on configparser (python2 only)
2e7f78d
1721742
* Mon Apr 27 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.31.10-2
1721742
- Enable tests
1721742
- Disable incompatible tests
1721742
1721742
* Thu Apr 23 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.31.10-1
1721742
- Fix license field
1721742
- Update to 0.31.10
1721742
- Fix requires list
1721742
1721742
* Wed Apr 22 2020 Mukundan Ragavan <nonamedotc@gmail.com> - 0.31.9-1
1721742
- Initial package.