components/python/formencode/Makefile
changeset 6410 3ae42b2b5dad
parent 5682 94c0ca64c022
child 7687 1093e2a9adbd
equal deleted inserted replaced
6409:a57c61602ca6 6410:3ae42b2b5dad
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 include ../../../make-rules/shared-macros.mk
    25 include ../../../make-rules/shared-macros.mk
    26 
    26 
    27 COMPONENT_NAME=		FormEncode
    27 COMPONENT_NAME=		FormEncode
    28 COMPONENT_VERSION=	1.2.6
    28 COMPONENT_VERSION=	1.3.0
    29 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    29 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    30 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).zip
    30 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).zip
    31 COMPONENT_ARCHIVE_HASH=	\
    31 COMPONENT_ARCHIVE_HASH=	\
    32     sha256:70fc1d2cf8022b1cc7fcebb5d87cc984dde799e587f05c0a0fe509b374221b0c
    32     sha256:e6757280244a0d04e9cef51beeeafb4124087c27b7944c7d41341d0a30f7af78
    33 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    33 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    34 COMPONENT_PROJECT_URL=	http://www.formencode.org/en/latest/
    34 COMPONENT_PROJECT_URL=	http://www.formencode.org/en/latest/
    35 COMPONENT_BUGDB=	python-mod/formencode
    35 COMPONENT_BUGDB=	python-mod/formencode
    36 
    36 
    37 TPNO=			14503
    37 TPNO=			29210
    38 
       
    39 # Code explicitly checks for sys.version < '3.0'
       
    40 PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
       
    41 
    38 
    42 include $(WS_MAKE_RULES)/prep.mk
    39 include $(WS_MAKE_RULES)/prep.mk
    43 include $(WS_MAKE_RULES)/setup.py.mk
    40 include $(WS_MAKE_RULES)/setup.py.mk
    44 include $(WS_MAKE_RULES)/ips.mk
    41 include $(WS_MAKE_RULES)/ips.mk
    45 
    42 
    46 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    43 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    47 
       
    48 # Remove the trailing Control-M's from msgfmt.py otherwise pkgdepend bitchs.
       
    49 COMPONENT_PRE_BUILD_ACTION = \
       
    50 	$(GSED) -i -e 's/
       
    51 //g' $(SOURCE_DIR)/formencode/i18n/msgfmt.py
       
    52 
    44 
    53 # common targets
    45 # common targets
    54 build:		$(BUILD_NO_ARCH)
    46 build:		$(BUILD_NO_ARCH)
    55 
    47 
    56 install:	$(INSTALL_NO_ARCH)
    48 install:	$(INSTALL_NO_ARCH)
    60 # pytest-capturelog, pytest, cov-core, pyflakes 
    52 # pytest-capturelog, pytest, cov-core, pyflakes 
    61 # which haven't been integrated yet.
    53 # which haven't been integrated yet.
    62 test:		$(NO_TESTS)
    54 test:		$(NO_TESTS)
    63 
    55 
    64 system-test:    $(NO_TESTS)
    56 system-test:    $(NO_TESTS)
    65