Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-arraydiff/
Date: Sun, 26 Feb 2017 18:03:11
Message-Id: 1488132125.f1d4afbf2f8f5ca5c5fdad4d7bd5bc29daea6840.bicatali@gentoo
1 commit: f1d4afbf2f8f5ca5c5fdad4d7bd5bc29daea6840
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 16:14:12 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 26 18:02:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1d4afbf
7
8 dev-python/pytest-arraydiff: initial import
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/pytest-arraydiff/Manifest | 1 +
13 dev-python/pytest-arraydiff/metadata.xml | 15 +++++++++++
14 .../pytest-arraydiff/pytest-arraydiff-0.1.ebuild | 29 ++++++++++++++++++++++
15 3 files changed, 45 insertions(+)
16
17 diff --git a/dev-python/pytest-arraydiff/Manifest b/dev-python/pytest-arraydiff/Manifest
18 new file mode 100644
19 index 0000000000..043b48b512
20 --- /dev/null
21 +++ b/dev-python/pytest-arraydiff/Manifest
22 @@ -0,0 +1 @@
23 +DIST pytest-arraydiff-0.1.tar.gz 8752 SHA256 4ca5aaa9a8dc55f0cf621ce6cca3060e320e32b1a500e2f87298ade0a5ece7e1 SHA512 321ea04ea7165753cb4d9aff3870d5297f78a0e5ddaf16aecd5dce622f061a2f664479bf8e3af1c7575e968fa66828ed2d0489473e7d8a236c07d1a31adfce5d WHIRLPOOL 08a7fdaa72717d7657ebaa97130aa34096aa0b3cc1ec5a1b507e103441e6991f22f732075416a51a8a34773619a75a3fcc451018f439d986eee5e9e8628c62ea
24
25 diff --git a/dev-python/pytest-arraydiff/metadata.xml b/dev-python/pytest-arraydiff/metadata.xml
26 new file mode 100644
27 index 0000000000..a5905e0e3a
28 --- /dev/null
29 +++ b/dev-python/pytest-arraydiff/metadata.xml
30 @@ -0,0 +1,15 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <upstream>
35 + <remote-id type="pypi">pytest-arraydiff</remote-id>
36 + <remote-id type="github">astrofrog/pytest-arraydiff</remote-id>
37 + </upstream>
38 + <maintainer type="project">
39 + <email>python@g.o</email>
40 + <name>Python</name>
41 + </maintainer>
42 + <longdescription lang="en">
43 + This is a plugin to faciliate image comparison for numpy arrays in Pytest.
44 + </longdescription>
45 +</pkgmetadata>
46
47 diff --git a/dev-python/pytest-arraydiff/pytest-arraydiff-0.1.ebuild b/dev-python/pytest-arraydiff/pytest-arraydiff-0.1.ebuild
48 new file mode 100644
49 index 0000000000..6d12ab1fee
50 --- /dev/null
51 +++ b/dev-python/pytest-arraydiff/pytest-arraydiff-0.1.ebuild
52 @@ -0,0 +1,29 @@
53 +# Copyright 1999-2017 Gentoo Foundation
54 +# Distributed under the terms of the GNU General Public License v2
55 +# $Header: $
56 +
57 +EAPI=6
58 +
59 +PYTHON_COMPAT=( python{2_7,3_{4,5}} )
60 +
61 +inherit distutils-r1
62 +
63 +DOCS=( README.rst CHANGES.md )
64 +
65 +DESCRIPTION="pytest plugin to facilitate comparison of arrays"
66 +HOMEPAGE="https://github.com/astrofrog/pytest-arraydiff/"
67 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
68 +
69 +LICENSE="BSD"
70 +SLOT="0"
71 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
72 +IUSE=""
73 +
74 +RDEPEND="
75 + dev-python/numpy[${PYTHON_USEDEP}]
76 + dev-python/pytest[${PYTHON_USEDEP}]
77 + dev-python/six[${PYTHON_USEDEP}]
78 +"
79 +DEPEND="${RDEPEND}
80 + dev-python/setuptools[${PYTHON_USEDEP}]
81 +"