diff --git a/gitdb-4.0.1.tar.gz b/gitdb-4.0.1.tar.gz new file mode 100644 index 0000000..ba0627c Binary files /dev/null and b/gitdb-4.0.1.tar.gz differ diff --git a/python-gitdb.spec b/python-gitdb.spec new file mode 100644 index 0000000..292a668 --- /dev/null +++ b/python-gitdb.spec @@ -0,0 +1,49 @@ +%global modname gitdb +Name: python-%{modname} +Version: 4.0.1 +Release: 1 +Summary: Git Object Database +License: BSD and MIT +URL: https://github.com/gitpython-developers/gitdb +Source0: %{url}/archive/%{version}/%{modname}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: git-core +%global _description \ +GitDB allows you to access bare git repositories for reading and writing.\ +It aims at allowing full access to loose objects as well as packs with\ +performance and scalability in mind. It operates exclusively on streams,\ +allowing to handle large objects with a small memory footprint. +%description %{_description} + +%package -n python3-%{modname} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{modname}} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-nose +BuildRequires: python3-smmap >= 3.0.1 +Requires: python3-smmap >= 3.0.1 +%description -n python3-%{modname} %{_description} +Python 3 version. + +%prep +%autosetup -n %{modname}-%{version} -Sgit + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} -m nose -v --exclude=test_pack_writing + +%files -n python3-%{modname} +%license LICENSE +%doc AUTHORS +%{python3_sitelib}/%{modname}-*.egg-info/ +%{python3_sitelib}/%{modname}/ + +%changelog +* Mon Oct 26 2020 Jiachen Fan - 4.0.1-1 +- package init diff --git a/python-gitdb.yaml b/python-gitdb.yaml new file mode 100644 index 0000000..b607edc --- /dev/null +++ b/python-gitdb.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: gitpython-developers/gitdb +tag_prefix: "" +separator: "."