Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-shutil/
Date: Wed, 04 Jan 2017 04:49:41
Message-Id: 1483505309.1687915326fb47e96d1dc4c671fd52f707b1bc9b.dolsen@gentoo
1 commit: 1687915326fb47e96d1dc4c671fd52f707b1bc9b
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 3 21:25:05 2017 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 4 04:48:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16879153
7
8 dev-python/pytest-shutil: New pkg, dep of dev-python/pytest-vitualenv
9
10 Inirect dep for buildbot tests
11
12 Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
13
14 dev-python/pytest-shutil/Manifest | 1 +
15 dev-python/pytest-shutil/metadata.xml | 20 ++++++++++++
16 .../pytest-shutil/pytest-shutil-1.2.4.ebuild | 37 ++++++++++++++++++++++
17 3 files changed, 58 insertions(+)
18
19 diff --git a/dev-python/pytest-shutil/Manifest b/dev-python/pytest-shutil/Manifest
20 new file mode 100644
21 index 00000000..b5f0e6a
22 --- /dev/null
23 +++ b/dev-python/pytest-shutil/Manifest
24 @@ -0,0 +1 @@
25 +DIST pytest-shutil-1.2.4.tar.gz 16327 SHA256 a3fc464033dc39396a67eac9e228a0682e866654b8017819b2511bdbd8ed751f SHA512 9ec6baa3cf53bb80103b1dfbf6c26794090c26dd74b29cd19e76b1037c6939538c7b05ea16368a76cce6969216c291e27b00833a990268239bfd2222f69ddfb4 WHIRLPOOL 5f52535feadf11c5aa33b69cc8d35d361d7345611b9239a8282a94d58bfb4163c1207a60cb3d38998ba777e8b9912a3a63cfa0b820962ce84dba8a5ba8068642
26
27 diff --git a/dev-python/pytest-shutil/metadata.xml b/dev-python/pytest-shutil/metadata.xml
28 new file mode 100644
29 index 00000000..aa825ea
30 --- /dev/null
31 +++ b/dev-python/pytest-shutil/metadata.xml
32 @@ -0,0 +1,20 @@
33 +<?xml version="1.0" encoding="UTF-8"?>
34 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 +<pkgmetadata>
36 + <maintainer type="person">
37 + <email>dolsen@g.o</email>
38 + <description>Primary maintainer</description>
39 + </maintainer>
40 + <upstream>
41 + <maintainer>
42 + <email>eeaston@×××××.com</email>
43 + <name>Edward Easton</name>
44 + </maintainer>
45 + <remote-id type="pypi">pytest-shutil</remote-id>
46 + </upstream>
47 + <longdescription>
48 + This library is a goodie-bag of Unix shell and environment management
49 + tools for automated tests. A summary of the available functions is
50 + below, look at the source for the full listing.
51 + </longdescription>
52 +</pkgmetadata>
53
54 diff --git a/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild
55 new file mode 100644
56 index 00000000..2f607b1
57 --- /dev/null
58 +++ b/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild
59 @@ -0,0 +1,37 @@
60 +# Copyright 1999-2017 Gentoo Foundation
61 +# Distributed under the terms of the GNU General Public License v2
62 +# $Id$
63 +
64 +EAPI=6
65 +PYTHON_COMPAT=( python2_7 python3_{4,5} )
66 +
67 +inherit distutils-r1
68 +
69 +DESCRIPTION="Virtualenv fixture for py.test"
70 +HOMEPAGE="https://github.com/manahl/pytest-plugins https://pypi.python.org/pypi/pytest-shutil"
71 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
72 +
73 +LICENSE="MIT"
74 +SLOT="0"
75 +KEYWORDS="~amd64 ~x86"
76 +IUSE="test"
77 +
78 +RDEPEND="
79 + dev-python/pytest[${PYTHON_USEDEP}]
80 + dev-python/setuptools-git[${PYTHON_USEDEP}]
81 + dev-python/six[${PYTHON_USEDEP}]
82 + dev-python/contextlib2[${PYTHON_USEDEP}]
83 + dev-python/execnet[${PYTHON_USEDEP}]
84 + dev-python/path-py[${PYTHON_USEDEP}]
85 + dev-python/mock[${PYTHON_USEDEP}]
86 +"
87 +
88 +DEPEND="
89 + ${RDEPEND}
90 +"
91 +
92 +python_test() {
93 + distutils_install_for_testing
94 +
95 + esetup.py test || die "Tests failed under ${EPYTHON}"
96 +}