Gentoo Archives: gentoo-commits

From: Jonas Stein <jstein@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pilkit/
Date: Sun, 12 Nov 2017 19:25:46
Message-Id: 1510514526.592f68ce76daf89e6ea445b9c3f4303a5c722a73.jstein@gentoo
1 commit: 592f68ce76daf89e6ea445b9c3f4303a5c722a73
2 Author: Thomas Gstädtner <thomas <AT> gstaedtner <DOT> net>
3 AuthorDate: Sun Nov 12 13:31:16 2017 +0000
4 Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 12 19:22:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=592f68ce
7
8 dev-python/pilkit: new package
9
10 Add new package dev-python/pilkit to the tree.
11
12 Closes: https://bugs.gentoo.org/637230
13 Thanks-to: Thomas Deutschmann whissi <AT> gentoo.org
14 Package-Manager: Portage-2.3.13, Repoman-2.3.4
15
16 dev-python/pilkit/Manifest | 1 +
17 dev-python/pilkit/metadata.xml | 23 +++++++++++++++++++++++
18 dev-python/pilkit/pilkit-2.0.ebuild | 28 ++++++++++++++++++++++++++++
19 3 files changed, 52 insertions(+)
20
21 diff --git a/dev-python/pilkit/Manifest b/dev-python/pilkit/Manifest
22 new file mode 100644
23 index 00000000000..84f831f35ae
24 --- /dev/null
25 +++ b/dev-python/pilkit/Manifest
26 @@ -0,0 +1 @@
27 +DIST pilkit-2.0.tar.gz 160077 SHA256 01a1c3b920f4a0f73d4f0ddd252031eba78697c7af8ba5f94e43c8b2fc7a07cf SHA512 7732c67bc00db53c6849c907233381cca7f9055d55d479958a7b97db277524ac280753fd40c0023fe2b34f98b7261134f993585e658275ccd4c67f357c13de51 WHIRLPOOL a99362e2bbdab5c96e8d39a367f98a9cd7947cca18e68a3b903f2a5cc9b5279fdf4fd1f489073e594823def31e4e2dc02c256e4834a7bc4e889550a9cc978f8c
28
29 diff --git a/dev-python/pilkit/metadata.xml b/dev-python/pilkit/metadata.xml
30 new file mode 100644
31 index 00000000000..b4d5770a92d
32 --- /dev/null
33 +++ b/dev-python/pilkit/metadata.xml
34 @@ -0,0 +1,23 @@
35 +<?xml version="1.0" encoding="UTF-8"?>
36 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
37 +<pkgmetadata>
38 + <maintainer type="person">
39 + <email>thomas@××××××××××.net</email>
40 + <name>Thomas Gstädtner</name>
41 + </maintainer>
42 + <maintainer type="project">
43 + <email>proxy-maint@g.o</email>
44 + <name>Proxy Maintainers</name>
45 + </maintainer>
46 + <upstream>
47 + <remote-id type="pypi">pilkit</remote-id>
48 + <remote-id type="github">matthewwithanm/pilkit</remote-id>
49 + <bugs-to>
50 + https://github.com/matthewwithanm/pilkit/issues
51 + </bugs-to>
52 + </upstream>
53 + <longdescription>
54 + PILKit is a collection of utilities for working with
55 + PIL (the Python Imaging Library).
56 + </longdescription>
57 +</pkgmetadata>
58
59 diff --git a/dev-python/pilkit/pilkit-2.0.ebuild b/dev-python/pilkit/pilkit-2.0.ebuild
60 new file mode 100644
61 index 00000000000..b55d51a92e5
62 --- /dev/null
63 +++ b/dev-python/pilkit/pilkit-2.0.ebuild
64 @@ -0,0 +1,28 @@
65 +# Copyright 1999-2017 Gentoo Foundation
66 +# Distributed under the terms of the GNU General Public License v2
67 +
68 +EAPI=6
69 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
70 +
71 +inherit distutils-r1
72 +
73 +DESCRIPTION="A collection of utilities and processors for the Python Imaging Libary"
74 +HOMEPAGE="https://github.com/matthewwithanm/pilkit"
75 +SRC_URI="https://github.com/matthewwithanm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
76 +
77 +LICENSE="BSD"
78 +SLOT="0"
79 +KEYWORDS="~amd64 ~x86"
80 +IUSE="test"
81 +
82 +CDEPEND="dev-python/pillow[${PYTHON_USEDEP}]"
83 +DEPEND="${CDEPEND}
84 + test? (
85 + dev-python/mock[${PYTHON_USEDEP}]
86 + dev-python/nose[${PYTHON_USEDEP}]
87 + )"
88 +RDEPEND="${CDEPEND}"
89 +
90 +python_test() {
91 + nosetests --verbose || die
92 +}