Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cftime/
Date: Mon, 28 Dec 2020 16:11:06
Message-Id: 1609171848.e674ac4eb4457ebbf32eb5824f7745487903a3f9.soap@gentoo
1 commit: e674ac4eb4457ebbf32eb5824f7745487903a3f9
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon Dec 28 16:10:48 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 16:10:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e674ac4e
7
8 dev-python/cftime: Time-handling functionality from netcdf4-python
9
10 Closes: https://bugs.gentoo.org/681744
11 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 dev-python/cftime/Manifest | 1 +
15 dev-python/cftime/cftime-1.3.0.ebuild | 29 +++++++++++++++++++++++++++++
16 dev-python/cftime/metadata.xml | 12 ++++++++++++
17 3 files changed, 42 insertions(+)
18
19 diff --git a/dev-python/cftime/Manifest b/dev-python/cftime/Manifest
20 new file mode 100644
21 index 00000000000..2a651f051b4
22 --- /dev/null
23 +++ b/dev-python/cftime/Manifest
24 @@ -0,0 +1 @@
25 +DIST cftime-1.3.0.tar.gz 55668 BLAKE2B c233a3d45305476f422ca93f89348b7b3c018b10c0fa42d6649001b7bcdb4d26d230322108def41818449ec78dc531261b52d09252306fb5889ac4011af33828 SHA512 07f79e902142e8a314c9d09af08ea752454e490c3027ee44853f78c725305bf11cad90bd331edd204defded11e7f29173df9bef70ab805a28b745cc0afdd4685
26
27 diff --git a/dev-python/cftime/cftime-1.3.0.ebuild b/dev-python/cftime/cftime-1.3.0.ebuild
28 new file mode 100644
29 index 00000000000..756f757775c
30 --- /dev/null
31 +++ b/dev-python/cftime/cftime-1.3.0.ebuild
32 @@ -0,0 +1,29 @@
33 +# Copyright 2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +DISTUTILS_USE_SETUPTOOLS=bdepend
39 +PYTHON_COMPAT=( python3_{6..9} )
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Time-handling functionality from netcdf4-python"
43 +HOMEPAGE="https://pypi.org/project/cftime"
44 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 +
46 +LICENSE="GPL-3"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +DEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
51 +RDEPEND="${DEPEND}"
52 +BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
53 +
54 +distutils_enable_tests pytest
55 +
56 +python_prepare_all() {
57 + # remove pytest-cov dep
58 + sed -i -e "/--cov/d" setup.cfg || die
59 +
60 + distutils-r1_python_prepare_all
61 +}
62
63 diff --git a/dev-python/cftime/metadata.xml b/dev-python/cftime/metadata.xml
64 new file mode 100644
65 index 00000000000..7772129ae7c
66 --- /dev/null
67 +++ b/dev-python/cftime/metadata.xml
68 @@ -0,0 +1,12 @@
69 +<?xml version="1.0" encoding="UTF-8"?>
70 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
71 +<pkgmetadata>
72 + <maintainer type="project">
73 + <email>sci@g.o</email>
74 + <name>Gentoo Science Project</name>
75 + </maintainer>
76 + <upstream>
77 + <remote-id type="pypi">cftime</remote-id>
78 + <remote-id type="github">Unidata/cftime</remote-id>
79 + </upstream>
80 +</pkgmetadata>