init package python-GitPython

This commit is contained in:
DisNight 2020-10-26 16:59:12 +08:00
parent e8e893c95a
commit 7f9053c62c
3 changed files with 56 additions and 0 deletions

BIN
3.1.11.tar.gz Normal file

Binary file not shown.

52
python-GitPython.spec Normal file
View 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
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: gitpython-developers/GitPython
tag_prefix: ""
separator: "."