%define upstream_name PyGithub Name: python-pygithub Version: 1.17.0 Release: %mkrel 7 Summary: Use the full Github API v3 Group: Development/Python License: LGPL URL: https://pypi.python.org/pypi/PyGithub Source0: https://pypi.python.org/packages/source/P/PyGithub/PyGithub-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools %description PyGithub is a Python (2 and 3) library to use the Github API v3. With it, you can manage your Github resources (repositories, user profiles, organizations, etc.) from Python scripts. %prep %setup -q -n %{upstream_name}-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT %files %doc README.rst %{python_sitelib}/github %{python_sitelib}/PyGithub-%{version}-*.egg-info %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.17.0-7.mga5 + Revision: 745837 - Second Mageia 5 Mass Rebuild * Sat Sep 27 2014 tv <tv> 1.17.0-6.mga5 + Revision: 729457 - rebuild for missing pythoneggs deps * Tue Sep 16 2014 umeabot <umeabot> 1.17.0-5.mga5 + Revision: 688255 - Mageia 5 Mass Rebuild + pterjan <pterjan> - Rebuild for new Python * Tue Oct 22 2013 umeabot <umeabot> 1.17.0-3.mga4 + Revision: 544012 - Mageia 4 Mass Rebuild * Tue Oct 15 2013 pterjan <pterjan> 1.17.0-2.mga4 + Revision: 499209 - Rebuild to add different pythonegg provides for python 2 and 3 * Wed Aug 21 2013 guillomovitch <guillomovitch> 1.17.0-1.mga4 + Revision: 468894 - imported package python-pygithub