20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
|
25 |
25 include ../../../make-rules/shared-macros.mk |
26 include ../../../make-rules/shared-macros.mk |
26 |
27 |
27 COMPONENT_NAME= sqlalchemy-migrate |
28 COMPONENT_NAME= sqlalchemy-migrate |
28 COMPONENT_VERSION= 0.9.6 |
29 COMPONENT_VERSION= 0.10.0 |
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
32 sha256:c2c73d8dbeb29a96459d8622e3bac2e97cf6f74ed0564469486fe7ffe0ef3d97 |
33 sha256:f83c5cce9c09e5c05527279b7fe1565b32e5353342ff30b24f594fa2e5a7e003 |
33 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
34 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
34 COMPONENT_PROJECT_URL= https://github.com/stackforge/sqlalchemy-migrate |
35 COMPONENT_PROJECT_URL= https://github.com/stackforge/sqlalchemy-migrate |
35 COMPONENT_BUGDB= python-mod/sqlalchemy-mig |
36 COMPONENT_BUGDB= python-mod/sqlalchemy-mig |
36 |
37 |
37 TPNO= 25760 |
38 TPNO= 29239 |
38 |
39 |
39 # Syntax issues: not Python 3 ready. |
40 # Syntax issues: not Python 3 ready. |
40 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
41 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
41 |
42 |
42 include $(WS_MAKE_RULES)/prep.mk |
43 include $(WS_MAKE_RULES)/prep.mk |
44 include $(WS_MAKE_RULES)/ips.mk |
45 include $(WS_MAKE_RULES)/ips.mk |
45 |
46 |
46 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
47 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
47 |
48 |
48 COMPONENT_POST_INSTALL_ACTION += \ |
49 COMPONENT_POST_INSTALL_ACTION += \ |
49 (cd $(PROTO_DIR)/usr/bin ; \ |
50 (cd $(PROTO_DIR)/usr/bin ; \ |
50 $(MV) -f migrate migrate-$(PYTHON_VERSION) ; \ |
51 $(MV) -f migrate migrate-$(PYTHON_VERSION) ; \ |
51 $(MV) -f migrate-repository migrate-repository-$(PYTHON_VERSION)) |
52 $(MV) -f migrate-repository migrate-repository-$(PYTHON_VERSION)) |
52 |
53 |
53 # common targets |
54 # common targets |
54 build: $(BUILD_NO_ARCH) |
55 build: $(BUILD_NO_ARCH) |
55 |
56 |
56 install: $(INSTALL_NO_ARCH) |
57 install: $(INSTALL_NO_ARCH) |
66 |
67 |
67 REQUIRED_PACKAGES += library/python/decorator-27 |
68 REQUIRED_PACKAGES += library/python/decorator-27 |
68 REQUIRED_PACKAGES += library/python/setuptools-27 |
69 REQUIRED_PACKAGES += library/python/setuptools-27 |
69 REQUIRED_PACKAGES += library/python/six-27 |
70 REQUIRED_PACKAGES += library/python/six-27 |
70 REQUIRED_PACKAGES += library/python/sqlalchemy-27 |
71 REQUIRED_PACKAGES += library/python/sqlalchemy-27 |
|
72 REQUIRED_PACKAGES += library/python/sqlparse-27 |