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/webcolors/
Date: Wed, 02 Sep 2015 11:05:43
Message-Id: 1441191931.8ba7f416e8c1bd2f45fbf75dfbd9e9c03ec03245.jlec@gentoo
1 commit: 8ba7f416e8c1bd2f45fbf75dfbd9e9c03ec03245
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 10:38:44 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 11:05:31 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba7f416
7
8 dev-python/webcolors: New package, ebuild written by me
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/webcolors/Manifest | 1 +
14 dev-python/webcolors/metadata.xml | 5 +++++
15 dev-python/webcolors/webcolors-1.5.ebuild | 26 ++++++++++++++++++++++++++
16 3 files changed, 32 insertions(+)
17
18 diff --git a/dev-python/webcolors/Manifest b/dev-python/webcolors/Manifest
19 new file mode 100644
20 index 0000000..9d49735
21 --- /dev/null
22 +++ b/dev-python/webcolors/Manifest
23 @@ -0,0 +1 @@
24 +DIST webcolors-1.5.tar.gz 29960 SHA256 b3b1c3a41e9c69d1982b76b6531239115519f91cc034a24e975749832dc51b8e SHA512 84ce8cbbbdb4523bb146cf379845b549570623411a56651a7f9b9687152b7adc9dc42a3a0f684b55b61fb7a3d51d49d3871100b56725c86a727e3374b53c84b6 WHIRLPOOL f779a1777bb1ad9dac92f4dc75981be7274864291e7fd53ad59aa11b2ebd3eab2ff35ec68944fe7d57658976ac7b29f0708a256fc0e73a96535af99a4313ad7e
25
26 diff --git a/dev-python/webcolors/metadata.xml b/dev-python/webcolors/metadata.xml
27 new file mode 100644
28 index 0000000..301d220
29 --- /dev/null
30 +++ b/dev-python/webcolors/metadata.xml
31 @@ -0,0 +1,5 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <herd>python</herd>
36 +</pkgmetadata>
37
38 diff --git a/dev-python/webcolors/webcolors-1.5.ebuild b/dev-python/webcolors/webcolors-1.5.ebuild
39 new file mode 100644
40 index 0000000..d81e75b
41 --- /dev/null
42 +++ b/dev-python/webcolors/webcolors-1.5.ebuild
43 @@ -0,0 +1,26 @@
44 +# Copyright 1999-2015 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Id$
47 +
48 +EAPI=5
49 +
50 +PYTHON_COMPAT=( python2_7 python3_{3,4} )
51 +
52 +inherit distutils-r1
53 +
54 +DESCRIPTION="Color names and value formats defined by the HTML and CSS specifications"
55 +HOMEPAGE="https://pypi.python.org/pypi/webcolors https://github.com/ubernostrum/webcolors"
56 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
57 +
58 +SLOT="0"
59 +LICENSE="BSD"
60 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
61 +IUSE="test"
62 +
63 +DEPEND="
64 + test? ( dev-python/nose[${PYTHON_USEDEP}] )
65 + "
66 +
67 +python_test() {
68 + nosetests --verbose || die
69 +}