diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-07-09 07:48:04 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-07-09 07:48:04 +0000 |
commit | 9f80c0ce5c5b9f35a0f18030d3d2b28ca6016055 (patch) | |
tree | a896c907fb82bee3a8ee5a4d3d299e27a8ee6ce5 /dev-python/testify | |
parent | Add arm/m68k/mips/s390/sh love. (diff) | |
download | historical-9f80c0ce5c5b9f35a0f18030d3d2b28ca6016055.tar.gz historical-9f80c0ce5c5b9f35a0f18030d3d2b28ca6016055.tar.bz2 historical-9f80c0ce5c5b9f35a0f18030d3d2b28ca6016055.zip |
bump; extend corrections to local imports used in test files, add py3 support
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/testify')
-rw-r--r-- | dev-python/testify/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/testify/Manifest | 28 | ||||
-rw-r--r-- | dev-python/testify/testify-0.7.2.ebuild | 53 |
3 files changed, 69 insertions, 19 deletions
diff --git a/dev-python/testify/ChangeLog b/dev-python/testify/ChangeLog index 1cbd0cfd61e3..bdb04dcc8d32 100644 --- a/dev-python/testify/ChangeLog +++ b/dev-python/testify/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/testify # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testify/ChangeLog,v 1.22 2015/06/07 16:15:20 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/testify/ChangeLog,v 1.23 2015/07/09 07:47:28 idella4 Exp $ + +*testify-0.7.2 (09 Jul 2015) + + 09 Jul 2015; Ian Delaney <idella4@gentoo.org> +testify-0.7.2.ebuild: + bump; extend corrections to local imports used in test files, add py3 support 07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml: Add github to remote-id in metadata.xml diff --git a/dev-python/testify/Manifest b/dev-python/testify/Manifest index 6e4ed5f7343b..27c64a00ef4f 100644 --- a/dev-python/testify/Manifest +++ b/dev-python/testify/Manifest @@ -1,26 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 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 EBUILD testify-0.5.7.ebuild 1355 SHA256 adafb0ede8ee4d9eaa7dbae19fbeb69e653af975b9b1dec2aea3913c4abda7fc SHA512 07df2c06e109278e2c99c88d080ded618c7099d583fac32ea6b41179f4fb1817837f1212d6f54ad803eb895ef81a9e2d8213e549f7894ccd2a728e29fd42fe43 WHIRLPOOL d65eea1497ac46428c02d617b0bb4704df6b53e9ae57e9f8a881bd1ddec6618bd9b84701e7a3970bba4ac98befe37e257f2ae0423cecc47b912ed1b87cfcea46 -MISC ChangeLog 3341 SHA256 0b26de733d36bd3b0dd17a0b2c338260f0fb1efd0e4092f4750d600acc2697a0 SHA512 68944df2b9002fda31cfb5fc028fd300c1c7a0483b3281ec6195ef3ae4170813ddeadb4c750872c2077e177fef1075ca5522280509f257cb180404c3caa2ccd2 WHIRLPOOL b64d9865fc1d58be354cf46cc77f34a9e474d00db19c74922c99d086a5b57c14df853c61388d79c5d3164dd2a60016a3e439acdbb5b53fd6ded6c8e7482aa1f1 +EBUILD testify-0.7.2.ebuild 1640 SHA256 329ca9edbdbffd337be638f9ed07b7596d7026628fcc0a3306ba5e7bbe258a87 SHA512 75dfc74c35766327a3590b985cb067a6b4e26b839675e9ec6f7892ce1cc8d40afa13ab7c2a8da1ba4ecbf5f616559cfcc139fcef027b616bec6d10414d1c3125 WHIRLPOOL 24163f7c97d43eebc52ebf2bdd41a11c21a83d7881d3c45abe93fb4717e18ab3295fb52f70f225aac09132670fd3e48a55ff0ec685e4e646a575c407c02080b0 +MISC ChangeLog 3526 SHA256 a7af33c5b2fcf34ebae9a55c2f7bd175bca8d27bd7f929aeaa3a968f3fef0bf7 SHA512 7188c3077c9f8550408f24dfc6061f60681437e50ad9f809339649aea366d5827750544121a890fe96e7d7f4c1f7870458195e6194a02b3cf357560c4ab10260 WHIRLPOOL 6c425c310c502b51e9232f34d3a27517286c80b722415725ca3af74499b112d06452c8e21ab5200b2c76bf27a9ea37e8ffc7dda94ad392c52b063f51fe08bf78 MISC metadata.xml 289 SHA256 04f6fb135a884804e47a679382519f7151e8ab9baf8df98cf0f40263f53d2398 SHA512 182441bf93e79b4a1904868899881f8a100557b864f30e0c419739c60a886daddf12885970c14d920267ae3ff80014881f8e3fbf976bce8beb3c15450ba90372 WHIRLPOOL 51c3fd98778c3b7d515e2a5f6ea8ad39b264053737e856fd46b9a15e7745b1b64e252189d513aaf13e1bc3e99b81e067364e3c96ab4c2661dcd838d04ee3fb8c -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0 +Version: GnuPG v2.1 -iQJ8BAEBCgBmBQJVdG4ZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF -OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmipSsP/3Rly1EyaamZgXenJ0DCYdzl -VJqyXjIvfyZ9MkugYG49mbl6cNPTC4dfsR2aPepBSduqmDNWwbB0hhZ1eeqjf14f -lH2OUeonSfBZloh+sctcbIW1bhDVb5uq4bwUDLIs/eynZjiVt+QankRnDFD89XC8 -zPLT1WoT0TVBWGHmiM/sKx/1D+y2X9eczE4LK1BPX4FMMlBXS9PCM4s088/o6x93 -OOFf6ZTEvLdHZfqErmgbv+EBUIh0SRDKgRvO4mtC3yo4ymOQ0LxPW+dzufYrtGjg -OEw7uxro1NkZPGV6zVpRo1CIK59Cdt4YN+eypSB3KAvhOfgsnvnLOwuL57HbIXI5 -zPATwjnCi+PWibdbWCEWiYUrcqJqoqMgA+YKh4DqzYGUrM2aN6rq0N/tbiQ6GqZd -YVfMuAFbWoLPO7+wWqr0uGFZxt5o3QUgS3NrNG59/57T69wluS2rAv7PIQdP393j -Jivo0ugkKqtUGwLaNtrrrw5KO9kiwUtqixYrwWMdqgZqOtnFh/+GvJtIua7ZLO09 -rBVcab54JVlWhhum6MLSQtDoZKR0CtxQG9CQWKz/lXNlxzy3ot9yY+2mxEemLMeq -DwIyhpWMFnbJ0HJwLTNCAIQWreZdLpjO71tERSlhuNiwQ7ghYKULshNAfM6pKkOx -hmAstLWDylKGmWUnqdVB -=R+4X +iKYEAREIAGYFAlWeJxJfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl +bnBncC5maWZ0aGhvcnNlbWFuLm5ldDdDQUM1OUY0ODkzMERBREU1NUQ1RjJBRkIy +OEVDMjEzQjgwNzJCMEQACgkQso7CE7gHKw036QCgoLGITGwUfvAQvpm0ItleyID3 +V2YAmgMT6Yn+nl+tZx1Ndb1rJfbirrDv +=/fJC -----END PGP SIGNATURE----- diff --git a/dev-python/testify/testify-0.7.2.ebuild b/dev-python/testify/testify-0.7.2.ebuild new file mode 100644 index 000000000000..d1de6eb413db --- /dev/null +++ b/dev-python/testify/testify-0.7.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/testify/testify-0.7.2.ebuild,v 1.1 2015/07/09 07:47:28 idella4 Exp $ + +EAPI=5 + +# Still appears to not support >=py3.3 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="A more pythonic replacement for the unittest module and nose" +HOMEPAGE="https://github.com/Yelp/testify http://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 + + sed -e s':from .discovery:from discovery:' \ + -i test/test_runner_server_test.py || die + + sed -e s':from .test:from test:' \ + -i test/test_runner_server_test.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + einfo; einfo "Output reporting exceptions \"ImportError: No module named <module>\"" + 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 +} |