24 # |
24 # |
25 |
25 |
26 include ../../../make-rules/shared-macros.mk |
26 include ../../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= fixtures |
28 COMPONENT_NAME= fixtures |
29 COMPONENT_VERSION= 1.0.0 |
29 COMPONENT_VERSION= 1.4.0 |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
32 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
33 sha256:4494c4862ad99ffb8354f7456f1c9a4ba68b607d9dabb912999d4ad60c7d9f54 |
33 sha256:3e1c61753d0fafc1429591d33ad6b828a0673a200eae63dd6ac0685479db5d36 |
34 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
34 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
35 COMPONENT_PROJECT_URL= https://launchpad.net/python-fixtures |
35 COMPONENT_PROJECT_URL= https://github.com/testing-cabal/fixtures |
36 COMPONENT_BUGDB= python-mod/fixtures |
36 COMPONENT_BUGDB= python-mod/fixtures |
37 |
37 |
38 TPNO= 26001 |
38 TPNO= 28000 |
39 |
|
40 # Depends on testtools which is not Python 3 ready. |
|
41 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
|
42 |
39 |
43 include $(WS_MAKE_RULES)/prep.mk |
40 include $(WS_MAKE_RULES)/prep.mk |
44 include $(WS_MAKE_RULES)/setup.py.mk |
41 include $(WS_MAKE_RULES)/setup.py.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
42 include $(WS_MAKE_RULES)/ips.mk |
46 |
43 |
49 # common targets |
46 # common targets |
50 build: $(BUILD_NO_ARCH) |
47 build: $(BUILD_NO_ARCH) |
51 |
48 |
52 install: $(INSTALL_NO_ARCH) |
49 install: $(INSTALL_NO_ARCH) |
53 |
50 |
54 test: $(NO_TESTS) |
51 # Run the tests in the build directory so as not to touch the source directory. |
|
52 # The tests are copied over during the build, so we don't have to do that now. |
|
53 COMPONENT_TEST_DIR = $(@D) |
|
54 COMPONENT_TEST_CMD = py.test-$(PYTHON_VERSION) |
|
55 COMPONENT_TEST_ARGS = --result-log=$(COMPONENT_TEST_OUTPUT) |
|
56 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
|
57 |
|
58 test: $(TEST_NO_ARCH) |
|
59 |
|
60 system-test: $(NO_TESTS) |