Compare commits
11 Commits
cd5042e2f7
...
942239805e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
942239805e | ||
|
|
18953f23b8 | ||
|
|
aa1810452f | ||
|
|
9e043c07b2 | ||
|
|
1261e0a577 | ||
|
|
66620d2369 | ||
|
|
47897f8a01 | ||
|
|
91f43a18d4 | ||
|
|
c9d47e94c5 | ||
|
|
985f9d9994 | ||
|
|
22279a9d04 |
BIN
pocketlint-0.23.tar.gz
Normal file
BIN
pocketlint-0.23.tar.gz
Normal file
Binary file not shown.
55
python-pocketlint.spec
Normal file
55
python-pocketlint.spec
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
%global with_tests 0%{?_with_tests:0}
|
||||||
|
Name: python-pocketlint
|
||||||
|
Version: 0.23
|
||||||
|
Release: 1
|
||||||
|
Summary: Addon pylint modules and configuration settings
|
||||||
|
License: GPLv2+
|
||||||
|
Url: https://github.com/rhinstaller/pocketlint
|
||||||
|
Source0: https://github.com/rhinstaller/pocketlint/archive/%{version}/pocketlint-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Addon pylint modules and configuration settings for checking the validity of
|
||||||
|
Python-based source projects.
|
||||||
|
|
||||||
|
%package -n python3-pocketlint
|
||||||
|
Summary: Addon pylint modules and configuration settings (Python 3)
|
||||||
|
|
||||||
|
%python_provide python3-pocketlint
|
||||||
|
|
||||||
|
BuildRequires: python3-devel python3-six
|
||||||
|
Requires: python3-polib python3-six
|
||||||
|
|
||||||
|
%description -n python3-pocketlint
|
||||||
|
Addon pylint modules and configuration settings for checking the validity of
|
||||||
|
Python-based source projects.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n pocketlint-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make_build PYTHON=%{__python3}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install PYTHON=%{__python3}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with_tests}
|
||||||
|
make check PYTHON=%{__python3}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n python3-pocketlint
|
||||||
|
%license COPYING
|
||||||
|
%{python3_sitelib}/pocketlint*egg*
|
||||||
|
%{python3_sitelib}/pocketlint/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jul 7 2022 liyanan <liyanan32@h-partners.com> - 0.23-1
|
||||||
|
- Update to 0.23
|
||||||
|
|
||||||
|
* Wed Oct 21 2020 wangxiao <wangxiao65@huawei.com> - 0.17-3
|
||||||
|
- drop python2 subpackage
|
||||||
|
|
||||||
|
* Wed Jan 08 2020 Jiangping Hu <hujp1985@foxmail.com> - 0.17-2
|
||||||
|
- Package init
|
||||||
4
python-pocketlint.yaml
Normal file
4
python-pocketlint.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: rhinstaller/pocketlint
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user