18331082 Update pep8 to the latest version and hookup 'gmake test' s11-update
authorRich Burridge <rich.burridge@oracle.com>
Tue, 03 Feb 2015 12:52:16 -0800
branchs11-update
changeset 3723 1cc872b933c9
parent 3721 a9ac00dbc5d7
child 3734 24181f5eb463
18331082 Update pep8 to the latest version and hookup 'gmake test' 19913180 Update pep8 to the latest version 1.5.7
components/python/pep8/Makefile
components/python/pep8/pep8-PYVER.p5m
components/python/pep8/pep8.license
--- a/components/python/pep8/Makefile	Tue Feb 03 07:54:17 2015 -0800
+++ b/components/python/pep8/Makefile	Tue Feb 03 12:52:16 2015 -0800
@@ -20,22 +20,22 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		pep8
-COMPONENT_VERSION=	1.4.4
+COMPONENT_VERSION=	1.5.7
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_PROJECT_URL=  http://pypi.python.org/pypi/pep8
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
 COMPONENT_ARCHIVE_HASH=	\
-    sha256:a39adf83fdeab6072117087dd5b7daa8b6a5ec254730e1c4756f1d5687145258
+    sha256:15b42131b25f376165d195fe4e17b0a28311182aaf9330d5eb575bbeda5a6989
 COMPONENT_ARCHIVE_URL=	http://pypi.python.org/packages/source/p/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
 COMPONENT_BUGDB=	python-mod/pep8
 
-TPNO=			12771
+TPNO=			20014
 
 include $(WS_TOP)/make-rules/prep.mk
 include $(WS_TOP)/make-rules/setup.py.mk
@@ -57,12 +57,17 @@
 COMPONENT_POST_INSTALL_ACTION += \
 	(cd $(PROTO_DIR)/usr/bin ; $(MV) -f pep8 pep8-$(PYTHON_VERSION))
 
+COMPONENT_TEST_DIR =	$(SOURCE_DIR)
+COMPONENT_TEST_ARGS =	pep8.py --testsuite testsuite
+
+ASLR_MODE = $(ASLR_NOT_APPLICABLE)
+
 # common targets
 build:		$(BUILD_NO_ARCH)
 
 install:	$(INSTALL_NO_ARCH)
 
-test:		$(NO_TESTS)
+test:		$(TEST_NO_ARCH)
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
--- a/components/python/pep8/pep8-PYVER.p5m	Tue Feb 03 07:54:17 2015 -0800
+++ b/components/python/pep8/pep8-PYVER.p5m	Tue Feb 03 12:52:16 2015 -0800
@@ -43,11 +43,10 @@
 file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt
 file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/namespace_packages.txt
 file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe
-file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt
 file path=usr/lib/python$(PYVER)/vendor-packages/pep8-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
 file path=usr/lib/python$(PYVER)/vendor-packages/pep8.py \
-    pkg.depend.bypass-generate=.*/configparser.* \
-    pkg.depend.bypass-generate=.*/test_pep8.*
+    pkg.depend.bypass-generate=.*/[Cc]onfig[Pp]arser.* \
+    pkg.depend.bypass-generate=.*/testsuite.*
 license pep8.license license="expat license"
 
 # force the rename with an optional dependency on the old name
--- a/components/python/pep8/pep8.license	Tue Feb 03 07:54:17 2015 -0800
+++ b/components/python/pep8/pep8.license	Tue Feb 03 12:52:16 2015 -0800
@@ -1,4 +1,5 @@
-Copyright (C) 2006 Johann C. Rocholl <[email protected]>
+Copyright (C) 2006-2009 Johann C. Rocholl <[email protected]>
+Copyright (C) 2009-2014 Florent Xicluna <[email protected]>
 
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation files