Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/factory_boy/
Date: Wed, 01 Jun 2022 11:17:35
Message-Id: 1654059764.a5574b48d01768ef21c5429655f7f9da4b24c69c.andrewammerlaan@gentoo
1 commit: a5574b48d01768ef21c5429655f7f9da4b24c69c
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Tue May 31 16:44:04 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 05:02:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5574b48
7
8 dev-python/factory_boy: remove mongoengine
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 dev-python/factory_boy/factory_boy-3.2.1.ebuild | 9 +++------
13 1 file changed, 3 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/factory_boy/factory_boy-3.2.1.ebuild b/dev-python/factory_boy/factory_boy-3.2.1.ebuild
16 index 358e05f2f..590f9a8b9 100644
17 --- a/dev-python/factory_boy/factory_boy-3.2.1.ebuild
18 +++ b/dev-python/factory_boy/factory_boy-3.2.1.ebuild
19 @@ -20,7 +20,6 @@ BDEPEND="
20 test? (
21 $(python_gen_impl_dep sqlite)
22 dev-python/django[${PYTHON_USEDEP}]
23 - dev-python/mongoengine[${PYTHON_USEDEP}]
24 dev-python/pillow[jpeg,${PYTHON_USEDEP}]
25 dev-python/sqlalchemy[${PYTHON_USEDEP}]
26 )
27 @@ -34,14 +33,12 @@ python_prepare_all() {
28 rm ChangeLog || die "remove failed"
29 cp docs/changelog.rst ChangeLog || die "copy failed"
30
31 - # Disable online tests
32 - sed -i \
33 - -e 's|tearDownClass|_&|' \
34 - -e 's|test_creation|_&|' \
35 - tests/test_mongoengine.py || die
36 + # depends on masked dev-python/mongoengine
37 + rm tests/test_mongoengine.py || die
38
39 distutils-r1_python_prepare_all
40 }
41
42 distutils_enable_tests --install unittest
43 +
44 distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-spelling