diff options
-rw-r--r-- | meta-python/recipes-devtools/python/python-werkzeug.inc | 47 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb | 50 |
2 files changed, 48 insertions, 49 deletions
diff --git a/meta-python/recipes-devtools/python/python-werkzeug.inc b/meta-python/recipes-devtools/python/python-werkzeug.inc deleted file mode 100644 index e4d3d38d76..0000000000 --- a/meta-python/recipes-devtools/python/python-werkzeug.inc +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | SUMMARY = "The Swiss Army knife of Python web development" | ||
2 | DESCRIPTION = "\ | ||
3 | Werkzeug started as simple collection of various utilities for WSGI \ | ||
4 | applications and has become one of the most advanced WSGI utility modules. \ | ||
5 | It includes a powerful debugger, full featured request and response objects, \ | ||
6 | HTTP utilities to handle entity tags, cache control headers, HTTP dates, \ | ||
7 | cookie handling, file uploads, a powerful URL routing system and a bunch \ | ||
8 | of community contributed addon modules." | ||
9 | HOMEPAGE = "http://werkzeug.pocoo.org/" | ||
10 | LICENSE = "BSD-3-Clause" | ||
11 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" | ||
12 | |||
13 | SRC_URI[md5sum] = "305f75c4a88c96dcdc5654bf2d01bc05" | ||
14 | SRC_URI[sha256sum] = "169ba8a33788476292d04186ab33b01d6add475033dfc07215e6d219cc077096" | ||
15 | |||
16 | PYPI_PACKAGE = "Werkzeug" | ||
17 | |||
18 | CLEANBROKEN = "1" | ||
19 | |||
20 | PACKAGES =+ "${PN}-tests" | ||
21 | FILES_${PN}-tests+= " \ | ||
22 | ${PYTHON_SITEPACKAGES_DIR}/werkzeug/test* \ | ||
23 | ${PYTHON_SITEPACKAGES_DIR}/werkzeug/__pycache__/test* \ | ||
24 | ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/test* \ | ||
25 | ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/__pycache__/test* \ | ||
26 | " | ||
27 | |||
28 | RDEPENDS_${PN} += " \ | ||
29 | ${PYTHON_PN}-datetime \ | ||
30 | ${PYTHON_PN}-difflib \ | ||
31 | ${PYTHON_PN}-email \ | ||
32 | ${PYTHON_PN}-html \ | ||
33 | ${PYTHON_PN}-io \ | ||
34 | ${PYTHON_PN}-json \ | ||
35 | ${PYTHON_PN}-netclient \ | ||
36 | ${PYTHON_PN}-netserver \ | ||
37 | ${PYTHON_PN}-numbers \ | ||
38 | ${PYTHON_PN}-pkgutil \ | ||
39 | ${PYTHON_PN}-pprint \ | ||
40 | ${PYTHON_PN}-threading \ | ||
41 | ${PYTHON_PN}-unixadmin \ | ||
42 | " | ||
43 | |||
44 | RDEPENDS_${PN}-tests = " \ | ||
45 | ${PN} \ | ||
46 | ${PYTHON_PN}-unittest \ | ||
47 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb b/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb index 145a1de0a1..3e4374ed4b 100644 --- a/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-werkzeug_1.0.0.bb | |||
@@ -1,4 +1,50 @@ | |||
1 | SUMMARY = "The Swiss Army knife of Python web development" | ||
2 | DESCRIPTION = "\ | ||
3 | Werkzeug started as simple collection of various utilities for WSGI \ | ||
4 | applications and has become one of the most advanced WSGI utility modules. \ | ||
5 | It includes a powerful debugger, full featured request and response objects, \ | ||
6 | HTTP utilities to handle entity tags, cache control headers, HTTP dates, \ | ||
7 | cookie handling, file uploads, a powerful URL routing system and a bunch \ | ||
8 | of community contributed addon modules." | ||
9 | HOMEPAGE = "http://werkzeug.pocoo.org/" | ||
10 | LICENSE = "BSD-3-Clause" | ||
11 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" | ||
12 | |||
13 | SRC_URI[md5sum] = "305f75c4a88c96dcdc5654bf2d01bc05" | ||
14 | SRC_URI[sha256sum] = "169ba8a33788476292d04186ab33b01d6add475033dfc07215e6d219cc077096" | ||
15 | |||
16 | PYPI_PACKAGE = "Werkzeug" | ||
17 | |||
1 | inherit pypi setuptools3 | 18 | inherit pypi setuptools3 |
2 | require python-werkzeug.inc | ||
3 | 19 | ||
4 | RDEPENDS_${PN} += "${PYTHON_PN}-misc" | 20 | CLEANBROKEN = "1" |
21 | |||
22 | PACKAGES =+ "${PN}-tests" | ||
23 | FILES_${PN}-tests+= " \ | ||
24 | ${PYTHON_SITEPACKAGES_DIR}/werkzeug/test* \ | ||
25 | ${PYTHON_SITEPACKAGES_DIR}/werkzeug/__pycache__/test* \ | ||
26 | ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/test* \ | ||
27 | ${PYTHON_SITEPACKAGES_DIR}/werkzeug/contrib/__pycache__/test* \ | ||
28 | " | ||
29 | |||
30 | RDEPENDS_${PN} += " \ | ||
31 | ${PYTHON_PN}-datetime \ | ||
32 | ${PYTHON_PN}-difflib \ | ||
33 | ${PYTHON_PN}-email \ | ||
34 | ${PYTHON_PN}-html \ | ||
35 | ${PYTHON_PN}-io \ | ||
36 | ${PYTHON_PN}-json \ | ||
37 | ${PYTHON_PN}-misc \ | ||
38 | ${PYTHON_PN}-netclient \ | ||
39 | ${PYTHON_PN}-netserver \ | ||
40 | ${PYTHON_PN}-numbers \ | ||
41 | ${PYTHON_PN}-pkgutil \ | ||
42 | ${PYTHON_PN}-pprint \ | ||
43 | ${PYTHON_PN}-threading \ | ||
44 | ${PYTHON_PN}-unixadmin \ | ||
45 | " | ||
46 | |||
47 | RDEPENDS_${PN}-tests = " \ | ||
48 | ${PN} \ | ||
49 | ${PYTHON_PN}-unittest \ | ||
50 | " | ||