[Tizen-submit] 3905: New package devel:upstream/python-pycurl

noreply at tizen.org noreply at tizen.org
Fri May 3 23:19:45 GMT 2013


Hi,
Adding new package python-pycurl in project devel:upstream. Please review and accept ASAP.

Justification for this new package:

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.232219
Git project: platform/upstream/python-pycurl
Tag: submit/tizen/20130503.232219
Commit: f5e67a6 Add packaging

Thank You,
Prajwal Mohan

[This message was auto-generated]

---

Request: #3905

  submit:       devel:upstream:build/python-pycurl(cleanup) -> devel:upstream


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130503.232219
Git project: platform/upstream/python-pycurl
Tag: submit/tizen/20130503.232219
Commit: f5e67a6 Add packaging

State:   new        2013-05-03T15:50:12 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- python-pycurl.changes
+++ python-pycurl.changes
@@ -0,0 +1,6 @@
+* 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
+

new:
----
  pycurl-7.19.0.tar.gz
  python-pycurl.changes
  python-pycurl.manifest
  python-pycurl.spec

spec files:
-----------

++++++ new spec file:
--- python-pycurl.spec
+++ python-pycurl.spec
@@ -0,0 +1,48 @@
+%{!?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/20130503.232219-0-gf5e67a6
+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
+BuildRequires:  python-devel
+BuildRequires:  curl-devel >= 7.19.0
+BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(libcares)
+Requires:	libcurl
+Provides:       pycurl = %{version}-%{release}
+
+%description
+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.
+
+%prep
+%setup -q -n pycurl-%{version}
+chmod a-x examples/*
+
+%build
+cp %{SOURCE1001} .
+export CFLAGS="%{optflags} -DHAVE_CURL_OPENSSL"
+python setup.py build
+
+%check
+export PYTHONPATH=$PWD/build/lib*
+python tests/test_internals.py -q
+
+%install
+python setup.py install -O1 --skip-build --root=%{buildroot} --prefix=%{_prefix}
+
+
+%remove_docs
+
+%files
+%manifest python-pycurl.manifest
+%{python_sitearch}/curl/*
+%{python_sitearch}/pycurl*

other changes:
--------------

++++++ pycurl-7.19.0.tar.gz (new)

++++++ python-pycurl.manifest (new)
--- python-pycurl.manifest
+++ python-pycurl.manifest
@@ -0,0 +1,5 @@

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


More information about the Tizen-submit mailing list