Gentoo Archives: gentoo-commits

From: Dennis Lamm <expeditioneer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pooch/
Date: Thu, 17 Sep 2020 16:48:46
Message-Id: 1600361317.b1fda0fbff61ccdaa87d395b6798ce05f2ef54a8.expeditioneer@gentoo
1 commit: b1fda0fbff61ccdaa87d395b6798ce05f2ef54a8
2 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 17 00:51:14 2020 +0000
4 Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 17 16:48:37 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1fda0fb
7
8 dev-python/pooch: new package
9
10 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
11 Closes: https://github.com/gentoo/gentoo/pull/17570
12 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
13
14 dev-python/pooch/Manifest | 1 +
15 dev-python/pooch/metadata.xml | 16 ++++++++++++++++
16 dev-python/pooch/pooch-1.2.0.ebuild | 25 +++++++++++++++++++++++++
17 3 files changed, 42 insertions(+)
18
19 diff --git a/dev-python/pooch/Manifest b/dev-python/pooch/Manifest
20 new file mode 100644
21 index 00000000000..1ed64bb0458
22 --- /dev/null
23 +++ b/dev-python/pooch/Manifest
24 @@ -0,0 +1 @@
25 +DIST pooch-1.2.0.tar.gz 212831 BLAKE2B 73db6d6ef432960704103cee92c72d80243c9f73c3896458b20a734fc577f4982c0ecd0c72d512f8d355f28f48ca084755816196431aa7f27eab9c467e4e0654 SHA512 dfb7d890d3211f8f737dc79fa81cc895c166dc96b05d86ad2df9b33f1da950a05bce8e6a80abdb467edef2157bd13a8209771ced91a17023903c5541a1b998d3
26
27 diff --git a/dev-python/pooch/metadata.xml b/dev-python/pooch/metadata.xml
28 new file mode 100644
29 index 00000000000..1911018bcce
30 --- /dev/null
31 +++ b/dev-python/pooch/metadata.xml
32 @@ -0,0 +1,16 @@
33 +<?xml version="1.0" encoding="UTF-8"?>
34 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 +<pkgmetadata>
36 + <maintainer type="project">
37 + <email>3dprint@g.o</email>
38 + <name>Gentoo 3D Printer Project</name>
39 + </maintainer>
40 + <longdescription>
41 + Pooch manages your Python library's sample data files: it automatically downloads and stores them in a local directory,
42 + with support for versioning and corruption checks.
43 + </longdescription>
44 + <upstream>
45 + <remote-id type="github">fatiando/pooch</remote-id>
46 + <remote-id type="pypi">pooch</remote-id>
47 + </upstream>
48 +</pkgmetadata>
49
50 diff --git a/dev-python/pooch/pooch-1.2.0.ebuild b/dev-python/pooch/pooch-1.2.0.ebuild
51 new file mode 100644
52 index 00000000000..42f0780637f
53 --- /dev/null
54 +++ b/dev-python/pooch/pooch-1.2.0.ebuild
55 @@ -0,0 +1,25 @@
56 +# Copyright 1999-2020 Gentoo Authors
57 +# Distributed under the terms of the GNU General Public License v2
58 +
59 +EAPI=7
60 +
61 +PYTHON_COMPAT=(python3_{6..8})
62 +
63 +inherit distutils-r1
64 +
65 +DESCRIPTION="manages your Python library's sample data files"
66 +HOMEPAGE="https://github.com/fatiando/pooch"
67 +SRC_URI="https://github.com/fatiando/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
68 +
69 +LICENSE="BSD"
70 +SLOT="0"
71 +KEYWORDS="~amd64"
72 +
73 +RDEPEND="
74 + dev-python/appdirs[${PYTHON_USEDEP}]
75 + dev-python/packaging[${PYTHON_USEDEP}]
76 + dev-python/requests[${PYTHON_USEDEP}]
77 +"
78 +BDEPEND="${RDEPEND}"
79 +
80 +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme