1 |
jlec 15/07/02 08:20:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pillow-2.9.0.ebuild |
5 |
Log: |
6 |
Version Bump |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.64 dev-python/pillow/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pillow/ChangeLog?rev=1.64&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pillow/ChangeLog?rev=1.64&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pillow/ChangeLog?r1=1.63&r2=1.64 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pillow/ChangeLog,v |
20 |
retrieving revision 1.63 |
21 |
retrieving revision 1.64 |
22 |
diff -u -r1.63 -r1.64 |
23 |
--- ChangeLog 28 Jun 2015 15:33:24 -0000 1.63 |
24 |
+++ ChangeLog 2 Jul 2015 08:20:48 -0000 1.64 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/pillow |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pillow/ChangeLog,v 1.63 2015/06/28 15:33:24 zlogene Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pillow/ChangeLog,v 1.64 2015/07/02 08:20:48 jlec Exp $ |
30 |
+ |
31 |
+*pillow-2.9.0 (02 Jul 2015) |
32 |
+ |
33 |
+ 02 Jul 2015; Justin Lecher <jlec@g.o> +pillow-2.9.0.ebuild: |
34 |
+ Version Bump |
35 |
|
36 |
28 Jun 2015; Mikle Kolyada <zlogene@g.o> pillow-2.8.1.ebuild: |
37 |
alpha stable wrt bug #534748 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/pillow/pillow-2.9.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pillow/pillow-2.9.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pillow/pillow-2.9.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pillow-2.9.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pillow/pillow-2.9.0.ebuild,v 1.1 2015/07/02 08:20:48 jlec Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) |
55 |
PYTHON_REQ_USE='tk?' |
56 |
|
57 |
inherit distutils-r1 eutils |
58 |
|
59 |
MY_PN=Pillow |
60 |
MY_P=${MY_PN}-${PV} |
61 |
|
62 |
DESCRIPTION="Python Imaging Library (fork)" |
63 |
HOMEPAGE="https://github.com/python-imaging/Pillow https://pypi.python.org/pypi/Pillow" |
64 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" |
65 |
|
66 |
LICENSE="HPND" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
69 |
IUSE="doc examples jpeg jpeg2k lcms test tiff tk truetype webp zlib" |
70 |
|
71 |
REQUIRED_USE="test? ( jpeg )" |
72 |
|
73 |
RDEPEND=" |
74 |
jpeg? ( virtual/jpeg:0 ) |
75 |
jpeg2k? ( media-libs/openjpeg:2= ) |
76 |
lcms? ( media-libs/lcms:2= ) |
77 |
tiff? ( media-libs/tiff:0= ) |
78 |
truetype? ( media-libs/freetype:2= ) |
79 |
webp? ( media-libs/libwebp:0= ) |
80 |
zlib? ( sys-libs/zlib:0= )" |
81 |
DEPEND="${RDEPEND} |
82 |
app-arch/unzip |
83 |
dev-python/setuptools[${PYTHON_USEDEP}] |
84 |
doc? ( |
85 |
dev-python/sphinx[${PYTHON_USEDEP}] |
86 |
dev-python/sphinx-better-theme[${PYTHON_USEDEP}] |
87 |
) |
88 |
test? ( dev-python/nose[${PYTHON_USEDEP}] ) |
89 |
" |
90 |
RDEPEND+=" !dev-python/imaging" |
91 |
|
92 |
S="${WORKDIR}/${MY_P}" |
93 |
|
94 |
# See _render and _clean in Tests/test_imagefont.py |
95 |
DISTUTILS_IN_SOURCE_BUILD=1 |
96 |
|
97 |
python_prepare_all() { |
98 |
# Disable all the stuff we don't want. |
99 |
local f |
100 |
for f in jpeg lcms tiff tk webp zlib; do |
101 |
if ! use ${f}; then |
102 |
sed -i -e "s:feature.${f} =:& None #:" setup.py || die |
103 |
fi |
104 |
done |
105 |
if ! use truetype; then |
106 |
sed -i -e 's:feature.freetype =:& None #:' setup.py || die |
107 |
fi |
108 |
if ! use jpeg2k; then |
109 |
sed -i -e 's:feature.jpeg2000 =:& None #:' setup.py || die |
110 |
fi |
111 |
|
112 |
distutils-r1_python_prepare_all |
113 |
} |
114 |
|
115 |
python_compile_all() { |
116 |
use doc && emake -C docs html |
117 |
} |
118 |
|
119 |
python_test() { |
120 |
"${PYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" |
121 |
nosetests -vx Tests/test_*.py || die "Testing failed with ${EPYTHON}" |
122 |
} |
123 |
|
124 |
python_install() { |
125 |
python_doheader libImaging/{Imaging.h,ImPlatform.h} |
126 |
|
127 |
distutils-r1_python_install |
128 |
} |
129 |
|
130 |
python_install_all() { |
131 |
use doc && local HTML_DOCS=( docs/_build/html/. ) |
132 |
use examples && local EXAMPLES=( Scripts/. ) |
133 |
|
134 |
distutils-r1_python_install_all |
135 |
} |