diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-django.inc | 4 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-django_6.0.2.bb (renamed from meta-python/recipes-devtools/python/python3-django_6.0.1.bb) | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc index 589f6a5b85..4191d4384f 100644 --- a/meta-python/recipes-devtools/python/python3-django.inc +++ b/meta-python/recipes-devtools/python/python3-django.inc | |||
| @@ -43,6 +43,10 @@ do_install_ptest(){ | |||
| 43 | cp -r ${S}/tests ${D}${PTEST_PATH} | 43 | cp -r ${S}/tests ${D}${PTEST_PATH} |
| 44 | sed -i 's,/usr/bin/env python,/usr/bin/env python3,' ${D}${PTEST_PATH}/tests/runtests.py | 44 | sed -i 's,/usr/bin/env python,/usr/bin/env python3,' ${D}${PTEST_PATH}/tests/runtests.py |
| 45 | ln -sr ${D}${libdir}/python3.*/site-packages/django ${D}${PTEST_PATH}/django | 45 | ln -sr ${D}${libdir}/python3.*/site-packages/django ${D}${PTEST_PATH}/django |
| 46 | |||
| 47 | # make the top folder writable for all - django 6 creates a test db file in there | ||
| 48 | # with a test user | ||
| 49 | chmod 777 ${D}${PTEST_PATH}/tests | ||
| 46 | } | 50 | } |
| 47 | 51 | ||
| 48 | RDEPENDS:${PN}-ptest += " \ | 52 | RDEPENDS:${PN}-ptest += " \ |
diff --git a/meta-python/recipes-devtools/python/python3-django_6.0.1.bb b/meta-python/recipes-devtools/python/python3-django_6.0.2.bb index 9642a3c581..001abf48e8 100644 --- a/meta-python/recipes-devtools/python/python3-django_6.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-django_6.0.2.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | require python3-django.inc | 1 | require python3-django.inc |
| 2 | inherit python_setuptools_build_meta | 2 | inherit python_setuptools_build_meta |
| 3 | 3 | ||
| 4 | SRC_URI[sha256sum] = "ed76a7af4da21551573b3d9dfc1f53e20dd2e6c7d70a3adc93eedb6338130a5f" | 4 | SRC_URI[sha256sum] = "3046a53b0e40d4b676c3b774c73411d7184ae2745fe8ce5e45c0f33d3ddb71a7" |
| 5 | 5 | ||
| 6 | # Set DEFAULT_PREFERENCE so that the LTS version of django is built by | 6 | # Set DEFAULT_PREFERENCE so that the LTS version of django is built by |
| 7 | # default. To build the 6.x branch, | 7 | # default. To build the 6.x branch, |
