diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-18 13:01:22 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-18 13:01:22 +0000 |
commit | b635b6c4f631c68c6f418de8c2909d5110e1d7b5 (patch) | |
tree | 31971bf5640d909cb870dfd49568cbac54721b70 | |
parent | 38e37384aa880e66eb0e656aa67f34c3e33c8b73 (diff) |
automatic import of python-pygit2openeuler24.03_LTSopeneuler23.09
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pygit2.spec | 62 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 64 insertions, 0 deletions
@@ -0,0 +1 @@ +/pygit2-1.14.1.tar.gz diff --git a/python-pygit2.spec b/python-pygit2.spec new file mode 100644 index 0000000..1e54086 --- /dev/null +++ b/python-pygit2.spec @@ -0,0 +1,62 @@ +%global _empty_manifest_terminate_build 0 +%global module pygit2 + +Name: python-%{module} +Version: 1.14.1 +Release: 1 +Summary: Python bindings for libgit2 +License: GPL-2.0-only WITH GCC-exception-2.0 +URL: https://www.pygit2.org/ +Source0: https://github.com/libgit2/pygit2/archive/v%{version}.tar.gz#/%{module}-%{version}.tar.gz + +%description +pygit2 is a set of Python bindings to the libgit2 library, which implements +the core of Git. + +%package -n python3-%{module} +Summary: Python 3 bindings for libgit2 +Provides: python-%{module} + +BuildRequires: make +BuildRequires: gcc +BuildRequires: (libgit2-devel >= 1.7.0 with libgit2-devel < 1.8.0) +BuildRequires: python3-cffi >= 1.16.0 +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm + + +%description -n python3-%{module} +pygit2 is a set of Python bindings to the libgit2 library, which implements +the core of Git. + +The python3-%{pkgname} package contains the Python 3 bindings. + +%package doc +Summary: Documentation for %{name} +BuildArch: noarch +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme +%description doc +Documentation for %{name}. + + +%prep +%autosetup -n %{module}-%{version} -p 1 + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{module} +%license COPYING +%doc README.md +%{python3_sitearch}/%{module}-*.egg-info/ +%{python3_sitearch}/%{module}/ + +%changelog +* Thu Mar 07 2024 weilinfox <caiweilin@iscas.ac.cn> - 1.14.1-1 +- Package for pygit2 1.14.1 @@ -0,0 +1 @@ +b95c857956644757b7d322196a1a82aa pygit2-1.14.1.tar.gz |