[python-rest-client/f16] initial import for fedora, f16 branch

Matthias Runge mrunge at fedoraproject.org
Fri Jan 13 08:51:52 UTC 2012


commit 4af8c5574a591d6727ef4dda6ecd69886901536a
Author: Matthias Runge <mrunge at matthias-runge.de>
Date:   Fri Jan 13 09:51:34 2012 +0100

    initial import for fedora, f16 branch

 .gitignore              |    1 +
 python-rest-client.spec |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 49 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2dd18cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-rest-client-0.3.tar.gz
diff --git a/python-rest-client.spec b/python-rest-client.spec
new file mode 100644
index 0000000..34bd921
--- /dev/null
+++ b/python-rest-client.spec
@@ -0,0 +1,47 @@
+Name:           python-rest-client
+Version:        0.3
+Release:        1%{?dist}
+Summary:        A REST Client for use in python, using httplib2 and urllib2
+
+License:        GPLv3
+URL:            http://code.google.com/p/python-rest-client/
+Source0:        http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
+#md5=ef58ada2245fc30086bd8b389232f8ce
+
+BuildArch:      noarch
+BuildRequires:  python-setuptools
+BuildRequires:  python2-devel
+
+%description
+A REST Client for use in python, using httplib2 and urllib2.
+
+Includes a version that is suitable for use in the Google App Engine 
+environment.
+
+
+%prep
+%setup -q
+
+# remove bundled httplib2 
+rm -rf src/httplib2
+
+# strip bang-path from microblog_exceptions.py
+sed -i '/^#!\/usr\/bin\/env python$/d' src/microblog_exceptions.py
+
+
+%build
+%{__python} setup.py build
+
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%files
+%doc PKG-INFO
+%{python_sitelib}/*
+
+%changelog
+* Wed Jan 04 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.3-1
+- initial fedora packaging
diff --git a/sources b/sources
index e69de29..c0e193a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ef58ada2245fc30086bd8b389232f8ce  python-rest-client-0.3.tar.gz


More information about the scm-commits mailing list