!1 init package python-GitPython
From: @disnight Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
990f634ef6
BIN
3.1.11.tar.gz
Normal file
BIN
3.1.11.tar.gz
Normal file
Binary file not shown.
52
python-GitPython.spec
Normal file
52
python-GitPython.spec
Normal file
@ -0,0 +1,52 @@
|
||||
%global modname git
|
||||
%global srcname GitPython
|
||||
Name: python-%{srcname}
|
||||
Version: 3.1.11
|
||||
Release: 1
|
||||
Summary: Python Git Library
|
||||
License: BSD and MIT
|
||||
URL: https://github.com/gitpython-developers/GitPython
|
||||
Source0: https://github.com/gitpython-developers/GitPython/archive/3.1.11.tar.gz
|
||||
BuildArch: noarch
|
||||
%global _description \
|
||||
GitPython is a python library used to interact with git repositories,\
|
||||
high-level like git-porcelain, or low-level like git-plumbing.\
|
||||
\
|
||||
It provides abstractions of git objects for easy access of repository data,\
|
||||
and additionally allows you to access the git repository more directly using\
|
||||
either a pure python implementation, or the faster, but more resource\
|
||||
intensive git command implementation.\
|
||||
\
|
||||
The object database implementation is optimized for handling large quantities\
|
||||
of objects and large datasets, which is achieved by using\
|
||||
low-level structures and data streaming.
|
||||
%description %{_description}
|
||||
|
||||
%package -n python3-%{srcname}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: git-core
|
||||
Requires: python3-gitdb >= 4.0.0
|
||||
%description -n python3-%{srcname} %{_description}
|
||||
Python 3 version.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version} -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files -n python3-%{srcname}
|
||||
%license LICENSE
|
||||
%doc CHANGES AUTHORS
|
||||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||
%{python3_sitelib}/%{modname}/
|
||||
|
||||
%changelog
|
||||
* Mon Oct 26 2020 Jiachen Fan <fanjiachen3@huawei.com> - 3.1.11-1
|
||||
- package init
|
||||
4
python-GitPython.yaml
Normal file
4
python-GitPython.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: gitpython-developers/GitPython
|
||||
tag_prefix: ""
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user