public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/factory_boy/
Date: Fri, 28 Aug 2020 15:26:23 +0000 (UTC)	[thread overview]
Message-ID: <1598628370.d4b9521b452de819d0ffed36165ac8dd418d709f.andrewammerlaan@gentoo> (raw)
Message-ID: <20200828152623.Ri7bOr5bKHXjzopP3MRCmeKKj2y0MlZkbUDzu9QDAW8@z> (raw)

commit:     d4b9521b452de819d0ffed36165ac8dd418d709f
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Aug 28 15:06:47 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Aug 28 15:26:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4b9521b

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 <AT> riseup.net>

 dev-python/factory_boy/Manifest                      |  1 +
 dev-python/factory_boy/factory_boy-2.12.0-r1.ebuild  |  2 +-
 ...ry_boy-2.12.0.ebuild => factory_boy-3.0.1.ebuild} | 20 ++++++++++----------
 3 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/dev-python/factory_boy/Manifest b/dev-python/factory_boy/Manifest
index 5516a43..17b2aaf 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 6c902da..500cc2c 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
similarity index 75%
rename from dev-python/factory_boy/factory_boy-2.12.0.ebuild
rename to dev-python/factory_boy/factory_boy-3.0.1.ebuild
index f911893..91f2687 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


             reply	other threads:[~2020-08-28 15:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-28 15:26 Andrew Ammerlaan [this message]
2020-08-28 15:26 ` [gentoo-commits] repo/proj/guru:master commit in: dev-python/factory_boy/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2022-06-01  5:03 [gentoo-commits] repo/proj/guru:dev " Anna Vyalkova
2022-05-30 23:04 Alessandro Barbieri
2022-05-30 23:04 Alessandro Barbieri
2022-03-17  1:42 Alessandro Barbieri
2021-06-14 23:09 Alessandro Barbieri
2021-05-05  7:32 Alessandro Barbieri
2021-04-14  9:05 Theo Anderson
2021-03-23  0:03 Alessandro Barbieri
2020-04-27 21:24 Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1598628370.d4b9521b452de819d0ffed36165ac8dd418d709f.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox