From: | "Alex Brandt (alunduil)" <alunduil@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/requests-mock: metadata.xml requests-mock-0.5.1.ebuild ChangeLog |
Date: | Sat, 27 Sep 2014 18:51:46 |
Message-Id: | 20140927185141.BCF5766F9@oystercatcher.gentoo.org |
1 | alunduil 14/09/27 18:51:41 |
2 | |
3 | Added: metadata.xml requests-mock-0.5.1.ebuild ChangeLog |
4 | Log: |
5 | add new ebuild for requests-mock |
6 | |
7 | Required as a dependency for the testing of packages involved with |
8 | dev-python/python-keystoneclient. |
9 | |
10 | (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 92FEA28B) |
11 | |
12 | Revision Changes Path |
13 | 1.1 dev-python/requests-mock/metadata.xml |
14 | |
15 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests-mock/metadata.xml?rev=1.1&view=markup |
16 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests-mock/metadata.xml?rev=1.1&content-type=text/plain |
17 | |
18 | Index: metadata.xml |
19 | =================================================================== |
20 | <?xml version="1.0" encoding="UTF-8"?> |
21 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
22 | <pkgmetadata> |
23 | <herd>python</herd> |
24 | <longdescription lang="en"> |
25 | </longdescription> |
26 | </pkgmetadata> |
27 | |
28 | |
29 | |
30 | 1.1 dev-python/requests-mock/requests-mock-0.5.1.ebuild |
31 | |
32 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests-mock/requests-mock-0.5.1.ebuild?rev=1.1&view=markup |
33 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests-mock/requests-mock-0.5.1.ebuild?rev=1.1&content-type=text/plain |
34 | |
35 | Index: requests-mock-0.5.1.ebuild |
36 | =================================================================== |
37 | # Copyright 1999-2014 Gentoo Foundation |
38 | # Distributed under the terms of the GNU General Public License v2 |
39 | # $Header: /var/cvsroot/gentoo-x86/dev-python/requests-mock/requests-mock-0.5.1.ebuild,v 1.1 2014/09/27 18:51:41 alunduil Exp $ |
40 | |
41 | EAPI=5 |
42 | PYTHON_COMPAT=( python2_7 python3_3 ) |
43 | |
44 | inherit distutils-r1 |
45 | |
46 | DESCRIPTION="Mock out responses from the requests package" |
47 | HOMEPAGE="https://github.com/jamielennox/requests-mock" |
48 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
49 | |
50 | LICENSE="Apache-2.0" |
51 | SLOT="0" |
52 | KEYWORDS="~amd64 ~x86" |
53 | IUSE="test" |
54 | |
55 | # NOTE: docs do not install due to pbr configuration issues |
56 | |
57 | DEPEND=" |
58 | dev-python/setuptools[${PYTHON_USEDEP}] |
59 | dev-python/pbr[${PYTHON_USEDEP}] |
60 | test? ( |
61 | dev-python/fixtures[${PYTHON_USEDEP}] |
62 | dev-python/mock[${PYTHON_USEDEP}] |
63 | >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
64 | dev-python/testtools[${PYTHON_USEDEP}] |
65 | ) |
66 | " |
67 | RDEPEND=" |
68 | dev-python/requests[${PYTHON_USEDEP}] |
69 | dev-python/six[${PYTHON_USEDEP}] |
70 | " |
71 | |
72 | python_test() { |
73 | rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}" |
74 | |
75 | testr init || die "testr init failed under ${EPYTHON}" |
76 | testr run || die "testr run failed under ${EPYTHON}" |
77 | } |
78 | |
79 | |
80 | |
81 | 1.1 dev-python/requests-mock/ChangeLog |
82 | |
83 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests-mock/ChangeLog?rev=1.1&view=markup |
84 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/requests-mock/ChangeLog?rev=1.1&content-type=text/plain |
85 | |
86 | Index: ChangeLog |
87 | =================================================================== |
88 | # ChangeLog for dev-python/requests-mock |
89 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
90 | # $Header: /var/cvsroot/gentoo-x86/dev-python/requests-mock/ChangeLog,v 1.1 2014/09/27 18:51:41 alunduil Exp $ |
91 | |
92 | *requests-mock-0.5.1 (27 Sep 2014) |
93 | |
94 | 27 Sep 2014; Alex Brandt <alunduil@g.o> +requests-mock-0.5.1.ebuild, |
95 | +metadata.xml: |
96 | new ebuild written by me—dependency for python-keystoneclient |