-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-gitpython.spec
More file actions
37 lines (29 loc) · 1.01 KB
/
python-gitpython.spec
File metadata and controls
37 lines (29 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%define upstream_name GitPython
Name: python-gitpython
Version: 3.1.33
Release: 1
Summary: Python Git library
License: BSD
Group: Development/Python
Url: https://github.com/gitpython-developers/GitPython
Source0: https://github.com/gitpython-developers/GitPython/archive/%{version}/%{upstream_name}-%{version}.tar.gz
BuildRequires: python-distribute
BuildArch: noarch
%description
GitPython is a python library used to interact with Git repositories.
GitPython provides object model access to your git repository. Once you have
created a repository object, you can traverse it to find parent commit(s),
trees, blobs, etc.
GitPython is a port of the grit library in Ruby created by Tom Preston-Werner
and Chris Wanstrath
%prep
%setup -q -n %{upstream_name}-%{version}
%build
python setup.py build
%install
python setup.py install --root=%{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS CHANGES README.md LICENSE VERSION
%{python_sitelib}/git
%{python_sitelib}/GitPython-%{version}-py%{py_ver}.egg-info