Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pgmagick/
Date: Tue, 22 Dec 2015 14:21:36
Message-Id: 1450794070.27fb9d59113ca61af75cc6a2200983af5e663b05.idella4@gentoo
1 commit: 27fb9d59113ca61af75cc6a2200983af5e663b05
2 Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 22 14:19:12 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 22 14:21:10 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27fb9d59
7
8 dev-python/pgmagick: bump to vn. 0.6, added py3.4 py3.5 support
9
10 Package-Manager: portage-2.2.24
11
12 dev-python/pgmagick/Manifest | 1 +
13 dev-python/pgmagick/pgmagick-0.6.ebuild | 40 +++++++++++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/pgmagick/Manifest b/dev-python/pgmagick/Manifest
17 index 8a900c2..4d216e8 100644
18 --- a/dev-python/pgmagick/Manifest
19 +++ b/dev-python/pgmagick/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pgmagick-0.5.10.tar.gz 39826 SHA256 89274107200a84e56e0fc4f6c482fd3b865d28c820c6d3e81cdbd4089e2dd233 SHA512 a5b05c50e8ffd61dc84547d7dcba7d47b4d31d19b00c372eac84324faa9b88194ef3283224a60ce0bc17fa1de8f22cec188dc03388fb119ace7c4b6c6eab875f WHIRLPOOL aeaee541af0ebc6f474fc20a5b38d635cd27602594602d7132ab96cc11172509fa5218e71719a46792a7dfe63872a30ef11019c92eb0d0bb433a468de59b7494
22 DIST pgmagick-0.5.11.tar.gz 39872 SHA256 83d611bb516eb2465a0167463f427f3fbdd6fa4efa1b8a24caa64fcec6bc8b3d SHA512 6b53204319538ca05e25e601135c47acfffb8af7f062c567875ad5740daf0d30263aefe7180a478d605b98922a7f3e5a2ae1f56d01b2e5f1d5c6b4b34fb6d44f WHIRLPOOL f53bacd57521bddea70564fbe934de918dc1563859656804c4d1d5e941e9c23869c4636b047ceab6baff726b83040a45849f5e4eabdb805198aa5bc694021358
23 +DIST pgmagick-0.6.tar.gz 40593 SHA256 9e315c17edcc10adeae05aac49b6082a5aca8937822d207563858875c814186b SHA512 b6c80ebfe0361e0a1b54a9cb8fc8102db0aa56347f4c8842cd8745f6beab1b01e1f51b1084fb51718db4b96b560aa220e103395d42d300017a17a9adf52bd294 WHIRLPOOL d3d19bbf62b40a1f05cdd5404af456a3de988b361b8e160ec272c93bc118b3d45cf348c1bda86fbfc0087d3bc1dc099db978e87bdea1a916af5fd3292439c973
24
25 diff --git a/dev-python/pgmagick/pgmagick-0.6.ebuild b/dev-python/pgmagick/pgmagick-0.6.ebuild
26 new file mode 100644
27 index 0000000..f9c6f4f
28 --- /dev/null
29 +++ b/dev-python/pgmagick/pgmagick-0.6.ebuild
30 @@ -0,0 +1,40 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Yet another boost.python based wrapper for GraphicsMagick"
42 +HOMEPAGE="https://pypi.python.org/pypi/pgmagick/ https://bitbucket.org/hhatto/pgmagick/"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="test"
49 +
50 +RDEPEND="media-gfx/graphicsmagick[cxx]
51 + dev-libs/boost:=[python,${PYTHON_USEDEP}]"
52 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
53 + test? ( ${RDEPEND}
54 + media-fonts/corefonts )"
55 +
56 +python_test() {
57 + # The tests are written for py2 only, however there is only
58 + # one test, test_pgmagick_libinfo.py
59 + # Need to adjust the one test to py3 syntax
60 + if python_is_python3; then
61 + sed -e 's: libinfo.version:(libinfo.version):' \
62 + -e 's: libinfo.library:(libinfo.library):' \
63 + -i test/test_pgmagick_libinfo.py || die
64 + fi
65 +
66 + for test in test/test_*.py; do
67 + "${PYTHON}" $test || die "test $test failed under ${EPYTHON}"
68 + done
69 + # As long as the order of pythons are not agon changed, this will suffice
70 +}