16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 |
23 |
24 set name=pkg.fmri \ |
24 set name=pkg.fmri \ |
25 value=pkg:/library/python-2/requests-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
25 value=pkg:/library/python/requests-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
26 set name=pkg.summary value="Python HTTP for Humans." |
26 set name=pkg.summary value="Python HTTP for Humans." |
27 set name=pkg.description \ |
27 set name=pkg.description \ |
28 value="The Python requests module is an HTTP library, for human beings. It allow you to send HTTP/1.1 requests. You can add headers, form data, multipart files, and parameters with simple Python dictionaries, and access the response data in the same way. It's powered by httplib and urllib3." |
28 value="The Python requests module is an HTTP library, for human beings. It allow you to send HTTP/1.1 requests. You can add headers, form data, multipart files, and parameters with simple Python dictionaries, and access the response data in the same way. It's powered by httplib and urllib3." |
29 set name=com.oracle.info.description value="the Python urllib3 module" |
29 set name=com.oracle.info.description value="the Python urllib3 module" |
30 set name=com.oracle.info.tpno value=$(TPNO) |
30 set name=com.oracle.info.tpno value=$(TPNO) |
108 file path=usr/lib/python$(PYVER)/vendor-packages/requests/status_codes.py |
108 file path=usr/lib/python$(PYVER)/vendor-packages/requests/status_codes.py |
109 file path=usr/lib/python$(PYVER)/vendor-packages/requests/structures.py |
109 file path=usr/lib/python$(PYVER)/vendor-packages/requests/structures.py |
110 file path=usr/lib/python$(PYVER)/vendor-packages/requests/utils.py |
110 file path=usr/lib/python$(PYVER)/vendor-packages/requests/utils.py |
111 license requests.license license="Apache v2.0, MIT, LGPLv2.1" |
111 license requests.license license="Apache v2.0, MIT, LGPLv2.1" |
112 |
112 |
|
113 # force the rename with an optional dependency on the old name |
|
114 depend type=optional \ |
|
115 fmri=library/python-2/requests-$(PYV)@1.2.3,5.11-0.175.3.0.0.16.0 |
|
116 |
113 # force a dependency on the Python runtime |
117 # force a dependency on the Python runtime |
114 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ |
118 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ |
115 pkg.debug.depend.path=usr/bin |
119 pkg.debug.depend.path=usr/bin |
116 |
120 |
117 # force a dependency on pyopenssl; pkgdepend work is needed to flush this out. |
121 # force a dependency on pyopenssl; pkgdepend work is needed to flush this out. |
118 depend type=require fmri=library/python-2/pyopenssl-$(PYV) |
122 depend type=require fmri=library/python/pyopenssl-$(PYV) |
119 |
123 |
120 # force a dependency on the requests package |
124 # force a dependency on the requests package |
121 depend type=require \ |
125 depend type=require \ |
122 fmri=library/python-2/requests@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
126 fmri=library/python/requests@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |