Compare commits
11 Commits
96e7fc7dad
...
7a1a60921c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a1a60921c | ||
|
|
98ea38c0fa | ||
|
|
e993a84506 | ||
|
|
1c7001bad4 | ||
|
|
9724431c11 | ||
|
|
dbd66f3e62 | ||
|
|
86e6c3ce47 | ||
|
|
eb7ec5cb7a | ||
|
|
66b4294596 | ||
|
|
3bbad4a530 | ||
|
|
66e0b14a06 |
66
python-setuptools_git.spec
Normal file
66
python-setuptools_git.spec
Normal 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
|
||||||
4
python-setuptools_git.yaml
Normal file
4
python-setuptools_git.yaml
Normal 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
BIN
setuptools-git-1.2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user