Compare commits

..

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
7a1a60921c
!5 update package to 1.2
From: @wenzhiwei11 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-12-19 13:16:46 +00:00
wenzhiwei11
98ea38c0fa update to 1.2 2022-12-16 10:52:39 +08:00
openeuler-ci-bot
e993a84506 !4 remove python2 of package python-setuptools_git
From: @zhanghua1831
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-10-30 09:59:05 +08:00
zhanghua
1c7001bad4 remove python2 of package python-setuptools_git 2020-10-29 15:01:07 +08:00
openeuler-ci-bot
9724431c11 !2 modify the release in changelog
Merge pull request !2 from ricky.z/master
2020-07-08 14:47:51 +08:00
openeuler-ci-bot
dbd66f3e62 !3 python-setuptools_git
Merge pull request !3 from wangef/master
2020-05-19 14:50:46 +08:00
wwx913452
86e6c3ce47 added python-setuptools_git.yaml 2020-05-07 17:19:17 +08:00
z00330046
eb7ec5cb7a modify 2020-01-18 00:13:59 -05:00
z00330046
66b4294596 modify 2020-01-13 09:32:03 -05:00
openeuler-ci-bot
3bbad4a530 !1 initial pull request for python-setuptools_git
Merge pull request !1 from ricky.z/master
2020-01-10 17:17:59 +08:00
z00330046
66e0b14a06 init commit for master 2020-01-10 03:59:38 -05:00
3 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,66 @@
Name: python-setuptools_git
Version: 1.2
Release: 1
Summary: Plugin for integrating Git into setuptools
License: BSD
URL: https://pypi.python.org/project/setuptools-git/%{version}/
Source0: https://files.pythonhosted.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz
BuildArch: noarch
BuildRequires: git
%description
This is a plugin for setup tools that enables Git integration. Once
installed, Setuptools can be told to include in a module distribution
all the files tracked by git. This is an alternative to explicit
inclusion specifications with MANIFEST.in.
%package -n python3-setuptools_git
Summary: Plugin for integrating Git into setuptools
BuildRequires: python3-devel python3-setuptools
Requires: python3-setuptools
Provides: python3-setuptools-git == %{version}-%{release}
%{?python_provide:%python_provide python3-setuptools_git}
%description -n python3-setuptools_git
This is a plugin for setup tools that enables Git integration. Once
installed, Setuptools can be told to include in a module distribution
all the files tracked by git. This is an alternative to explicit
inclusion specifications with MANIFEST.in.
%prep
%autosetup -n setuptools-git-%{version} -p1
%build
%py3_build
%install
%py3_install
%check
%{_bindir}/git config --global user.email "test@example.com"
%{_bindir}/git config --global user.name "test"
%{_bindir}/git init
%{_bindir}/git add .
%{_bindir}/git commit -m 'commit test'
export LANG="en_US.UTF-8"
%{__python3} setup.py test -vv
unset LANG
%files -n python3-setuptools_git
%doc PKG-INFO TODO.txt README.rst
%license LICENSE.txt AUTHORS.txt
%{python3_sitelib}/setuptools_git*/
%changelog
* Wed Dec 14 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 1.2-1
- update to 1.2
* Wed Oct 21 2020 zhanghua <zhanghua40@huawei.com> - 1.1-12
- remove python2 subpackage
* Sat Jan 18 2020 Lei Zhang <ricky.z@huawei.com> - 1.1-11
- Modify the wrong URL
* Tue Jan 07 2020 Lei Zhang <ricky.z@huawei.com> - 1.1-10
- Package init

View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: setuptools-git
tag_prefix: ^v
seperator: .

BIN
setuptools-git-1.2.tar.gz Normal file

Binary file not shown.