Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 358632 Details for
Bug 484418
dev-python/south: plays with python wrapping internals (unnecessarily)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to the newest ebuild
south-0.8.1.ebuild.diff (text/plain), 1.87 KB, created by
Michał Górny
on 2013-09-14 08:38:51 UTC
(
hide
)
Description:
Patch to the newest ebuild
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2013-09-14 08:38:51 UTC
Size:
1.87 KB
patch
obsolete
>Index: south-0.8.1.ebuild >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/dev-python/south/south-0.8.1.ebuild,v >retrieving revision 1.2 >diff -u -B -r1.2 south-0.8.1.ebuild >--- south-0.8.1.ebuild 3 Jun 2013 04:22:41 -0000 1.2 >+++ south-0.8.1.ebuild 14 Sep 2013 08:35:54 -0000 >@@ -4,7 +4,7 @@ > > EAPI=5 > >-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) >+PYTHON_COMPAT=( python{2_6,2_7} ) > > inherit vcs-snapshot distutils-r1 > >@@ -20,7 +20,9 @@ > RDEPEND="dev-python/django[${PYTHON_USEDEP}]" > DEPEND="${RDEPEND} > dev-python/setuptools[${PYTHON_USEDEP}] >- doc? ( dev-python/sphinx dev-python/jinja ) >+ doc? ( >+ dev-python/jinja[${PYTHON_USEDEP}] >+ dev-python/sphinx[${PYTHON_USEDEP}] ) > test? ( dev-python/django[sqlite] )" > > # we are setting up the tests, but they fail >@@ -31,26 +33,22 @@ > > python_install_all() { > use doc && local HTML_DOCS=( docs/_build/html/. ) >-} >- >-python_compile() { >- distutils-r1_python_compile >- if use test; then >- cd "${BUILD_DIR}" >- django-admin.py startproject southtest || die "setting up test env failed" >- cd southtest >- sed -i \ >- -e "/^INSTALLED_APPS/a\ 'south'," \ >- -e 's/\(django.db.backends.\)/\1sqlite3/' \ >- -e "s/\(NAME': '\)/\1test.db/" \ >- southtest/settings.py || die "sed failed" >- echo "SKIP_SOUTH_TESTS=False" >> southtest/settings.py >- fi >+ distutils-r1_python_install_all > } > > python_test() { > # http://south.aeracode.org/ticket/1256 >- cd "${BUILD_DIR}/southtest" >+ cd "${BUILD_DIR}" || die >+ django-admin.py startproject southtest || die "setting up test env failed" >+ >+ cd southtest || die >+ sed -i \ >+ -e "/^INSTALLED_APPS/a\ 'south'," \ >+ -e 's/\(django.db.backends.\)/\1sqlite3/' \ >+ -e "s/\(NAME': '\)/\1test.db/" \ >+ -e '$a\SKIP_SOUTH_TESTS=False' \ >+ southtest/settings.py || die "test sed failed" >+ > "${EPYTHON}" manage.py test south || die "tests failed for ${EPYTHON}" > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 484418
: 358632