author | Stacy Yeh <stacy.yeh@oracle.com> |
Thu, 21 May 2015 13:48:49 -0700 | |
changeset 4339 | 6501cf9c29f9 |
parent 3817 | 30b42c38bbc4 |
child 4984 | 7145b15b7f0d |
permissions | -rw-r--r-- |
1607
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
# |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
# |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
# |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
18 |
# |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
20 |
# |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
21 |
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
1607
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
22 |
# |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
23 |
include ../../../make-rules/shared-macros.mk |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
24 |
|
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
25 |
COMPONENT_NAME= WebTest |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
26 |
COMPONENT_VERSION= 2.0.6 |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).zip |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_ARCHIVE_HASH= \ |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
30 |
sha256:cf74621cf8694fc89b7ac61e1aace02a649080f03ab6e43e256f32ca3a09d452 |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE_URL= $(call pypi_url) |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= https://pypi.python.org/pypi/WebTest |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_BUGDB= python-mod/webtest |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
34 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1909
diff
changeset
|
35 |
TPNO= 14503 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1909
diff
changeset
|
36 |
|
1909
0f03fb0ff75c
15819724 SUNBT7202228 python 3.4 (fix uninstallable packages)
John Beck <John.Beck@Oracle.COM>
parents:
1607
diff
changeset
|
37 |
# Depends on paste.deploy, which depends on paste, which is not Python 3 ready. |
0f03fb0ff75c
15819724 SUNBT7202228 python 3.4 (fix uninstallable packages)
John Beck <John.Beck@Oracle.COM>
parents:
1607
diff
changeset
|
38 |
PYTHON_VERSIONS= 2.7 2.6 |
0f03fb0ff75c
15819724 SUNBT7202228 python 3.4 (fix uninstallable packages)
John Beck <John.Beck@Oracle.COM>
parents:
1607
diff
changeset
|
39 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
40 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/setup.py.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/ips.mk |
1607
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
|
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
COMPONENT_TEST_DIR= $(SOURCE_DIR) |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
COMPONENT_TEST_ARGS= setup.py test |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
|
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
47 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
48 |
|
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
49 |
# common targets |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
50 |
build: $(BUILD_NO_ARCH) |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
|
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
install: $(INSTALL_NO_ARCH) |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
|
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
# Tests require beautifulsoup4, waitress, unittest2, pyquery, WSGIProxy2 |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
# and cssselect. |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
56 |
test: $(NO_TESTS) |
861db9bed008
PSARC 2013/352 pytest version 2.3.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
58 |
system-test: $(NO_TESTS) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
59 |