diff options
author | Ian Delaney <idella4@gentoo.org> | 2014-10-14 12:06:42 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2014-10-14 12:06:42 +0000 |
commit | 1b2536975b7b800ff34389e3c3d4353c2822a3ab (patch) | |
tree | 86dacfd669424c13d5f22fccb24d4eca0a3d6d31 /dev-python | |
parent | Drop old. (diff) | |
download | historical-1b2536975b7b800ff34389e3c3d4353c2822a3ab.tar.gz historical-1b2536975b7b800ff34389e3c3d4353c2822a3ab.tar.bz2 historical-1b2536975b7b800ff34389e3c3d4353c2822a3ab.zip |
bump; fix, upgrade and refine test phase
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/redis-py/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/redis-py/Manifest | 12 | ||||
-rw-r--r-- | dev-python/redis-py/redis-py-2.10.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/redis-py/redis-py-2.10.3.ebuild | 67 |
4 files changed, 83 insertions, 8 deletions
diff --git a/dev-python/redis-py/ChangeLog b/dev-python/redis-py/ChangeLog index 1cb311b50b4f..61ad41d7d1cf 100644 --- a/dev-python/redis-py/ChangeLog +++ b/dev-python/redis-py/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/redis-py # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/redis-py/ChangeLog,v 1.49 2014/10/14 06:39:44 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/redis-py/ChangeLog,v 1.50 2014/10/14 12:06:19 idella4 Exp $ + +*redis-py-2.10.3 (14 Oct 2014) + + 14 Oct 2014; Ian Delaney <idella4@gentoo.org> +redis-py-2.10.3.ebuild, + redis-py-2.10.1.ebuild: + bump; fix, upgrade and refine test phase 14 Oct 2014; Ian Delaney <idella4@gentoo.org> redis-py-2.10.1.ebuild: correction to deps, noted by Arfrever diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest index 5370aa331924..3acabcd2259b 100644 --- a/dev-python/redis-py/Manifest +++ b/dev-python/redis-py/Manifest @@ -2,17 +2,19 @@ Hash: SHA256 DIST redis-py-2.10.1.tar.gz 84143 SHA256 644aaf429e666d2254143a6a02f3b1cca2806d0cd52bb130c8f879d3c8259d62 SHA512 694a687e22654631fcf7b0b5884c2f3b3f804befe8080a1a27f08e212afe2f64c36921e025801d67bac1786b105f23565f52768f5b62ed1d18038be8dba9542c WHIRLPOOL e1b76cf47043d3d5317fc4352c9b52598af119a1501e4d6af1615181006afa658417002fdd8e206e6d5d5556df6dcbdd34a74b89918c513802793bd6ced4cccd +DIST redis-py-2.10.3.tar.gz 86532 SHA256 a4fb37b02860f6b1617f6469487471fd086dd2d38bbce640c2055862b9c4019c SHA512 a6dcb1160f91c444a6fd107761b2701e7d8ab2eed7b9fcc00e8f0bdcefe46c2a626611f36fe6bf520fe3cceeb509562609e6dba263e1508abe285a6eab73963c WHIRLPOOL 2b2fc577ff752f71675cade7c591442526dfbac07495d1cf61b14ac21371e76aec2d008531bb8729eb5e3f3ffd372d6c9bf9f7554e51f8076d2d79c07377d33e DIST redis-py-2.7.4.tar.gz 79715 SHA256 623c8d437401314f8ec92f03848638c79c757098b316f0ed40ec2deaad57e082 SHA512 9b8db28c77e9df7a243e510a4f66a021179ab8ff52cfed2cc1b18b20f167eeee138d59a868fc105a32993681551c53e98d45680c16313680e8b4f36b6defa3b9 WHIRLPOOL fa5c754dc83f7d8baea68e21e283435994380e3e7243fa9bdb74ce934f7adacc75a11c6312d4b642606aa817010abc23f8f2a7b9eac1e2c73e50e897085124ad DIST redis-py-2.9.1.tar.gz 62204 SHA256 af9747ec2727425b1b09252975e21502ee5a3d8d235c7f49869eb13e09ccf4e4 SHA512 6b4912acafb31c87a5bc47b0420834aa9d1eba57feb0bbacdea943b746fe2f24aee4c9f13e7b03ae4edc562043b22c370cc7f53e45be07c5408cfa9852f8ea38 WHIRLPOOL ae38ea63d605f8dd667d9fc548de972bf38d661ae6ef357070ebe7cba3b484febc45d6b7611916d8a1e262e6bbf4754257e727f41af8caa30597954a1fc20cf5 -EBUILD redis-py-2.10.1.ebuild 1978 SHA256 79ada6c2a503ceaedee5e33cbfd0e34d5d606f8c343e2067c7509d75e569d22c SHA512 7c024930cac092c7be192308bdd5d1647d785ab0b462a78f1dd38c3f1ed8ff46f90bdb68a8fcde2fc3400659c53c19edc3a31fe4e9aa7859a9130bd44386c824 WHIRLPOOL 6127554783ca226e561f7412c2593f083c85444318bb107b6b31cabec43a97d90a9b94dee55a64e11381e72eccabfc2422ac830d0de01f64fe124cd853aea6a5 +EBUILD redis-py-2.10.1.ebuild 1977 SHA256 e3d395f86c0c54a37de37e94de0842afc8b0460fb01e0ce4b2ae5ec4c3d4c387 SHA512 79f80944bd53672d27d992050d98260c36dd14b50004b0409895732f43f365d66d82f2fe3e315f2dbe4646b42dbc9dfb1cd2e3d3465cb25797c7797381f96fde WHIRLPOOL 04c81600197155b9ec3c99cf160b8d1a5e583dedbf958c71996b0445611ba57030347be99aba08be36e0651b3cf3a05b24891c4817da14b673390db1a307464e +EBUILD redis-py-2.10.3.ebuild 1575 SHA256 95eaac9cc9cf7edb49456265421c246feb344c3b83b0f3c05b5f5f0d6f5923bc SHA512 3ccd7a4be1632603cf45bbcde0b8e17060f3e82ed84780aa5ec897b5d5286c259f2487dd874cff9901cbcd5a3a7cd6f415415cae89c6d7984a50b7935ddb2174 WHIRLPOOL f2c7059a52e0ea985be58d38c399d64a32b06731804edbaba35d0f37d500d5678af97d7e6d8f9dbd4cb124a0280a47d930dbfa56999439fd9e84fe4d0d636efa EBUILD redis-py-2.7.4.ebuild 1727 SHA256 6bdd23a2d0fbe9523e426e126c32b80149b104f5b88fb02eb9560384d25448ed SHA512 6ee8391e276a75fb4837dcf8381861021bda0dde1d2ff4e7cb9c77aa28896f2dd97b8f051c5781cf568fc8ed54c6b45a38e88b9e02b67d8ebd1cc24c3b306926 WHIRLPOOL 6a2fb20d65ac84fb7cf9b8ec5c41ea601132b898fc3571af22b91ee53dda40ede1f570bf11f644502e164c29687279fb1baeae0b53aa17c28c42709e00cdaacc EBUILD redis-py-2.9.1.ebuild 1714 SHA256 576482b754ed421bf8114c6c130ffe355e9ebadf2435fcf854e83fa656242b7c SHA512 c6962527d265ba233e014ae87e0d474fbad947e6468dd9a088e5e3f8ff6b7593e2718c3a462a65b400cd7445b4e987bda36370fd3e2f5f8e8da959547d2994dd WHIRLPOOL d7fef43a3585c55fff3026c98009e94398043e70efa3233c1f93105e0731f501ca8632afb2849432ce81980756ce376f77fa79691c39270d972aa94cadf9866e -MISC ChangeLog 6616 SHA256 ec356f0d8020b11b5d0bb34722018ef61d34d23e8debfa3b7efb1ce0a30a474f SHA512 91ba5055fa0885dec401f29788b672acdf7ab2409f4de827ab20bedab1ab81ef2e2b3d3da7be8ff13bab1d10587720a3dc292bbcfacb2071d534f8fcb06cc319 WHIRLPOOL ac9a2b0f12cae668ce51396c44db167d950567c00ca1db377eacc298529b67934f1dc4e47ab8a7d52602c45733158475a077366758bda8db5185c98fa3d094fb +MISC ChangeLog 6791 SHA256 01ab5c08354d47499dc78177c24c9b50ba4c1e08a7039f4bcd39e93676569cb5 SHA512 08eb26b76e9a5217c72ce51201718934fd1c0cd48d3893e0eca514d1423e5b03514a5fb9d363d6bfe7eb714967582efebbd1a9aaf34726472dc7f57c92900158 WHIRLPOOL 1a5bcd78c596573b02f25dbeac78010ce9d1db97d9587de41eba37edb060f54248464f3ee089a50a6cdb10d7b1723254e8678622795f151c7c29f812da48815d MISC metadata.xml 233 SHA256 4bd1b6f493a0e22eed218abfb9305447fb0b91b68b97177e494587202690d474 SHA512 3667747aa121e58c82f1c6e1f617425c105a23b0c448aafff82cea74074cb6d309502c4cc5892c3daa6925e2c364a88d1f0a027333bbbaf9b35a764de17e9840 WHIRLPOOL 7faf147b4036cb7af89348d628cf7a4ed6e2cd2757868c53438af98c3a967505776c9fd4ef5372cd48b40fcc68cc33bc18e3001f0413cfe58ee9524fe56eb9aa -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iEYEAREIAAYFAlQ8xT4ACgkQso7CE7gHKw14/gCeNbLvqm2IYHUla/ei2Z6C4epQ -7Z8An3kYnGklUptDdrASQifQnRD/anYO -=2Ji2 +iEYEAREIAAYFAlQ9EckACgkQso7CE7gHKw14zwCfctdMGwx0BfJYgzuNTUI+arHk +CcYAoNh/jLRT+AAy/uk0XBHbQrSAVxu4 +=YBTW -----END PGP SIGNATURE----- diff --git a/dev-python/redis-py/redis-py-2.10.1.ebuild b/dev-python/redis-py/redis-py-2.10.1.ebuild index 773969a83eef..ad3cbdaf171b 100644 --- a/dev-python/redis-py/redis-py-2.10.1.ebuild +++ b/dev-python/redis-py/redis-py-2.10.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/redis-py/redis-py-2.10.1.ebuild,v 1.2 2014/10/14 06:39:44 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/redis-py/redis-py-2.10.1.ebuild,v 1.3 2014/10/14 12:06:19 idella4 Exp $ EAPI=5 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) @@ -47,7 +47,7 @@ python_compile() { } src_test() { -# local DISTUTILS_NO_PARALLEL_BUILD=1 + local DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test } diff --git a/dev-python/redis-py/redis-py-2.10.3.ebuild b/dev-python/redis-py/redis-py-2.10.3.ebuild new file mode 100644 index 000000000000..660227dd4caf --- /dev/null +++ b/dev-python/redis-py/redis-py-2.10.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/redis-py/redis-py-2.10.3.ebuild,v 1.1 2014/10/14 12:06:19 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +MY_PN="redis" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Python client for Redis key-value store" +HOMEPAGE="http://github.com/andymccurdy/redis-py" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-db/redis + >=dev-python/pytest-2.5.0[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + # Make sure that tests will be used from BUILD_DIR rather than cwd. + mv tests tests-hidden || die + + # Correct local import patch syntax + sed -e 's:from .conftest:from conftest:' \ + -i tests-hidden/{test_connection_pool.py,test_commands.py,test_encoding.py,test_pubsub.py} \ + || die + + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile + + if use test; then + cp -r tests-hidden "${BUILD_DIR}"/tests || die + fi +} + +src_test() { + # testsuite fails miserably under multiprocessing + local DISTUTILS_NO_PARALLEL_BUILD=1 + distutils-r1_src_test +} + +python_test() { + + local sock="${T}/redis.sock" + + "${EPREFIX}/usr/sbin/redis-server" - <<- EOF + daemonize yes + pidfile ${T}/redis.pid + unixsocket ${sock} + EOF + + PYTHONPATH="${S}:${S}/tests-hidden" + esetup.py test +} |