[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-testing/files/, profiles/, dev-python/flask-testing/
commit: dabeaaae0d1b2fd91c90f05a70ff79cb19ca7825 Author: Michał Górny gentoo org> AuthorDate: Sun Nov 11 12:00:39 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 11 12:03:26 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dabeaaae dev-python/flask-testing: Remove last-rited pkg Closes: https://bugs.gentoo.org/285169 Signed-off-by: Michał Górny gentoo.org> dev-python/flask-testing/Manifest | 2 -- .../flask-testing/files/0.4.2-test-fix.patch | 17 - .../flask-testing/flask-testing-0.4.2.ebuild | 35 --- .../flask-testing/flask-testing-0.6.2.ebuild | 40 -- dev-python/flask-testing/metadata.xml | 13 --- profiles/package.mask | 1 - 6 files changed, 108 deletions(-) diff --git a/dev-python/flask-testing/Manifest b/dev-python/flask-testing/Manifest deleted file mode 100644 index 1be39ac997e..000 --- a/dev-python/flask-testing/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST Flask-Testing-0.4.2.tar.gz 40994 BLAKE2B a3d5d5d50598586afde1d4b0f6452919db5c84ed1615ca2b83312f24d04835abd8552bb0d7b3f8c6e03a8664bbd49cf157bc7c2ec935bd6143bfab4584dd4981 SHA512 57f1a58f352637b6c1d4dc5aa8b3cac215eae334f355d40b6c777f9c5a769c745ce11f2a98818669ec2c29fc170fd86fe4670bb66bd4e4607174b21c5c2067e3 -DIST Flask-Testing-0.6.2.tar.gz 129078 BLAKE2B 099444b21d68a23816edcb7ad55d03080017839ea57334f6a4fc63ab3c3ed9b09ef5989b112fdd41a3180f37a70a3481986068d6e7c8304c1bf8fa01ecd6c277 SHA512 1ce6a32f2c4e2d6d39c0bd2f01b8d20e2ee8faa5cb31d308bbcda2159f8307cc42f445e328a3752c3c3c66f4fffef75b400c70954b1aeb1aabab8a54c565b5ce diff --git a/dev-python/flask-testing/files/0.4.2-test-fix.patch b/dev-python/flask-testing/files/0.4.2-test-fix.patch deleted file mode 100644 index a0933e475af..000 --- a/dev-python/flask-testing/files/0.4.2-test-fix.patch +++ /dev/null @@ -1,17 +0,0 @@ -https://github.com/jarus/flask-testing/commit/c969b41b31f60a5a8bacd44b3eb63d1642f2d8bf -diff --git a/flask_testing/utils.py b/flask_testing/utils.py -index add12ef..9b479df 100644 a/flask_testing/utils.py -+++ b/flask_testing/utils.py -@@ -143,8 +143,8 @@ def _post_teardown(self): - - if _is_signals: - template_rendered.disconnect(self._add_template) --if hasattr(self, '_true_render'): --templating._render = self._true_render -+if hasattr(self, '_original_template_render'): -+templating._render = self._original_template_render - - if self.run_gc_after_test: - gc.collect() - diff --git a/dev-python/flask-testing/flask-testing-0.4.2.ebuild b/dev-python/flask-testing/flask-testing-0.4.2.ebuild deleted file mode 100644 index 87258db25a4..000 --- a/dev-python/flask-testing/flask-testing-0.4.2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) - -inherit distutils-r1 - -MY_PN="Flask-Testing" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Unit testing for Flask" -HOMEPAGE="https://pythonhosted.org/Flask-Testing/ https://pypi.org/project/Flask-Testing/; -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" - -RDEPEND="dev-python/flask[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/twill[${PYTHON_USEDEP}]' python2_7)" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - ${RDEPEND} - dev-python/blinker[${PYTHON_USEDEP}] - )" -S="${WORKDIR}/${MY_P}" - -PATCHES=( "${FILESDIR}"/${PV}-test-fix.patch ) - -python_test() { - esetup.py test -} diff --git a/dev-python/flask-testing/flask-testing-0.6.2.ebuild b/dev-python/flask-testing/flask-testing-0.6.2.ebuild deleted file mode 100644 index a171d435447..000 --- a/dev-python/flask-testing/flask-testing-0.6.2.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) - -inherit distutils-r1 - -MY_PN="Flask-Testing" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Unit testing for Flask" -HOMEPAGE="https://pythonhosted.org/Flask-Testing/ https://pypi.org/project/Flask-Testing/; -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="test" - -RDEPEND="dev-python/flask[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/twill[${PYTHON_USEDEP}]' 'python2*')" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/blinker[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${MY_P}" - -python_test() { - local exclude - if
[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-testing/
commit: 596d322b746210ce135e44144704e9926cf90ae2 Author: Jason Zaman gentoo org> AuthorDate: Sun Jun 24 14:08:12 2018 + Commit: Jason Zaman gentoo org> CommitDate: Sun Jun 24 14:08:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=596d322b dev-python/flask-testing: amd64 stable Gentoo-bug: 658946 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/flask-testing/flask-testing-0.6.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/flask-testing/flask-testing-0.6.2.ebuild b/dev-python/flask-testing/flask-testing-0.6.2.ebuild index 8f66de92a31..a171d435447 100644 --- a/dev-python/flask-testing/flask-testing-0.6.2.ebuild +++ b/dev-python/flask-testing/flask-testing-0.6.2.ebuild @@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="test" RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-testing/
commit: 1130fff3804d280156ca267cdeb47b742090df32 Author: Pacho Ramos gentoo org> AuthorDate: Sun Jun 24 11:28:48 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jun 24 11:31:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1130fff3 dev-python/flask-testing: Support python3.6 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-python/flask-testing/flask-testing-0.6.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/flask-testing/flask-testing-0.6.2.ebuild b/dev-python/flask-testing/flask-testing-0.6.2.ebuild index 4b29fd37608..8f66de92a31 100644 --- a/dev-python/flask-testing/flask-testing-0.6.2.ebuild +++ b/dev-python/flask-testing/flask-testing-0.6.2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-testing/
commit: 2d4d6836af1543c9b287c4198fae4545d225568e Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Apr 27 13:33:44 2018 + Commit: Michał Górny gentoo org> CommitDate: Sun Apr 29 07:35:22 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d4d6836 dev-python/flask-testing: use HTTPS dev-python/flask-testing/flask-testing-0.4.2.ebuild | 4 ++-- dev-python/flask-testing/flask-testing-0.6.2.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/flask-testing/flask-testing-0.4.2.ebuild b/dev-python/flask-testing/flask-testing-0.4.2.ebuild index 17224a7a0b9..87258db25a4 100644 --- a/dev-python/flask-testing/flask-testing-0.4.2.ebuild +++ b/dev-python/flask-testing/flask-testing-0.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ MY_PN="Flask-Testing" MY_P="${MY_PN}-${PV}" DESCRIPTION="Unit testing for Flask" -HOMEPAGE="http://pythonhosted.org/Flask-Testing/ https://pypi.org/project/Flask-Testing/; +HOMEPAGE="https://pythonhosted.org/Flask-Testing/ https://pypi.org/project/Flask-Testing/; SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="BSD" diff --git a/dev-python/flask-testing/flask-testing-0.6.2.ebuild b/dev-python/flask-testing/flask-testing-0.6.2.ebuild index f37b1dc10c3..4b29fd37608 100644 --- a/dev-python/flask-testing/flask-testing-0.6.2.ebuild +++ b/dev-python/flask-testing/flask-testing-0.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ MY_PN="Flask-Testing" MY_P="${MY_PN}-${PV}" DESCRIPTION="Unit testing for Flask" -HOMEPAGE="http://pythonhosted.org/Flask-Testing/ https://pypi.org/project/Flask-Testing/; +HOMEPAGE="https://pythonhosted.org/Flask-Testing/ https://pypi.org/project/Flask-Testing/; SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" LICENSE="BSD"
[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-testing/
commit: b56d949615cfc31be8ee270e38208dac342d0150 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 3 22:30:23 2018 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 3 23:35:15 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56d9496 dev-python/flask-testing: Clean old up dev-python/flask-testing/Manifest | 1 - .../flask-testing/flask-testing-0.6.1.ebuild | 40 -- 2 files changed, 41 deletions(-) diff --git a/dev-python/flask-testing/Manifest b/dev-python/flask-testing/Manifest index 7aa5a0479ff..1be39ac997e 100644 --- a/dev-python/flask-testing/Manifest +++ b/dev-python/flask-testing/Manifest @@ -1,3 +1,2 @@ DIST Flask-Testing-0.4.2.tar.gz 40994 BLAKE2B a3d5d5d50598586afde1d4b0f6452919db5c84ed1615ca2b83312f24d04835abd8552bb0d7b3f8c6e03a8664bbd49cf157bc7c2ec935bd6143bfab4584dd4981 SHA512 57f1a58f352637b6c1d4dc5aa8b3cac215eae334f355d40b6c777f9c5a769c745ce11f2a98818669ec2c29fc170fd86fe4670bb66bd4e4607174b21c5c2067e3 -DIST Flask-Testing-0.6.1.tar.gz 42541 BLAKE2B 25eeb05335bf497a360f5df12be57d9776e132ae8cf9f6542d0b192083e9cf940de45cadd845e089f8eb54566ac74a41c4103b4784c35cde7480909c202295e1 SHA512 f7a0a89885693f568e8e03a9ae689add3b9577517faa6b842bb6b990a2be447ecb9ccf693dd5279ca98dfcc8b18e2041fccf0cf36c28cea5fdc0dbdc9b64f065 DIST Flask-Testing-0.6.2.tar.gz 129078 BLAKE2B 099444b21d68a23816edcb7ad55d03080017839ea57334f6a4fc63ab3c3ed9b09ef5989b112fdd41a3180f37a70a3481986068d6e7c8304c1bf8fa01ecd6c277 SHA512 1ce6a32f2c4e2d6d39c0bd2f01b8d20e2ee8faa5cb31d308bbcda2159f8307cc42f445e328a3752c3c3c66f4fffef75b400c70954b1aeb1aabab8a54c565b5ce diff --git a/dev-python/flask-testing/flask-testing-0.6.1.ebuild b/dev-python/flask-testing/flask-testing-0.6.1.ebuild deleted file mode 100644 index ef29e92c1d8..000 --- a/dev-python/flask-testing/flask-testing-0.6.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) - -inherit distutils-r1 - -MY_PN="Flask-Testing" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="Unit testing for Flask" -HOMEPAGE="http://pythonhosted.org/Flask-Testing/ https://pypi.python.org/pypi/Flask-Testing/; -SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND="dev-python/flask[${PYTHON_USEDEP}] - $(python_gen_cond_dep 'dev-python/twill[${PYTHON_USEDEP}]' 'python2*')" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - dev-python/blinker[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] - )" - -S="${WORKDIR}/${MY_P}" - -python_test() { - local exclude - if $(python_is_python3); then - # Twill is not available on python-3 - exclude="-e twill" - fi - # test phase appears to run only py2.7 but if it passes for py2.7 is passes for pypy - nosetests ${exclude} || die "Testing failed with ${EPYTHON}" -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-testing/
commit: bd5a9bd411e3ba401ce196a2daca365ba8e5d8bf Author: Patrick Lauer gentoo org> AuthorDate: Sat Sep 16 14:22:19 2017 + Commit: Patrick Lauer gentoo org> CommitDate: Sat Sep 16 14:23:02 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5a9bd4 dev-python/flask-testing: Bump Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-python/flask-testing/Manifest | 1 + .../flask-testing/flask-testing-0.6.2.ebuild | 40 ++ 2 files changed, 41 insertions(+) diff --git a/dev-python/flask-testing/Manifest b/dev-python/flask-testing/Manifest index 5206e21a84f..6d7f79c1771 100644 --- a/dev-python/flask-testing/Manifest +++ b/dev-python/flask-testing/Manifest @@ -1,2 +1,3 @@ DIST Flask-Testing-0.4.2.tar.gz 40994 SHA256 921c7c653e0d511ed87fbf70d984e27afea8dfa7e10b358689863d7a63e05321 SHA512 57f1a58f352637b6c1d4dc5aa8b3cac215eae334f355d40b6c777f9c5a769c745ce11f2a98818669ec2c29fc170fd86fe4670bb66bd4e4607174b21c5c2067e3 WHIRLPOOL a1fc0723660c25cb18ea5eb4c283c79eb379f2d8cee1bf8fda6ed8b10391cdf0080fa3e2e1ce6cdc50845548a5d9be3f4b20ef267c1350a14049adfbdcfa8e20 DIST Flask-Testing-0.6.1.tar.gz 42541 SHA256 abf539332c013aee5301cbb720d2c6a78bb69fe9bcf854697b6f62f1e7f175b2 SHA512 f7a0a89885693f568e8e03a9ae689add3b9577517faa6b842bb6b990a2be447ecb9ccf693dd5279ca98dfcc8b18e2041fccf0cf36c28cea5fdc0dbdc9b64f065 WHIRLPOOL 456c7c834f3ed9806fd830f64873f43ac6707cdc195ac2e4c7ae9083987b967a8e2bc0250df1a5247f5512483b39272bf3a3bc53642180990b6269a619eb8b12 +DIST Flask-Testing-0.6.2.tar.gz 129078 SHA256 f25effd266fce9b16482f4ce3423d5a7d25534aab77bc83caace5d9637bf0df0 SHA512 1ce6a32f2c4e2d6d39c0bd2f01b8d20e2ee8faa5cb31d308bbcda2159f8307cc42f445e328a3752c3c3c66f4fffef75b400c70954b1aeb1aabab8a54c565b5ce WHIRLPOOL 3cdba18893defeac5728fdb6fed82555769cd93809fef873083876dceb75474133b2a58d3e8d0226b9ffaa13b939c9820a3b64a78768e8278e28ed9d940cf25d diff --git a/dev-python/flask-testing/flask-testing-0.6.2.ebuild b/dev-python/flask-testing/flask-testing-0.6.2.ebuild new file mode 100644 index 000..29041a15206 --- /dev/null +++ b/dev-python/flask-testing/flask-testing-0.6.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-Testing" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Unit testing for Flask" +HOMEPAGE="http://pythonhosted.org/Flask-Testing/ https://pypi.python.org/pypi/Flask-Testing/; +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/flask[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/twill[${PYTHON_USEDEP}]' 'python2*')" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" + +python_test() { + local exclude + if $(python_is_python3); then + # Twill is not available on python-3 + exclude="-e twill" + fi + # test phase appears to run only py2.7 but if it passes for py2.7 is passes for pypy + nosetests ${exclude} || die "Testing failed with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-testing/
commit: 87ee865324c93a060ef7297e3550245a4bfaec32 Author: Tiziano Müller gentoo org> AuthorDate: Tue Sep 13 12:40:43 2016 + Commit: Tiziano Müller gentoo org> CommitDate: Tue Sep 13 12:53:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ee8653 dev-python/flask-testing: version bump (including EAPI bump and py-3.5 support) Package-Manager: portage-2.3.0 dev-python/flask-testing/Manifest | 1 + .../flask-testing/flask-testing-0.6.1.ebuild | 41 ++ 2 files changed, 42 insertions(+) diff --git a/dev-python/flask-testing/Manifest b/dev-python/flask-testing/Manifest index 338d697..353a224 100644 --- a/dev-python/flask-testing/Manifest +++ b/dev-python/flask-testing/Manifest @@ -1,2 +1,3 @@ DIST Flask-Testing-0.4.1.tar.gz 39879 SHA256 d8c4d97d79de517a5d6e348bcc6aaccc45832827afa25ca15cdf8a5a16e543a2 SHA512 b7b71a40545aebed2616b5867951078930bc5d2ab6bf4bc259fab4f8d127ace3830f71bdb4a654c96bf5379bce49930c84e77486c8111b0645bfc515428592b0 WHIRLPOOL e3310b41b53da9847ad3143db30359af8a3eb515da42cc4ffc3068d681abb78a8d11302fb26d085197627aae7d7408175819a108dcf25fd2c0270e02ceaef9b7 DIST Flask-Testing-0.4.2.tar.gz 40994 SHA256 921c7c653e0d511ed87fbf70d984e27afea8dfa7e10b358689863d7a63e05321 SHA512 57f1a58f352637b6c1d4dc5aa8b3cac215eae334f355d40b6c777f9c5a769c745ce11f2a98818669ec2c29fc170fd86fe4670bb66bd4e4607174b21c5c2067e3 WHIRLPOOL a1fc0723660c25cb18ea5eb4c283c79eb379f2d8cee1bf8fda6ed8b10391cdf0080fa3e2e1ce6cdc50845548a5d9be3f4b20ef267c1350a14049adfbdcfa8e20 +DIST Flask-Testing-0.6.1.tar.gz 42541 SHA256 abf539332c013aee5301cbb720d2c6a78bb69fe9bcf854697b6f62f1e7f175b2 SHA512 f7a0a89885693f568e8e03a9ae689add3b9577517faa6b842bb6b990a2be447ecb9ccf693dd5279ca98dfcc8b18e2041fccf0cf36c28cea5fdc0dbdc9b64f065 WHIRLPOOL 456c7c834f3ed9806fd830f64873f43ac6707cdc195ac2e4c7ae9083987b967a8e2bc0250df1a5247f5512483b39272bf3a3bc53642180990b6269a619eb8b12 diff --git a/dev-python/flask-testing/flask-testing-0.6.1.ebuild b/dev-python/flask-testing/flask-testing-0.6.1.ebuild new file mode 100644 index ..c0ab738 --- /dev/null +++ b/dev-python/flask-testing/flask-testing-0.6.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-Testing" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Unit testing for Flask" +HOMEPAGE="http://pythonhosted.org/Flask-Testing/ https://pypi.python.org/pypi/Flask-Testing/; +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/flask[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/twill[${PYTHON_USEDEP}]' 'python2*')" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" + +python_test() { + local exclude + if $(python_is_python3); then + # Twill is not available on python-3 + exclude="-e twill" + fi + # test phase appears to run only py2.7 but if it passes for py2.7 is passes for pypy + nosetests ${exclude} || die "Testing failed with ${EPYTHON}" +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-testing/
commit: f40039cf95bcf42ce489ecf43da0ffedcaa07b06 Author: Louis Sautier gmail com> AuthorDate: Sun Apr 17 18:29:36 2016 + Commit: Ian Delaney gentoo org> CommitDate: Mon Apr 18 09:06:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f40039cf dev-python/flask-testing: add Python 3 support, fix tests and dependencies Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1293 Signed-off-by: Ian Delaney gentoo.org> dev-python/flask-testing/flask-testing-0.4.2.ebuild | 13 ++--- dev-python/flask-testing/metadata.xml | 2 ++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/dev-python/flask-testing/flask-testing-0.4.2.ebuild b/dev-python/flask-testing/flask-testing-0.4.2.ebuild index c9c8d52..2584979 100644 --- a/dev-python/flask-testing/flask-testing-0.4.2.ebuild +++ b/dev-python/flask-testing/flask-testing-0.4.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 -PYTHON_COMPAT=( python2_7 pypy ) +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) inherit distutils-r1 @@ -20,18 +20,17 @@ KEYWORDS="amd64 x86" IUSE="test" RDEPEND="dev-python/flask[${PYTHON_USEDEP}] - dev-python/twill[${PYTHON_USEDEP}]" + $(python_gen_cond_dep 'dev-python/twill[${PYTHON_USEDEP}]' python2_7)" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}] test? ( + ${RDEPEND} dev-python/blinker[${PYTHON_USEDEP}] - dev-python/nose[${PYTHON_USEDEP}] )" S="${WORKDIR}/${MY_P}" PATCHES=( "${FILESDIR}"/${PV}-test-fix.patch ) python_test() { - # test phase appears to run only py2.7 but if it passes for py2.7 is passes for pypy - nosetests || die "Testing failed with ${EPYTHON}" + esetup.py test } diff --git a/dev-python/flask-testing/metadata.xml b/dev-python/flask-testing/metadata.xml index d2f55a2..186145b 100644 --- a/dev-python/flask-testing/metadata.xml +++ b/dev-python/flask-testing/metadata.xml @@ -7,5 +7,7 @@ Flask-Testing + jarus/flask-testing + https://github.com/jarus/flask-testing/issues