20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 BUILD_BITS= 32 |
25 BUILD_BITS= 32_and_64 |
26 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
27 |
27 |
28 PATH=$(USRBINDIR):$(GNUBIN):$(USRSBINDIR) |
28 PATH=$(USRBINDIR):$(GNUBIN):$(USRSBINDIR) |
29 |
29 |
30 COMPONENT_NAME= mercurial |
30 COMPONENT_NAME= mercurial |
31 COMPONENT_VERSION= 3.8.3 |
31 COMPONENT_VERSION= 4.1 |
32 COMPONENT_PROJECT_URL= http://mercurial-scm.org/ |
32 COMPONENT_PROJECT_URL= http://mercurial-scm.org/ |
33 COMPONENT_ARCHIVE_HASH= \ |
33 COMPONENT_ARCHIVE_HASH= \ |
34 sha256:f84556cdf9a331984261549d9d08143ab9da33d7c03f0aa323b0ee52d0782a4c |
34 sha256:7b33c32cdd1d518bc2e2ae223e6ef63c486cf52e9d01a45b99cf8eab7bea5274 |
35 COMPONENT_ARCHIVE_URL= https://www.mercurial-scm.org/release/$(COMPONENT_ARCHIVE) |
35 COMPONENT_ARCHIVE_URL= https://www.mercurial-scm.org/release/$(COMPONENT_ARCHIVE) |
36 COMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc |
36 COMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc |
37 COMPONENT_BUGDB= utility/hg |
37 COMPONENT_BUGDB= utility/hg |
38 COMPONENT_ANITYA_ID= 1969 |
38 COMPONENT_ANITYA_ID= 1969 |
39 |
39 |
40 TPNO= 29315 |
40 TPNO= 33715 |
41 |
41 |
42 # Mercurial does not yet support Python 3. |
42 # Mercurial does not yet support Python 3. |
43 PYTHON_VERSIONS = $(PYTHON2_VERSIONS) |
43 PYTHON_VERSIONS = $(PYTHON2_VERSIONS) |
44 |
44 |
45 BUILD_STYLE= setup.py |
45 BUILD_STYLE= setup.py |
46 TEST_TARGET= install $(TEST_32) |
46 # Build and install 64-bit first, so that the 32-bit hg is what's installed. |
|
47 INSTALL_TARGET = $(INSTALL_64) $(INSTALL_32) |
|
48 TEST_TARGET= install $(TEST_32_and_64) |
47 # Add install dependency when system-test target is implemented. |
49 # Add install dependency when system-test target is implemented. |
48 include $(WS_MAKE_RULES)/common.mk |
50 include $(WS_MAKE_RULES)/common.mk |
49 |
51 |
50 COMPONENT_POST_INSTALL_ACTION = \ |
52 COMPONENT_POST_INSTALL_ACTION = \ |
51 (cd $(PROTO_DIR)/usr/bin ; $(MV) -f hg hg-$(PYTHON_VERSION)) |
53 (cd $(PROTO_DIR)/usr/bin ; $(MV) -f hg hg-$(PYTHON_VERSION)) |