forked from pool/python-python-qprogedit
Accepting request 686873 from home:jayvdb:branches:devel:languages:python:numeric
- Convert to single spec - Add %license - Update to v4.1.2 * Fix misbound function call in JavaScript lexer - from v4.1.1 * Slight improvements to JavaScript lexer - from v4.1.0 * Add JavaScript lexer - from v4.0.11 * Fix keyboard shortcut for preferences - from v4.0.10 * Use 0 instead of None to disable wordWrapMarker Necessary because the OpenSesame config chokes on config options with different types - from v4.0.9 * Fix copy-paste issues on MacOS - from v4.0.7 * Convert line endings to unix-style when pasting OBS-URL: https://build.opensuse.org/request/show/686873 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-qprogedit?expand=0&rev=1
This commit is contained in:
59
python-python-qprogedit.spec
Normal file
59
python-python-qprogedit.spec
Normal file
@@ -0,0 +1,59 @@
|
||||
#
|
||||
# spec file for package python-python-qprogedit
|
||||
#
|
||||
# Copyright (c) 2019 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-python-qprogedit
|
||||
Version: 4.1.2
|
||||
Release: 0
|
||||
License: GPL-3.0-or-later
|
||||
Summary: A QScintilla-based text-editor component
|
||||
Url: https://github.com/smathot/QProgEdit
|
||||
Group: Development/Languages/Python
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-qprogedit/python-qprogedit-%{version}.tar.gz
|
||||
Source1: https://raw.githubusercontent.com/smathot/QProgEdit/master/copyright
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module QtPy}
|
||||
BuildRequires: %{python_module qscintilla-qt5}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
Requires: python-QtPy
|
||||
Requires: python-qscintilla-qt5
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
QProgEdit is a PyQt widget that implements a full-featured text editor
|
||||
component. It's primary target at the moment is OpenSesame, a graphical
|
||||
experiment builder.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-qprogedit-%{version}
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%license copyright
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user