Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/vcrpy/
Date: Tue, 30 May 2017 13:38:08
Message-Id: 1496151466.356e7c69b66c9a0a6807d82f8b678fe7a424c110.mrueg@gentoo
1 commit: 356e7c69b66c9a0a6807d82f8b678fe7a424c110
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 30 13:37:46 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Tue May 30 13:37:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=356e7c69
7
8 dev-python/vcrpy: Version bump to 1.11.1
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-python/vcrpy/Manifest | 1 +
13 dev-python/vcrpy/vcrpy-1.11.1.ebuild | 41 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/vcrpy/Manifest b/dev-python/vcrpy/Manifest
17 index 1e6205e7312..3700a285277 100644
18 --- a/dev-python/vcrpy/Manifest
19 +++ b/dev-python/vcrpy/Manifest
20 @@ -1,3 +1,4 @@
21 DIST vcrpy-1.10.3.tar.gz 61804 SHA256 b2c76736999d81d5321b94d997e3480ffbde8fe56d918eb2798d0e0545cb9f21 SHA512 976f3d9b58025ab5c3a8a666138fbbadccaf8612edea63ac4fbf307d55888eb688bf27dd0f24b0d2c5528c951ced533a52cf13c33bfb32d7e89f241ff508018d WHIRLPOOL 3ca8728d8347bd9ad41b84e27713322b1f567043ab2bcc1691aef985e8234a403147b688630a3915390d0f19d6119f268dadf3cd3ab8eb6b38e3acce40fe1a6b
22 DIST vcrpy-1.10.5.tar.gz 61656 SHA256 c70464484e036e6e9339df433bca813174e14828e42886622d416e2fcd63768a SHA512 9e643632b28b9dd53b35338eebec83f11aff3744416cfa5efbb2f3cd8674491a3c89270101a437a7290b2b4212390af16c1436f2342ebcba6a4d18965118a6c4 WHIRLPOOL 3d9534160545ed79f6dfb9dce9f87d4998b18d35d828aa99578ca38fa996dec9fa8b6cf9254aa8b11c979423efe4f9f2a4bcc23d538053edd642bc2284f4c5e2
23 DIST vcrpy-1.11.0.tar.gz 61029 SHA256 beb30de89c3618482ea76662b4135d48fef7417589df49c303b2e85db40c9705 SHA512 32db3ab3ba605792815ec1e4509f4ae7c6d6abff5cad82eb38e09b812628f58bdf04f1e09e22e66d926444a0808237d5df3c3955eb8567eb8f4d5e4684eda422 WHIRLPOOL 1a59cfd83cf7af1da555283bc7a8b122719ece036e1088811e7c667243cc31ea5b54bf103cc4f504b40fcce612f02a0c26e7d3b5136acf9f15cd916d8f88ba46
24 +DIST vcrpy-1.11.1.tar.gz 63122 SHA256 f434fe7e05d940d576ac850709ae57a738ba40e7f317076ea8d359ced5b32320 SHA512 d883b87d5b3017843dfc2e33241953ada27d50ffda4936ba4326a392acb9c7667474abd054d6e44b0208096cd96b68e87ec9780c0d6fab77369cc4e517617395 WHIRLPOOL 5bd432ea9e4b94f62a186ac986f1fa0647badb9afa0ce87d33fc4b4bc984edc1dce69e951ddad062792fcdfeeae9122ac090b546131c94969891a98a6bb1b7ce
25
26 diff --git a/dev-python/vcrpy/vcrpy-1.11.1.ebuild b/dev-python/vcrpy/vcrpy-1.11.1.ebuild
27 new file mode 100644
28 index 00000000000..b50e9d02784
29 --- /dev/null
30 +++ b/dev-python/vcrpy/vcrpy-1.11.1.ebuild
31 @@ -0,0 +1,41 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Automatically mock your HTTP interactions to simplify and speed up testing"
42 +HOMEPAGE="https://github.com/kevin1024/vcrpy"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +#SRC_URI="https://github.com/kevin1024/vcrpy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +IUSE="test"
50 +
51 +RDEPEND="
52 + >=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
53 + dev-python/pyyaml[${PYTHON_USEDEP}]
54 + dev-python/requests[${PYTHON_USEDEP}]
55 + >=dev-python/six-1.5[${PYTHON_USEDEP}]
56 + dev-python/urllib3[${PYTHON_USEDEP}]
57 + dev-python/wrapt[${PYTHON_USEDEP}]
58 + $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
59 + $(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' python2_7)
60 + $(python_gen_cond_dep 'dev-python/yarl[${PYTHON_USEDEP}]' python3*)
61 + "
62 +DEPEND="
63 + dev-python/setuptools[${PYTHON_USEDEP}]
64 + test? (
65 + ${RDEPEND}
66 + dev-python/pytest[${PYTHON_USEDEP}]
67 + dev-python/pytest-httpbin[${PYTHON_USEDEP}]
68 + )"
69 +
70 +python_test() {
71 + py.test -vv -x tests/unit || die
72 +}