tests: add python-entrouvert package

This commit is contained in:
Thomas NOËL 2014-11-21 11:37:05 +01:00
parent 15c3ec6559
commit 082c333f1e
2 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<services>
<service name="download_url">
<param name="host">repos.entrouvert.org</param>
<param name="protocol">http</param>
<param name="path">/python-entrouvert.git/snapshot/python-entrouvert-803fa50.tar.gz</param>
</service>
</services>

View File

@ -0,0 +1,41 @@
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define tag 6.2.0
%define minor 0
%define commit 803fa50
%define version %{tag}.%{minor}.g%{commit}
Name: python-entrouvert
Version: %{version}
Release: 0
Summary: tool modules used in projects of Entr'ouvert
License: GPLv3
Group: Development/Languages/Python
Url: https://dev.entrouvert.org/projects/python-entrouvert/
Source: python-entrouvert-%{commit}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel python-django python-setuptools-devel
%description
This package centralize tool modules used in projects of Entr'ouvert
%prep
%setup -q -n python-entrouvert-%{commit}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%doc README
%{python_sitelib}/*
/usr/bin/check-git2python-packaging.sh
%changelog
* Wed Oct 22 2014 Entr'ouvert <info@entrouvert.org> - 0-1
- Initial release