[python-github] first build

Jiří Moskovčák jmoskovc at fedoraproject.org
Fri Mar 8 14:06:00 UTC 2013


commit a63412229dcc6d579f9b43525da63d00d5c54988
Author: Jiri Moskovcak <jmoskovc at redhat.com>
Date:   Fri Mar 8 15:05:53 2013 +0100

    first build

 .gitignore         |    1 +
 python-github.spec |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a651c23 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PyGithub-1.11.1.tar.gz
diff --git a/python-github.spec b/python-github.spec
new file mode 100644
index 0000000..42ed154
--- /dev/null
+++ b/python-github.spec
@@ -0,0 +1,55 @@
+Name:           python-github
+Version:        1.11.1
+Release:        2%{?dist}
+Summary:        Python library to work with the Github API
+
+Group:          Development/Languages
+License:        LGPLv3+
+URL:            http://vincent-jacques.net/PyGithub
+Source:         http://pypi.python.org/packages/source/P/PyGithub/PyGithub-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+
+%description
+A Python library implementing the full Github API v3.
+
+%prep
+%setup -q -n PyGithub-%{version}
+
+%check
+%{__python} setup.py test
+
+%build
+%{__python} setup.py build
+mv build/lib/github/doc/ .
+mv build/lib/github/COPYING .
+mv build/lib/github/COPYING.LESSER .
+mv build/lib/github/ReadMe.md .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc doc COPYING COPYING.LESSER ReadMe.md
+# For noarch packages: sitelib
+%{python_sitelib}/*
+%exclude %{python_sitelib}/github/tests
+
+%changelog
+* Wed Feb 20 2013 Jiri Moskovcak <jmoskovc at redhat.com> - 1.11.1-2
+- updated according to the review rhbz#910565 c#4
+
+* Tue Feb 12 2013 Jiri Moskovcak <jmoskovc at redhat.com> - 1.11.1-1
+- updated to the latest upstream
+
+* Sun Feb 03 2013 Jiri Moskovcak <jmoskovc at redhat.com> - 1.10.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..b9a350f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1eb0f41da95736041f3e698d94861ade  PyGithub-1.11.1.tar.gz


More information about the scm-commits mailing list