components/python/mock/Makefile | ●●●●● patch | view | raw | blame | history | |
components/python/mock/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/mock/mock-PYVER.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/mock/pkg5 | ●●●●● patch | view | raw | blame | history |
components/python/mock/Makefile
@@ -20,35 +20,30 @@ # # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. # BUILD_STYLE=setup.py BUILD_BITS= NO_ARCH include ../../../make-rules/shared-macros.mk COMPONENT_NAME= mock COMPONENT_VERSION= 1.0.1 COMPONENT_REVISION= 1 COMPONENT_VERSION= 3.0.5 COMPONENT_PROJECT_URL= http://www.voidspace.org.uk/python/mock/ COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= \ sha256:b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f COMPONENT_ARCHIVE_URL= http://pypi.python.org/packages/source/m/mock/$(COMPONENT_ARCHIVE) sha256:83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3 COMPONENT_ARCHIVE_URL= $(call pypi_url) COMPONENT_BUGDB= python-mod/mock # mock has been subsumed into Python starting with 3.3, so no need to build # it for Python 3. PYTHON_VERSIONS= 2.7 # mock has been subsumed into Python starting with 3.3. However, the community # is still using this package rather than the included one, mostly because it # has all the newest features even for older versions of Python. PYTHON_VERSIONS= 2.7 3.5 include $(WS_TOP)/make-rules/prep.mk include $(WS_TOP)/make-rules/setup.py.mk include $(WS_TOP)/make-rules/ips.mk include $(WS_MAKE_RULES)/common.mk COMPONENT_TEST_DIR = $(SOURCE_DIR) COMPONENT_TEST_ARGS = setup.py test # common targets build: $(BUILD_NO_ARCH) install: $(INSTALL_NO_ARCH) test: $(TEST_NO_ARCH) # Auto-generated dependencies REQUIRED_PACKAGES += runtime/python-27 REQUIRED_PACKAGES += runtime/python-35 components/python/mock/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@ # # # Copyright 2016 <contributor> # Copyright 2020 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) @@ -25,5 +25,14 @@ file path=usr/lib/python2.7/vendor-packages/mock-$(COMPONENT_VERSION)-py2.7.egg-info/PKG-INFO file path=usr/lib/python2.7/vendor-packages/mock-$(COMPONENT_VERSION)-py2.7.egg-info/SOURCES.txt file path=usr/lib/python2.7/vendor-packages/mock-$(COMPONENT_VERSION)-py2.7.egg-info/dependency_links.txt file path=usr/lib/python2.7/vendor-packages/mock-$(COMPONENT_VERSION)-py2.7.egg-info/requires.txt file path=usr/lib/python2.7/vendor-packages/mock-$(COMPONENT_VERSION)-py2.7.egg-info/top_level.txt file path=usr/lib/python2.7/vendor-packages/mock.py file path=usr/lib/python2.7/vendor-packages/mock/__init__.py file path=usr/lib/python2.7/vendor-packages/mock/mock.py file path=usr/lib/python3.5/vendor-packages/mock-$(COMPONENT_VERSION)-py3.5.egg-info/PKG-INFO file path=usr/lib/python3.5/vendor-packages/mock-$(COMPONENT_VERSION)-py3.5.egg-info/SOURCES.txt file path=usr/lib/python3.5/vendor-packages/mock-$(COMPONENT_VERSION)-py3.5.egg-info/dependency_links.txt file path=usr/lib/python3.5/vendor-packages/mock-$(COMPONENT_VERSION)-py3.5.egg-info/requires.txt file path=usr/lib/python3.5/vendor-packages/mock-$(COMPONENT_VERSION)-py3.5.egg-info/top_level.txt file path=usr/lib/python3.5/vendor-packages/mock/__init__.py file path=usr/lib/python3.5/vendor-packages/mock/mock.py components/python/mock/mock-PYVER.p5m
@@ -18,7 +18,7 @@ # # CDDL HEADER END # # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved. # set name=pkg.fmri \ @@ -28,24 +28,32 @@ value="Mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used." set name=com.oracle.info.description \ value="Mock, a library for creating mock objects for testing in Python" set name=com.oracle.info.tpno value=12679 set name=info.classification \ value=org.opensolaris.category.2008:Development/Python set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) set name=org.opensolaris.arc-caseid value=PSARC/2013/061 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) # file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt file path=usr/lib/python$(PYVER)/vendor-packages/mock.py license mock.license license=BSD file path=usr/lib/python$(PYVER)/vendor-packages/mock/__init__.py file path=usr/lib/python$(PYVER)/vendor-packages/mock/mock.py # license LICENSE.txt license=BSD # force a dependency on the correct Python runtime package # force a dependency on the Python runtime depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ pkg.debug.depend.path=usr/bin # force a dependency on funcsigs; pkgdepend work is needed to flush this out. $(PYTHON_2.7_ONLY)depend type=require fmri=library/python/funcsigs-$(PYV) # force a dependency on the mock package depend type=require \ fmri=library/python/mock@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) # force a dependency on six; pkgdepend work is needed to flush this out. depend type=require fmri=library/python/six-$(PYV) components/python/mock/pkg5
@@ -1,11 +1,12 @@ { "dependencies": [ "runtime/python-27", "SUNWcs", "system/library" "runtime/python-35", "SUNWcs" ], "fmris": [ "library/python/mock-27" "library/python/mock-27", "library/python/mock-35" ], "name": "mock" }