components/python/pycurl/pycurl.p5m
changeset 706 6e61f0012046
parent 629 daaab66f7276
child 1205 6c6c27bcf9ac
child 2551 0391c5c3b137
--- a/components/python/pycurl/pycurl.p5m	Thu Feb 23 15:58:00 2012 -0800
+++ b/components/python/pycurl/pycurl.p5m	Fri Feb 24 13:30:24 2012 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 
 set name=pkg.fmri value=pkg:/library/python-2/pycurl@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -28,6 +28,72 @@
 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+set name=org.opensolaris.arc-caseid \
+    value=PSARC/2011/266
 
-depend fmri=library/python-2/pycurl-26 predicate=runtime/python-26 \
+
+license pycurl.copyright license=MIT
+
+dir path=usr
+dir path=usr/share
+dir path=usr/share/doc
+dir path=usr/share/doc/pycurl
+dir path=usr/share/doc/pycurl/examples
+dir path=usr/share/doc/pycurl/html
+dir path=usr/share/doc/pycurl/tests
+file path=usr/share/doc/pycurl/COPYING
+file path=usr/share/doc/pycurl/COPYING2
+file path=usr/share/doc/pycurl/ChangeLog
+file path=usr/share/doc/pycurl/INSTALL
+file path=usr/share/doc/pycurl/README
+file path=usr/share/doc/pycurl/TODO
+file path=usr/share/doc/pycurl/examples/basicfirst.py
+file path=usr/share/doc/pycurl/examples/file_upload.py
+file path=usr/share/doc/pycurl/examples/linksys.py
+file path=usr/share/doc/pycurl/examples/retriever-multi.py
+file path=usr/share/doc/pycurl/examples/retriever.py
+file path=usr/share/doc/pycurl/examples/sfquery.py
+file path=usr/share/doc/pycurl/examples/xmlrpc_curl.py
+file path=usr/share/doc/pycurl/html/callbacks.html
+file path=usr/share/doc/pycurl/html/curlmultiobject.html
+file path=usr/share/doc/pycurl/html/curlobject.html
+file path=usr/share/doc/pycurl/html/curlshareobject.html
+file path=usr/share/doc/pycurl/html/pycurl.html
+file path=usr/share/doc/pycurl/tests/test.py
+file path=usr/share/doc/pycurl/tests/test_cb.py
+file path=usr/share/doc/pycurl/tests/test_debug.py
+file path=usr/share/doc/pycurl/tests/test_ftp.py
+file path=usr/share/doc/pycurl/tests/test_getinfo.py
+file path=usr/share/doc/pycurl/tests/test_gtk.py
+file path=usr/share/doc/pycurl/tests/test_internals.py
+file path=usr/share/doc/pycurl/tests/test_memleak.py
+file path=usr/share/doc/pycurl/tests/test_multi.py
+file path=usr/share/doc/pycurl/tests/test_multi2.py
+file path=usr/share/doc/pycurl/tests/test_multi3.py
+file path=usr/share/doc/pycurl/tests/test_multi4.py
+file path=usr/share/doc/pycurl/tests/test_multi5.py
+file path=usr/share/doc/pycurl/tests/test_multi6.py
+file path=usr/share/doc/pycurl/tests/test_multi_socket.py
+file path=usr/share/doc/pycurl/tests/test_multi_socket_select.py
+file path=usr/share/doc/pycurl/tests/test_multi_timer.py
+file path=usr/share/doc/pycurl/tests/test_multi_vs_thread.py
+file path=usr/share/doc/pycurl/tests/test_post.py
+file path=usr/share/doc/pycurl/tests/test_post2.py
+file path=usr/share/doc/pycurl/tests/test_post3.py
+file path=usr/share/doc/pycurl/tests/test_share.py
+file path=usr/share/doc/pycurl/tests/test_socketopen.py
+file path=usr/share/doc/pycurl/tests/test_stringio.py
+file path=usr/share/doc/pycurl/tests/test_xmlrpc.py
+file path=usr/share/doc/pycurl/tests/util.py
+
+# we have to reverse the autopyc transform for stuff in /usr/share/doc
+# since there are only py files there
+<transform file path=usr/share/doc/.+\.pyc$ -> drop>
+
+depend fmri=library/python-2/pycurl-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+    predicate=runtime/python-26 \
     type=conditional
+
+depend fmri=library/python-2/pycurl-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+    predicate=runtime/python-27 \
+    type=conditional