packages: python-github2/python-github2.spec (NEW) - initial

wiget wiget at pld-linux.org
Thu Feb 10 21:43:21 CET 2011


Author: wiget                        Date: Thu Feb 10 20:43:21 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/python-github2:
   python-github2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-github2/python-github2.spec
diff -u /dev/null packages/python-github2/python-github2.spec:1.1
--- /dev/null	Thu Feb 10 21:43:21 2011
+++ packages/python-github2/python-github2.spec	Thu Feb 10 21:43:16 2011
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%define 	module	github2
+Summary:	Github API v2 library for Python
+Name:		python-%{module}
+Version:	0.2.0
+Release:	1
+License:	New BSD License
+Group:		Development/Languages/Python
+Source0:	http://pypi.python.org/packages/source/g/github2/github2-%{version}.tar.gz
+# Source0-md5:	0b4e1d454b03450e818c51f4fb6fcf2c
+URL:		http://github.com/ask/python-github2
+BuildRequires:	python-distribute
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is an experimental python library implementing all of the
+features available in version 2 of the Github API.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README.rst LICENSE
+%attr(755,root,root) %{_bindir}/github_manage_collaborators
+%dir %{py_sitescriptdir}/github2
+%{py_sitescriptdir}/github2/*.py[co]
+%{py_sitescriptdir}/github2-*.egg-info
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/02/10 20:43:16  wiget
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list