[Tizen-submit] 5739: Changes to Tizen/python-pycurl

noreply at tizen.org noreply at tizen.org
Mon May 20 11:21:40 GMT 2013

Prajwal Mohan have made the following changes to python-pycurl in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]


Request: #5739

  submit:       Tizen:build/python-pycurl(cleanup) -> Tizen

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.023948
Git project: platform/upstream/python-pycurl
Tag: submit/tizen/20130517.023948
Commit: 836504d Set license using %license

State:   accepted   2013-05-16T20:37:23 pkarurmo
Comment: Ok

History: new        2013-05-16T19:39:27 tizenrobot
changes files:

++++++ new changes file:
--- python-pycurl.changes
+++ python-pycurl.changes
@@ -0,0 +1,9 @@
+* Sat May 11 2013 Anas Nashif <anas.nashif at intel.com> submit/tizen/20130509.183805 at f5e67a6
+- Set license using %license
+* Wed Mar 06 2013 Patrick McCarty <patrick.mccarty at linux.intel.com> upstream/7.19.0 at 09d6a0a
+- Add packaging
+- Link with libcrypto
+- Don't build static libs
+- Imported Upstream version 7.19.0


spec files:

++++++ new spec file:
--- python-pycurl.spec
+++ python-pycurl.spec
@@ -0,0 +1,56 @@
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+Name:           python-pycurl
+Version:        7.19.0
+Release:        0
+VCS:            platform/upstream/python-pycurl#submit/tizen/20130517.023948-0-g836504d
+Summary:        A Python interface to libcurl
+Group:          Platform Development/Python
+License:        LGPL-2.1+ or MIT/X11
+URL:            http://pycurl.sourceforge.net/
+Source0:        pycurl-%{version}.tar.gz
+Source1001:     python-pycurl.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0:     0001-Don-t-build-static-libs.patch
+Patch1:     0002-Link-with-libcrypto.patch
+BuildRequires:  python-devel
+BuildRequires:  curl-devel >= 7.19.0
+BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(libcares)
+Requires:	libcurl
+Provides:       pycurl = %{version}-%{release}
+PycURL is a Python interface to libcurl. PycURL can be used to fetch
+objects identified by a URL from a Python program, similar to the
+urllib Python module. PycURL is mature, very fast, and supports a lot
+of features.
+%setup -q -n pycurl-%{version}
+# 0001-Don-t-build-static-libs.patch
+%patch0 -p1
+# 0002-Link-with-libcrypto.patch
+%patch1 -p1
+chmod a-x examples/*
+cp %{SOURCE1001} .
+export CFLAGS="%{optflags} -DHAVE_CURL_OPENSSL"
+python setup.py build
+export PYTHONPATH=$PWD/build/lib*
+python tests/test_internals.py -q
+python setup.py install -O1 --skip-build --root=%{buildroot} --prefix=%{_prefix}

Please refer to OBS webUI for more details about this SR.

More information about the Tizen-submit mailing list