Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/word_cloud/files/, media-gfx/word_cloud/
Date: Mon, 17 Feb 2020 15:55:41
Message-Id: 1581954838.9f359924f7b78bf0bd15a69380ff41a7c005fa5e.ulm@gentoo
1 commit: 9f359924f7b78bf0bd15a69380ff41a7c005fa5e
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 17 13:28:13 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 17 15:53:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f359924
7
8 media-gfx/word_cloud: Initial import.
9
10 Ebuild contributed by me.
11
12 Package-Manager: Portage-2.3.89, Repoman-2.3.20
13 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
14
15 media-gfx/word_cloud/Manifest | 1 +
16 .../files/word_cloud-1.6.0-bundled-font.patch | 9 ++++++++
17 media-gfx/word_cloud/metadata.xml | 7 +++++++
18 media-gfx/word_cloud/word_cloud-1.6.0.ebuild | 24 ++++++++++++++++++++++
19 4 files changed, 41 insertions(+)
20
21 diff --git a/media-gfx/word_cloud/Manifest b/media-gfx/word_cloud/Manifest
22 new file mode 100644
23 index 00000000000..8eac0255ce8
24 --- /dev/null
25 +++ b/media-gfx/word_cloud/Manifest
26 @@ -0,0 +1 @@
27 +DIST word_cloud-1.6.0.tar.gz 27524706 BLAKE2B 751b78fca97ec6e93c6a766c5b960dbb5fd91c012637e9c905ef96eea0dc60882ef1604a9868cfb3ca91a2c9ac6f50132ad5d820e6dd52114e68112bbe6decb0 SHA512 cb67570e2f6206c92316ef398382703b4ff0f1740688cd4a9ec66a093a663e903da66daaef666d634a7fddc5ec19da859d706693940a963a3bf58c52e9054056
28
29 diff --git a/media-gfx/word_cloud/files/word_cloud-1.6.0-bundled-font.patch b/media-gfx/word_cloud/files/word_cloud-1.6.0-bundled-font.patch
30 new file mode 100644
31 index 00000000000..3c43b30ce42
32 --- /dev/null
33 +++ b/media-gfx/word_cloud/files/word_cloud-1.6.0-bundled-font.patch
34 @@ -0,0 +1,9 @@
35 +Don't install bundled DroidSansMono font.
36 +
37 +--- a/setup.py
38 ++++ b/setup.py
39 +@@ -24,3 +24,3 @@
40 + packages=['wordcloud'],
41 +- package_data={'wordcloud': ['stopwords', 'DroidSansMono.ttf']}
42 ++ package_data={'wordcloud': ['stopwords']}
43 + )
44
45 diff --git a/media-gfx/word_cloud/metadata.xml b/media-gfx/word_cloud/metadata.xml
46 new file mode 100644
47 index 00000000000..c665e48637b
48 --- /dev/null
49 +++ b/media-gfx/word_cloud/metadata.xml
50 @@ -0,0 +1,7 @@
51 +<?xml version="1.0" encoding="UTF-8"?>
52 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
53 +<pkgmetadata>
54 +<maintainer type="person">
55 + <email>ulm@g.o</email>
56 +</maintainer>
57 +</pkgmetadata>
58
59 diff --git a/media-gfx/word_cloud/word_cloud-1.6.0.ebuild b/media-gfx/word_cloud/word_cloud-1.6.0.ebuild
60 new file mode 100644
61 index 00000000000..a8a60e0fb33
62 --- /dev/null
63 +++ b/media-gfx/word_cloud/word_cloud-1.6.0.ebuild
64 @@ -0,0 +1,24 @@
65 +# Copyright 1999-2020 Gentoo Authors
66 +# Distributed under the terms of the GNU General Public License v2
67 +
68 +EAPI=7
69 +
70 +PYTHON_COMPAT=( python3_{6,7} )
71 +DISTUTILS_USE_SETUPTOOLS="rdepend"
72 +
73 +inherit distutils-r1
74 +
75 +DESCRIPTION="A little word cloud generator in Python"
76 +HOMEPAGE="https://amueller.github.io/word_cloud/"
77 +SRC_URI="https://github.com/amueller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
78 +
79 +LICENSE="MIT"
80 +SLOT="0"
81 +KEYWORDS="~amd64"
82 +
83 +RDEPEND="dev-python/matplotlib[${PYTHON_USEDEP}]
84 + dev-python/numpy[${PYTHON_USEDEP}]
85 + dev-python/pillow[${PYTHON_USEDEP}]
86 + media-fonts/droid"
87 +
88 +PATCHES=( "${FILESDIR}"/${P}-bundled-font.patch )