Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/xarray/
Date: Sat, 03 Dec 2016 13:45:46
Message-Id: 1480772741.41d064a9dc787356e5dc37255a006c40b418999f.jlec@gentoo
1 commit: 41d064a9dc787356e5dc37255a006c40b418999f
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 2 20:32:34 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 3 13:45:41 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41d064a9
7
8 dev-python/xarray: New package, ebuild written by me
9
10 Package-Manager: portage-2.3.2
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/xarray/Manifest | 1 +
14 dev-python/xarray/metadata.xml | 15 +++++++++++++++
15 dev-python/xarray/xarray-0.8.2.ebuild | 29 +++++++++++++++++++++++++++++
16 3 files changed, 45 insertions(+)
17
18 diff --git a/dev-python/xarray/Manifest b/dev-python/xarray/Manifest
19 new file mode 100644
20 index 00000000..afc9659
21 --- /dev/null
22 +++ b/dev-python/xarray/Manifest
23 @@ -0,0 +1 @@
24 +DIST xarray-0.8.2.tar.gz 222454 SHA256 4da06e38baea65c51347ba0770db416ebf003dbad5637215d2b25b191f2be1fb SHA512 11a7295973cde998b043d22675b1d142b50ad5518f9dc320d6e6c770f3febb3b5f0ecf59b3caed73ae886994be15d497c10680e2df69eea862cf6d7c6726a867 WHIRLPOOL 02c3d17c7b0bd659f8e0aa8670909e7381cf2caeed9ae8df446681ca517f04d5f96f71a62e9b9079f7531c5ae9a7e8fef4045f581424b71e67eaaac7b7a7ffa7
25
26 diff --git a/dev-python/xarray/metadata.xml b/dev-python/xarray/metadata.xml
27 new file mode 100644
28 index 00000000..60a3c3e
29 --- /dev/null
30 +++ b/dev-python/xarray/metadata.xml
31 @@ -0,0 +1,15 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="project">
36 + <email>python@g.o</email>
37 + <name>Python</name>
38 + </maintainer>
39 + <upstream>
40 + <remote-id type="pypi">xarray</remote-id>
41 + <maintainer status="unknown">
42 + <email>xarray@××××××××××××.com</email>
43 + <name>xarray Developers</name>
44 + </maintainer>
45 + </upstream>
46 +</pkgmetadata>
47
48 diff --git a/dev-python/xarray/xarray-0.8.2.ebuild b/dev-python/xarray/xarray-0.8.2.ebuild
49 new file mode 100644
50 index 00000000..f70f8c3
51 --- /dev/null
52 +++ b/dev-python/xarray/xarray-0.8.2.ebuild
53 @@ -0,0 +1,29 @@
54 +# Copyright 1999-2016 Gentoo Foundation
55 +# Distributed under the terms of the GNU General Public License v2
56 +# $Id$
57 +
58 +EAPI=6
59 +
60 +PYTHON_COMPAT=( python{2_7,3_{4,5}} )
61 +
62 +inherit distutils-r1
63 +
64 +DESCRIPTION="N-D labeled arrays and datasets in Python"
65 +HOMEPAGE="https://github.com/pydata/xarray http://pypi.python.org/pypi/xarray"
66 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
67 +
68 +LICENSE="Apache-2.0"
69 +SLOT="0"
70 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
71 +IUSE="test"
72 +
73 +RDEPEND=""
74 +DEPEND="${RDEPEND}
75 + dev-python/setuptools[${PYTHON_USEDEP}]
76 + test? (
77 + dev-python/pytest[${PYTHON_USEDEP}]
78 + )"
79 +
80 +python_test() {
81 + py.test -v -v || die
82 +}