[gentoo-commits] repo/gentoo:master commit in: dev-python/testify/
commit: ec78a98f35bd246ad5ea359bc720506e155e51aa Author: Michał Górny gentoo org> AuthorDate: Thu Feb 6 06:20:35 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 6 06:38:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec78a98f dev-python/testify: Remove py2 Signed-off-by: Michał Górny gentoo.org> dev-python/testify/testify-0.11.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/testify/testify-0.11.0.ebuild b/dev-python/testify/testify-0.11.0.ebuild index 58e313e75e0..f3bdc14470b 100644 --- a/dev-python/testify/testify-0.11.0.ebuild +++ b/dev-python/testify/testify-0.11.0.ebuild @@ -3,7 +3,7 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_6} ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 vcs-snapshot
[gentoo-commits] repo/gentoo:master commit in: dev-python/testify/
commit: 63e523a6a3edcaff14b00a8762d0486b4ae03033 Author: Pacho Ramos gentoo org> AuthorDate: Mon May 29 14:00:36 2017 + Commit: Pacho Ramos gentoo org> CommitDate: Mon May 29 16:32:23 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e523a6 dev-python/testify: Support newer python Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-python/testify/testify-0.11.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/testify/testify-0.11.0.ebuild b/dev-python/testify/testify-0.11.0.ebuild index 7601b5eac10..8887621f2c2 100644 --- a/dev-python/testify/testify-0.11.0.ebuild +++ b/dev-python/testify/testify-0.11.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit distutils-r1 vcs-snapshot
[gentoo-commits] repo/gentoo:master commit in: dev-python/testify/
commit: 32a98911dcd363450bda06cb1fcb6bee0ed118f9 Author: Michał Górny gentoo org> AuthorDate: Tue May 2 13:29:47 2017 + Commit: Michał Górny gentoo org> CommitDate: Tue May 2 14:01:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a98911 dev-python/testify: Clean old versions up dev-python/testify/Manifest | 5 dev-python/testify/testify-0.10.0.ebuild | 45 dev-python/testify/testify-0.5.7.ebuild | 44 --- dev-python/testify/testify-0.7.2.ebuild | 51 dev-python/testify/testify-0.8.0.ebuild | 45 dev-python/testify/testify-0.9.0.ebuild | 45 6 files changed, 235 deletions(-) diff --git a/dev-python/testify/Manifest b/dev-python/testify/Manifest index 8ff81f1829b..b6bebba23f6 100644 --- a/dev-python/testify/Manifest +++ b/dev-python/testify/Manifest @@ -1,6 +1 @@ -DIST testify-0.10.0.tar.gz 68155 SHA256 a0870944e21d52c6f15950cf4f2bcaad5a172882973ec9a99e53ddf1ab00274e SHA512 18e1b46c7a54493eac6f061baf428fe41b4a975766cdf37a2c08c9091356248a2aa62c50b1b602ba1d9890cf659e31a9f57f5da52edf3f304fa1052342addeac WHIRLPOOL 0090d4afaa72ad77b4c6fd9cce017c7e67e2404204cd0e2d8472f3f7839a67cd9fdfe8d90bcc96fa5aa67c8edf83ed851d50b31377385a0a044e93743ea6ad57 DIST testify-0.11.0.tar.gz 67914 SHA256 04880b44dd34494e498018bf7c0c79370b4f61bee048e2be76068d0a36ab1c82 SHA512 ed19a9b5cfa509b65bfa366aa8c5fb311f00a2996dca9b5028a7dfe8d7ad06ab88964dd7e7ea7aa31e183537d769bbd81eb6dbd7d57d7576b6ec8fca9b684dd0 WHIRLPOOL b855c87cda58b797c47221756580ff5e8db9ef4ebbc30f81bdb34582b2c57bfed49e6c94ee113efa7a83ad73721a0a18263d865ed7d03debf56b9c21a6be368a -DIST testify-0.5.7.tar.gz 166954 SHA256 153796d3b20b2d8554e52af26a8c891e6f02dfd6cc7be29f9241dad244cff044 SHA512 410ac412306c11bba992b882624fcacdbff00e2865cd986c560d8b50ea8dff0ead8603b18f40414d8dbbe1f3ab9426e0f61170dc450927f6d2282e389800ff21 WHIRLPOOL 2cc958efea71bd475c698cee36e4f1bdb7197c8cb54c38efbf66927d5abc60e769a8995ae7fb4107fab8b74e4b05afcaf16e5c0aec9db3471ddbd771bafa3adf -DIST testify-0.7.2.tar.gz 102858 SHA256 7c209530fbb67344fe8985012056116d7d8eadd6ff126f91c93aa19208fd3ec9 SHA512 4b470aabe1ada88ddaf89145c77dbc5c2d000c8e0fab431535c08b4ff05a04c12f215d4c05d678ba718fdf3295be74fef23041d01d3c05e0b9e2c43c5ab0ed1e WHIRLPOOL 37ff8d7068ba4569215e3df440186ef3149a5fde0e12ec5efefc5b666adf2958b11f4db18995b46536cbf504dadec48f00b5f38e524ae09eb815c8170b8cf669 -DIST testify-0.8.0.tar.gz 68996 SHA256 065cb852110547892d6f971b66795e71ee032a4bcc23decb984878b3ba402aaf SHA512 c3a198fbf9d58c817e6eeffbfba282571e87b952f4d473118b13ec9f1451f94309032bea62bdba866eff0932233cc29be4f7731a56db99fae8fa1e2b3f12ecfc WHIRLPOOL c9e8d80ed802b3effd9c63595f1d2557e314f5d358991a6384c1f91c242b15fbb25a931d8f40171f6d4099584743e7eebe3c15ff30f7c8595318a7e490806da2 -DIST testify-0.9.0.tar.gz 67397 SHA256 4c983d172ec1921f2fb0a7a1c15f99c1fad93d9fad3b677b3e7a4b150b3ab951 SHA512 b7601339416d44421e588fe98752d5abeff035d14414905a4be7a33cf6f530663151d5f18324e66b3623439a3b1f36c26f17d89514902058b715a42c313ad1b7 WHIRLPOOL 2a4eb3938d492a17bbc5cb7989a1ade60b770d86b3100a177cdc8a79f50e8d59ad46b0af3e35b1251af93f9112a284969ad652bd244dc19e1ef27e355308a210 diff --git a/dev-python/testify/testify-0.10.0.ebuild b/dev-python/testify/testify-0.10.0.ebuild deleted file mode 100644 index 7601b5eac10..000 --- a/dev-python/testify/testify-0.10.0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_4} ) - -inherit distutils-r1 vcs-snapshot - -DESCRIPTION="A more pythonic replacement for the unittest module and nose" -HOMEPAGE="https://github.com/Yelp/testify https://pypi.python.org/pypi/testify/; -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/mock[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] - >=dev-python/six-1.7.3[${PYTHON_USEDEP}]" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( ${RDEPEND} )" - -python_prepare_all() { - # Correct typo in setup.py - sed -e 's:mock,:mock:' -i setup.py || die - - # Correct use of local importing in pertinent test_ files - sed -e s':from .test:from test:' \ - -i test/test_runner_test.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - einfo; einfo "Output reporting exceptions \"ImportError: No module named \"" - einfo "are instances of exceptions expected to be raised, similar to xfails by nose"; einfo"" - for test in test/test_*_test.py; - do - "${PYTHON}" $test || die "test $test failed under ${EPYTHON}" - done
[gentoo-commits] repo/gentoo:master commit in: dev-python/testify/
commit: 51f8d841738c334e8c5f26b872581dfb05eca299 Author: Patrick Lauer gentoo org> AuthorDate: Tue Aug 9 10:50:56 2016 + Commit: Patrick Lauer gentoo org> CommitDate: Tue Aug 9 10:50:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51f8d841 dev-python/testify: Bump Package-Manager: portage-2.3.0 dev-python/testify/Manifest | 1 + dev-python/testify/testify-0.11.0.ebuild | 46 2 files changed, 47 insertions(+) diff --git a/dev-python/testify/Manifest b/dev-python/testify/Manifest index e6f627c..8ff81f1 100644 --- a/dev-python/testify/Manifest +++ b/dev-python/testify/Manifest @@ -1,4 +1,5 @@ DIST testify-0.10.0.tar.gz 68155 SHA256 a0870944e21d52c6f15950cf4f2bcaad5a172882973ec9a99e53ddf1ab00274e SHA512 18e1b46c7a54493eac6f061baf428fe41b4a975766cdf37a2c08c9091356248a2aa62c50b1b602ba1d9890cf659e31a9f57f5da52edf3f304fa1052342addeac WHIRLPOOL 0090d4afaa72ad77b4c6fd9cce017c7e67e2404204cd0e2d8472f3f7839a67cd9fdfe8d90bcc96fa5aa67c8edf83ed851d50b31377385a0a044e93743ea6ad57 +DIST testify-0.11.0.tar.gz 67914 SHA256 04880b44dd34494e498018bf7c0c79370b4f61bee048e2be76068d0a36ab1c82 SHA512 ed19a9b5cfa509b65bfa366aa8c5fb311f00a2996dca9b5028a7dfe8d7ad06ab88964dd7e7ea7aa31e183537d769bbd81eb6dbd7d57d7576b6ec8fca9b684dd0 WHIRLPOOL b855c87cda58b797c47221756580ff5e8db9ef4ebbc30f81bdb34582b2c57bfed49e6c94ee113efa7a83ad73721a0a18263d865ed7d03debf56b9c21a6be368a DIST testify-0.5.7.tar.gz 166954 SHA256 153796d3b20b2d8554e52af26a8c891e6f02dfd6cc7be29f9241dad244cff044 SHA512 410ac412306c11bba992b882624fcacdbff00e2865cd986c560d8b50ea8dff0ead8603b18f40414d8dbbe1f3ab9426e0f61170dc450927f6d2282e389800ff21 WHIRLPOOL 2cc958efea71bd475c698cee36e4f1bdb7197c8cb54c38efbf66927d5abc60e769a8995ae7fb4107fab8b74e4b05afcaf16e5c0aec9db3471ddbd771bafa3adf DIST testify-0.7.2.tar.gz 102858 SHA256 7c209530fbb67344fe8985012056116d7d8eadd6ff126f91c93aa19208fd3ec9 SHA512 4b470aabe1ada88ddaf89145c77dbc5c2d000c8e0fab431535c08b4ff05a04c12f215d4c05d678ba718fdf3295be74fef23041d01d3c05e0b9e2c43c5ab0ed1e WHIRLPOOL 37ff8d7068ba4569215e3df440186ef3149a5fde0e12ec5efefc5b666adf2958b11f4db18995b46536cbf504dadec48f00b5f38e524ae09eb815c8170b8cf669 DIST testify-0.8.0.tar.gz 68996 SHA256 065cb852110547892d6f971b66795e71ee032a4bcc23decb984878b3ba402aaf SHA512 c3a198fbf9d58c817e6eeffbfba282571e87b952f4d473118b13ec9f1451f94309032bea62bdba866eff0932233cc29be4f7731a56db99fae8fa1e2b3f12ecfc WHIRLPOOL c9e8d80ed802b3effd9c63595f1d2557e314f5d358991a6384c1f91c242b15fbb25a931d8f40171f6d4099584743e7eebe3c15ff30f7c8595318a7e490806da2 diff --git a/dev-python/testify/testify-0.11.0.ebuild b/dev-python/testify/testify-0.11.0.ebuild new file mode 100644 index 000..abd1101 --- /dev/null +++ b/dev-python/testify/testify-0.11.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="A more pythonic replacement for the unittest module and nose" +HOMEPAGE="https://github.com/Yelp/testify https://pypi.python.org/pypi/testify/; +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + >=dev-python/six-1.7.3[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +python_prepare_all() { + # Correct typo in setup.py + sed -e 's:mock,:mock:' -i setup.py || die + + # Correct use of local importing in pertinent test_ files + sed -e s':from .test:from test:' \ + -i test/test_runner_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + einfo; einfo "Output reporting exceptions \"ImportError: No module named \"" + einfo "are instances of exceptions expected to be raised, similar to xfails by nose"; einfo"" + for test in test/test_*_test.py; + do + "${PYTHON}" $test || die "test $test failed under ${EPYTHON}" + done +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/testify/
commit: a016ea886803d421f4b2bd2619736852fe802b19 Author: Patrick Lauer gentoo org> AuthorDate: Thu Jul 21 09:11:54 2016 + Commit: Patrick Lauer gentoo org> CommitDate: Thu Jul 21 13:12:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a016ea88 dev-python/testify: Bump Package-Manager: portage-2.3.0 dev-python/testify/Manifest | 1 + dev-python/testify/testify-0.10.0.ebuild | 46 2 files changed, 47 insertions(+) diff --git a/dev-python/testify/Manifest b/dev-python/testify/Manifest index 7787f0c..e6f627c 100644 --- a/dev-python/testify/Manifest +++ b/dev-python/testify/Manifest @@ -1,3 +1,4 @@ +DIST testify-0.10.0.tar.gz 68155 SHA256 a0870944e21d52c6f15950cf4f2bcaad5a172882973ec9a99e53ddf1ab00274e SHA512 18e1b46c7a54493eac6f061baf428fe41b4a975766cdf37a2c08c9091356248a2aa62c50b1b602ba1d9890cf659e31a9f57f5da52edf3f304fa1052342addeac WHIRLPOOL 0090d4afaa72ad77b4c6fd9cce017c7e67e2404204cd0e2d8472f3f7839a67cd9fdfe8d90bcc96fa5aa67c8edf83ed851d50b31377385a0a044e93743ea6ad57 DIST testify-0.5.7.tar.gz 166954 SHA256 153796d3b20b2d8554e52af26a8c891e6f02dfd6cc7be29f9241dad244cff044 SHA512 410ac412306c11bba992b882624fcacdbff00e2865cd986c560d8b50ea8dff0ead8603b18f40414d8dbbe1f3ab9426e0f61170dc450927f6d2282e389800ff21 WHIRLPOOL 2cc958efea71bd475c698cee36e4f1bdb7197c8cb54c38efbf66927d5abc60e769a8995ae7fb4107fab8b74e4b05afcaf16e5c0aec9db3471ddbd771bafa3adf DIST testify-0.7.2.tar.gz 102858 SHA256 7c209530fbb67344fe8985012056116d7d8eadd6ff126f91c93aa19208fd3ec9 SHA512 4b470aabe1ada88ddaf89145c77dbc5c2d000c8e0fab431535c08b4ff05a04c12f215d4c05d678ba718fdf3295be74fef23041d01d3c05e0b9e2c43c5ab0ed1e WHIRLPOOL 37ff8d7068ba4569215e3df440186ef3149a5fde0e12ec5efefc5b666adf2958b11f4db18995b46536cbf504dadec48f00b5f38e524ae09eb815c8170b8cf669 DIST testify-0.8.0.tar.gz 68996 SHA256 065cb852110547892d6f971b66795e71ee032a4bcc23decb984878b3ba402aaf SHA512 c3a198fbf9d58c817e6eeffbfba282571e87b952f4d473118b13ec9f1451f94309032bea62bdba866eff0932233cc29be4f7731a56db99fae8fa1e2b3f12ecfc WHIRLPOOL c9e8d80ed802b3effd9c63595f1d2557e314f5d358991a6384c1f91c242b15fbb25a931d8f40171f6d4099584743e7eebe3c15ff30f7c8595318a7e490806da2 diff --git a/dev-python/testify/testify-0.10.0.ebuild b/dev-python/testify/testify-0.10.0.ebuild new file mode 100644 index 000..abd1101 --- /dev/null +++ b/dev-python/testify/testify-0.10.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="A more pythonic replacement for the unittest module and nose" +HOMEPAGE="https://github.com/Yelp/testify https://pypi.python.org/pypi/testify/; +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + >=dev-python/six-1.7.3[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +python_prepare_all() { + # Correct typo in setup.py + sed -e 's:mock,:mock:' -i setup.py || die + + # Correct use of local importing in pertinent test_ files + sed -e s':from .test:from test:' \ + -i test/test_runner_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + einfo; einfo "Output reporting exceptions \"ImportError: No module named \"" + einfo "are instances of exceptions expected to be raised, similar to xfails by nose"; einfo"" + for test in test/test_*_test.py; + do + "${PYTHON}" $test || die "test $test failed under ${EPYTHON}" + done +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/testify/
commit: 35c3a079dafd7abfc0700f8560c20c209e98ab53 Author: Patrick Lauer gentoo org> AuthorDate: Wed Jun 29 17:47:39 2016 + Commit: Patrick Lauer gentoo org> CommitDate: Wed Jun 29 18:18:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c3a079 dev-python/testify: Bump Package-Manager: portage-2.3.0 dev-python/testify/Manifest | 1 + dev-python/testify/testify-0.9.0.ebuild | 46 + 2 files changed, 47 insertions(+) diff --git a/dev-python/testify/Manifest b/dev-python/testify/Manifest index 9107644..7787f0c 100644 --- a/dev-python/testify/Manifest +++ b/dev-python/testify/Manifest @@ -1,3 +1,4 @@ DIST testify-0.5.7.tar.gz 166954 SHA256 153796d3b20b2d8554e52af26a8c891e6f02dfd6cc7be29f9241dad244cff044 SHA512 410ac412306c11bba992b882624fcacdbff00e2865cd986c560d8b50ea8dff0ead8603b18f40414d8dbbe1f3ab9426e0f61170dc450927f6d2282e389800ff21 WHIRLPOOL 2cc958efea71bd475c698cee36e4f1bdb7197c8cb54c38efbf66927d5abc60e769a8995ae7fb4107fab8b74e4b05afcaf16e5c0aec9db3471ddbd771bafa3adf DIST testify-0.7.2.tar.gz 102858 SHA256 7c209530fbb67344fe8985012056116d7d8eadd6ff126f91c93aa19208fd3ec9 SHA512 4b470aabe1ada88ddaf89145c77dbc5c2d000c8e0fab431535c08b4ff05a04c12f215d4c05d678ba718fdf3295be74fef23041d01d3c05e0b9e2c43c5ab0ed1e WHIRLPOOL 37ff8d7068ba4569215e3df440186ef3149a5fde0e12ec5efefc5b666adf2958b11f4db18995b46536cbf504dadec48f00b5f38e524ae09eb815c8170b8cf669 DIST testify-0.8.0.tar.gz 68996 SHA256 065cb852110547892d6f971b66795e71ee032a4bcc23decb984878b3ba402aaf SHA512 c3a198fbf9d58c817e6eeffbfba282571e87b952f4d473118b13ec9f1451f94309032bea62bdba866eff0932233cc29be4f7731a56db99fae8fa1e2b3f12ecfc WHIRLPOOL c9e8d80ed802b3effd9c63595f1d2557e314f5d358991a6384c1f91c242b15fbb25a931d8f40171f6d4099584743e7eebe3c15ff30f7c8595318a7e490806da2 +DIST testify-0.9.0.tar.gz 67397 SHA256 4c983d172ec1921f2fb0a7a1c15f99c1fad93d9fad3b677b3e7a4b150b3ab951 SHA512 b7601339416d44421e588fe98752d5abeff035d14414905a4be7a33cf6f530663151d5f18324e66b3623439a3b1f36c26f17d89514902058b715a42c313ad1b7 WHIRLPOOL 2a4eb3938d492a17bbc5cb7989a1ade60b770d86b3100a177cdc8a79f50e8d59ad46b0af3e35b1251af93f9112a284969ad652bd244dc19e1ef27e355308a210 diff --git a/dev-python/testify/testify-0.9.0.ebuild b/dev-python/testify/testify-0.9.0.ebuild new file mode 100644 index 000..abd1101 --- /dev/null +++ b/dev-python/testify/testify-0.9.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="A more pythonic replacement for the unittest module and nose" +HOMEPAGE="https://github.com/Yelp/testify https://pypi.python.org/pypi/testify/; +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + >=dev-python/six-1.7.3[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +python_prepare_all() { + # Correct typo in setup.py + sed -e 's:mock,:mock:' -i setup.py || die + + # Correct use of local importing in pertinent test_ files + sed -e s':from .test:from test:' \ + -i test/test_runner_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + einfo; einfo "Output reporting exceptions \"ImportError: No module named \"" + einfo "are instances of exceptions expected to be raised, similar to xfails by nose"; einfo"" + for test in test/test_*_test.py; + do + "${PYTHON}" $test || die "test $test failed under ${EPYTHON}" + done +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/testify/
commit: 183c57f6f4d47dfbaa6c19b35d7d8bc9f63b6fd0 Author: Patrick Lauer gentoo org> AuthorDate: Wed Apr 20 08:23:55 2016 + Commit: Patrick Lauer gentoo org> CommitDate: Wed Apr 20 08:24:07 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183c57f6 dev-python/testify: Bump Package-Manager: portage-2.2.28 dev-python/testify/Manifest | 1 + dev-python/testify/testify-0.8.0.ebuild | 46 + 2 files changed, 47 insertions(+) diff --git a/dev-python/testify/Manifest b/dev-python/testify/Manifest index 884d8e0..9107644 100644 --- a/dev-python/testify/Manifest +++ b/dev-python/testify/Manifest @@ -1,2 +1,3 @@ DIST testify-0.5.7.tar.gz 166954 SHA256 153796d3b20b2d8554e52af26a8c891e6f02dfd6cc7be29f9241dad244cff044 SHA512 410ac412306c11bba992b882624fcacdbff00e2865cd986c560d8b50ea8dff0ead8603b18f40414d8dbbe1f3ab9426e0f61170dc450927f6d2282e389800ff21 WHIRLPOOL 2cc958efea71bd475c698cee36e4f1bdb7197c8cb54c38efbf66927d5abc60e769a8995ae7fb4107fab8b74e4b05afcaf16e5c0aec9db3471ddbd771bafa3adf DIST testify-0.7.2.tar.gz 102858 SHA256 7c209530fbb67344fe8985012056116d7d8eadd6ff126f91c93aa19208fd3ec9 SHA512 4b470aabe1ada88ddaf89145c77dbc5c2d000c8e0fab431535c08b4ff05a04c12f215d4c05d678ba718fdf3295be74fef23041d01d3c05e0b9e2c43c5ab0ed1e WHIRLPOOL 37ff8d7068ba4569215e3df440186ef3149a5fde0e12ec5efefc5b666adf2958b11f4db18995b46536cbf504dadec48f00b5f38e524ae09eb815c8170b8cf669 +DIST testify-0.8.0.tar.gz 68996 SHA256 065cb852110547892d6f971b66795e71ee032a4bcc23decb984878b3ba402aaf SHA512 c3a198fbf9d58c817e6eeffbfba282571e87b952f4d473118b13ec9f1451f94309032bea62bdba866eff0932233cc29be4f7731a56db99fae8fa1e2b3f12ecfc WHIRLPOOL c9e8d80ed802b3effd9c63595f1d2557e314f5d358991a6384c1f91c242b15fbb25a931d8f40171f6d4099584743e7eebe3c15ff30f7c8595318a7e490806da2 diff --git a/dev-python/testify/testify-0.8.0.ebuild b/dev-python/testify/testify-0.8.0.ebuild new file mode 100644 index 000..abd1101 --- /dev/null +++ b/dev-python/testify/testify-0.8.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="A more pythonic replacement for the unittest module and nose" +HOMEPAGE="https://github.com/Yelp/testify https://pypi.python.org/pypi/testify/; +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + >=dev-python/six-1.7.3[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +python_prepare_all() { + # Correct typo in setup.py + sed -e 's:mock,:mock:' -i setup.py || die + + # Correct use of local importing in pertinent test_ files + sed -e s':from .test:from test:' \ + -i test/test_runner_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + einfo; einfo "Output reporting exceptions \"ImportError: No module named \"" + einfo "are instances of exceptions expected to be raised, similar to xfails by nose"; einfo"" + for test in test/test_*_test.py; + do + "${PYTHON}" $test || die "test $test failed under ${EPYTHON}" + done +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/testify/
commit: 8c5f5918d88e93fc1584229cc20423911454c605 Author: Justin Lecher gentoo org> AuthorDate: Mon Jan 11 10:41:47 2016 + Commit: Justin Lecher gentoo org> CommitDate: Mon Jan 11 11:32:17 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c5f5918 dev-python/testify: Drop support for pypy due to missing support in deps Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> dev-python/testify/testify-0.5.7.ebuild | 4 ++-- dev-python/testify/testify-0.7.2.ebuild | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dev-python/testify/testify-0.5.7.ebuild b/dev-python/testify/testify-0.5.7.ebuild index 2c3ea36..8b988dd 100644 --- a/dev-python/testify/testify-0.5.7.ebuild +++ b/dev-python/testify/testify-0.5.7.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 # Still appears to no support >=py3.3 -PYTHON_COMPAT=( python2_7 pypy ) +PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 vcs-snapshot diff --git a/dev-python/testify/testify-0.7.2.ebuild b/dev-python/testify/testify-0.7.2.ebuild index 865e509..0414177 100644 --- a/dev-python/testify/testify-0.7.2.ebuild +++ b/dev-python/testify/testify-0.7.2.ebuild @@ -1,11 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -# Still appears to not support >=py3.3 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) inherit distutils-r1 vcs-snapshot