equal
deleted
inserted
replaced
38 include $(WS_TOP)/make-rules/setup.py.mk |
38 include $(WS_TOP)/make-rules/setup.py.mk |
39 include $(WS_TOP)/make-rules/ips.mk |
39 include $(WS_TOP)/make-rules/ips.mk |
40 |
40 |
41 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
41 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
42 |
42 |
|
43 COMPONENT_TEST_DIR = $(COMPONENT_SRC)/src/pycountry/tests |
|
44 COMPONENT_TEST_ARGS = test_general.py |
|
45 COMPONENT_TEST_CMD = /usr/bin/nosetests |
|
46 |
43 # Regenerate the message object (mo) files for the patched |
47 # Regenerate the message object (mo) files for the patched |
44 # iso3166 (country) and iso3166-2 (country subdivisions) translations. |
48 # iso3166 (country) and iso3166-2 (country subdivisions) translations. |
45 COMPONENT_PRE_BUILD_ACTION = \ |
49 COMPONENT_PRE_BUILD_ACTION = \ |
46 cd $(SOURCE_DIR)/src/$(COMPONENT_NAME)/locales; \ |
50 cd $(SOURCE_DIR)/src/$(COMPONENT_NAME)/locales; \ |
47 for pofile in */LC_MESSAGES/iso3166.po \ |
51 for pofile in */LC_MESSAGES/iso3166.po \ |
55 # common targets |
59 # common targets |
56 build: $(BUILD_NO_ARCH) |
60 build: $(BUILD_NO_ARCH) |
57 |
61 |
58 install: $(INSTALL_NO_ARCH) |
62 install: $(INSTALL_NO_ARCH) |
59 |
63 |
60 # Tests require the tox package |
64 test: $(TEST_NO_ARCH) |
61 test: $(NO_TESTS) |
|
62 |
65 |
63 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
66 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
64 |
67 |
65 include $(WS_TOP)/make-rules/depend.mk |
68 include $(WS_TOP)/make-rules/depend.mk |