Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
00d256f06c
!11 Update to 0.24
From: @panxh_purple 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-08-23 01:55:34 +00:00
panxiaohe
c3c3ad5958 Update to 0.24 2023-05-16 17:07:55 +08:00
openeuler-ci-bot
28dc41cc41
!9 Package upgrade
From: @lyn1001 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-07-07 03:24:37 +00:00
lyn1001
464516a352 Package upgrade 2022-07-07 11:08:27 +08:00
openeuler-ci-bot
aa1810452f !8 drop python2 subpackage
From: @wangxiao65
Reviewed-by: @miao_kaibo
Signed-off-by: @miao_kaibo
2020-10-30 10:47:17 +08:00
wangxiao65
9e043c07b2 drop python2 subpackage 2020-10-29 11:55:02 +08:00
openeuler-ci-bot
1261e0a577 !5 add yaml
Merge pull request !5 from cuibb1/master
2020-05-13 19:07:17 +08:00
root
66620d2369 yaml 2020-05-11 15:34:17 +08:00
openeuler-ci-bot
47897f8a01 !3 python2 is not needed and delete the %check process for python2
Merge pull request !3 from 薄皮小笼包/master
2020-01-11 14:14:07 +08:00
ruebb
91f43a18d4 close check 2020-01-10 22:52:58 -05:00
4 changed files with 18 additions and 21 deletions

Binary file not shown.

BIN
pocketlint-0.24.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +1,7 @@
%global with_tests 0%{?_with_tests:0}
Name: python-pocketlint
Version: 0.17
Release: 2
Version: 0.24
Release: 1
Summary: Addon pylint modules and configuration settings
License: GPLv2+
Url: https://github.com/rhinstaller/pocketlint
@ -24,42 +25,34 @@ Requires: python3-polib python3-six
Addon pylint modules and configuration settings for checking the validity of
Python-based source projects.
%package -n python2-pocketlint
Summary: Addon pylint modules and configuration settings (Python 2)
%python_provide python2-pocketlint
BuildRequires: python2-devel python2-six python2-futures
Requires: python2-polib python2-six python2-futures
%description -n python2-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=%{__python2}
%make_build PYTHON=%{__python3}
%install
%make_install PYTHON=%{__python2}
%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/
%files -n python2-pocketlint
%license COPYING
%{python2_sitelib}/pocketlint*egg*
%{python2_sitelib}/pocketlint/
%changelog
* Tue May 16 2023 panxiaohe <pan_xiaohe@hoperun.com> - 0.24-1
- Update to 0.24
* 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
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: rhinstaller/pocketlint
tag_prefix: ^v
seperator: .