forked from pool/python-pylint-venv
Accepting request 1033869 from home:bnavigator:branches:devel:languages:python:numeric
required by spyder OBS-URL: https://build.opensuse.org/request/show/1033869 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint-venv?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
pylint-venv-2.3.0.tar.gz
Normal file
3
pylint-venv-2.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3594955502fdee83c98bfcc8c14cd615e6c7c3608aea525df84853ce79f296bf
|
||||||
|
size 5033
|
22
pylint-venv-pr13-fixinclude.patch
Normal file
22
pylint-venv-pr13-fixinclude.patch
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
From 1948a5060ad2b42c4badc74abadead866dc108fb Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ben Greiner <code@bnavigator.de>
|
||||||
|
Date: Sun, 6 Nov 2022 16:37:14 +0100
|
||||||
|
Subject: [PATCH] Don't install README.rst into purelib toplevel
|
||||||
|
|
||||||
|
---
|
||||||
|
pyproject.toml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index 7d154c8..0125a62 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -25,7 +25,7 @@ classifiers = [
|
||||||
|
'Programming Language :: Python :: Implementation :: PyPy',
|
||||||
|
'Topic :: Software Development',
|
||||||
|
]
|
||||||
|
-include = ["README.rst", "CHANGELOG.md", "pylint_venv.py"]
|
||||||
|
+include = ["pylint_venv.py"]
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = "^3.6"
|
6
python-pylint-venv.changes
Normal file
6
python-pylint-venv.changes
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 6 15:29:38 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Initial specfile for v2.3.0
|
||||||
|
- Add pylint-venv-pr13-fixinclude.patch gh#jgosmann/pylint-venv#13
|
||||||
|
- Required by spyder
|
60
python-pylint-venv.spec
Normal file
60
python-pylint-venv.spec
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-pylint-venv
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-pylint-venv
|
||||||
|
Version: 2.3.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Use the same Pylint installation with different virtual environments
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/jgosmann/pylint-venv/
|
||||||
|
Source: https://files.pythonhosted.org/packages/source/p/pylint-venv/pylint-venv-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM pylint-venv-pr13-fixinclude.patch gh#jgosmann/pylint-venv#13
|
||||||
|
Patch0: pylint-venv-pr13-fixinclude.patch
|
||||||
|
BuildRequires: %{python_module base >= 3.6}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module poetry-core}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Provides: python-pylint_venv = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
pylint-venv provides a Pylint init-hook to use the same Pylint installation with different virtual environments.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n pylint-venv-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
#%%check
|
||||||
|
# upstream has no tests
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%doc README.rst
|
||||||
|
%license LICENSE.txt
|
||||||
|
%{python_sitelib}/pylint_venv.py*
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/pylint_venv*.pyc
|
||||||
|
%{python_sitelib}/pylint_venv-%{version}.dist-info
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user