aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-08-28 17:06:47 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-08-28 17:26:10 +0200
commitd4b9521b452de819d0ffed36165ac8dd418d709f (patch)
tree787de8bddd58799849b575bfbbcb6ae86ed78d28 /dev-python/factory_boy
parentdev-python/faker: version bump, drop py3.6 (diff)
downloadguru-d4b9521b452de819d0ffed36165ac8dd418d709f.tar.gz
guru-d4b9521b452de819d0ffed36165ac8dd418d709f.tar.bz2
guru-d4b9521b452de819d0ffed36165ac8dd418d709f.zip
dev-python/factory_boy: version bump 3.0.1
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-python/factory_boy')
-rw-r--r--dev-python/factory_boy/Manifest1
-rw-r--r--dev-python/factory_boy/factory_boy-2.12.0-r1.ebuild2
-rw-r--r--dev-python/factory_boy/factory_boy-3.0.1.ebuild (renamed from dev-python/factory_boy/factory_boy-2.12.0.ebuild)20
3 files changed, 12 insertions, 11 deletions
diff --git a/dev-python/factory_boy/Manifest b/dev-python/factory_boy/Manifest
index 5516a4376..17b2aaf34 100644
--- a/dev-python/factory_boy/Manifest
+++ b/dev-python/factory_boy/Manifest
@@ -1 +1,2 @@
DIST factory_boy-2.12.0.tar.gz 142758 BLAKE2B ce5ebae106fd57ce5292ad4713e20e5a83a818675746dd3bb241ad3592da83975b87659547740a3cddb646795889605260ce24d6f1878994418eec35c9b7b8da SHA512 33236bc02d5331998bb210af498bea46fc9540e66af32db8fdab563193b7ae8870e7cc01c93c24a03ee23ba64bac6ca27a72bb51a264d1c7b6bf9b098c65d5d2
+DIST factory_boy-3.0.1.tar.gz 143652 BLAKE2B 38b21722e9fa5dc248342f7fb3f03126f05aefda052d6e65f7f932c68655aad108bbe0a7f2d643825f475b1ccd33406e1c1b4946413e5ae050a78ba5617decd4 SHA512 8e1611e04b40a14d333a33e0f3a938cdf43895fc0559618d06b9acec903829db59c62c34c01f3c8a79e7419bbe347147e1d6a0f106928a334eab505dd04b1890
diff --git a/dev-python/factory_boy/factory_boy-2.12.0-r1.ebuild b/dev-python/factory_boy/factory_boy-2.12.0-r1.ebuild
index 6c902da6f..500cc2cde 100644
--- a/dev-python/factory_boy/factory_boy-2.12.0-r1.ebuild
+++ b/dev-python/factory_boy/factory_boy-2.12.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI="7"
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
diff --git a/dev-python/factory_boy/factory_boy-2.12.0.ebuild b/dev-python/factory_boy/factory_boy-3.0.1.ebuild
index f91189398..91f2687ff 100644
--- a/dev-python/factory_boy/factory_boy-2.12.0.ebuild
+++ b/dev-python/factory_boy/factory_boy-3.0.1.ebuild
@@ -3,7 +3,7 @@
EAPI="7"
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
@@ -16,31 +16,31 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/faker[${PYTHON_USEDEP}]"
-DEPEND="
- ${RDEPEND}
+BDEPEND="
test? (
$(python_gen_impl_dep sqlite)
dev-python/django[${PYTHON_USEDEP}]
- dev-python/isort[${PYTHON_USEDEP}]
dev-python/mongoengine[${PYTHON_USEDEP}]
dev-python/pillow[jpeg,${PYTHON_USEDEP}]
dev-python/sqlalchemy[${PYTHON_USEDEP}]
)
+ doc? (
+ dev-python/factory_boy[${PYTHON_USEDEP}]
+ )
"
-# Disable tests which require running mongod
-PATCHES=( "${FILESDIR}/${PN}-2.11.1-test.patch" )
python_prepare_all() {
# Fix symbolic link QA
rm ChangeLog || die "remove failed"
cp docs/changelog.rst ChangeLog || die "copy failed"
+ # Disable online tests
+ sed -i -e 's:tearDownClass:_&:' \
+ -e 's:test_creation:_&:' \
+ tests/test_mongoengine.py || die
+
distutils-r1_python_prepare_all
}
-#python_test() {
-# "${EPYTHON}" -m unittest discover -v || die "tests failed with ${EPYTHON}"
-#}
-
distutils_enable_tests unittest
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme