Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/mako: mako-1.0.0.ebuild ChangeLog
Date: Tue, 30 Sep 2014 07:09:41
Message-Id: 20140930070936.C4BCA6921@oystercatcher.gentoo.org
1 yngwin 14/09/30 07:09:36
2
3 Modified: ChangeLog
4 Added: mako-1.0.0.ebuild
5 Log:
6 Version bump, thanks to eroen in bug #486158. As this is a major version bump, it's masked for testing.
7
8 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0x0F9C590B7FF324F6!)
9
10 Revision Changes Path
11 1.83 dev-python/mako/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mako/ChangeLog?rev=1.83&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mako/ChangeLog?rev=1.83&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mako/ChangeLog?r1=1.82&r2=1.83
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v
20 retrieving revision 1.82
21 retrieving revision 1.83
22 diff -u -r1.82 -r1.83
23 --- ChangeLog 18 Jun 2014 16:00:28 -0000 1.82
24 +++ ChangeLog 30 Sep 2014 07:09:36 -0000 1.83
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/mako
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.82 2014/06/18 16:00:28 klausman Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.83 2014/09/30 07:09:36 yngwin Exp $
30 +
31 +*mako-1.0.0 (30 Sep 2014)
32 +
33 + 30 Sep 2014; Ben de Groot <yngwin@g.o> +mako-1.0.0.ebuild:
34 + Version bump, thanks to eroen in bug #486158. As this is a major version bump,
35 + it's masked for testing.
36
37 18 Jun 2014; Tobias Klausmann <klausman@g.o> mako-0.7.3-r1.ebuild:
38 Stable on alpha, bug #450174
39
40
41
42 1.1 dev-python/mako/mako-1.0.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mako/mako-1.0.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/mako/mako-1.0.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mako-1.0.0.ebuild
48 ===================================================================
49 # Copyright 1998-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/mako/mako-1.0.0.ebuild,v 1.1 2014/09/30 07:09:36 yngwin Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
55 inherit readme.gentoo versionator distutils-r1
56
57 MY_PN="Mako"
58 MY_P=${MY_PN}-${PV}
59
60 DESCRIPTION="A Python templating language"
61 HOMEPAGE="http://www.makotemplates.org/ http://pypi.python.org/pypi/Mako"
62 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
67 IUSE="doc test"
68
69 RDEPEND="
70 >=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]"
71 DEPEND="${RDEPEND}
72 dev-python/setuptools[${PYTHON_USEDEP}]
73 test? ( dev-python/nose[${PYTHON_USEDEP}] )"
74
75 S="${WORKDIR}/${MY_P}"
76
77 DOC_CONTENTS="
78 ${PN} can be enchanced with caching by dev-python/beaker"
79
80 python_test() {
81 cp -r -l test "${BUILD_DIR}"/ || die
82 cd "${BUILD_DIR}"/test || die
83 nosetests || die "Tests fail with ${EPYTHON}"
84 }
85
86 python_install_all() {
87 rm -rf doc/build
88
89 use doc && local HTML_DOCS=( doc/. )
90 distutils-r1_python_install_all
91 readme.gentoo_create_doc
92 }
93
94 pkg_postinst() {
95 readme.gentoo_print_elog
96
97 for v in ${REPLACING_VERSIONS}; do
98 if ! version_is_at_least 0.7.3-r2 $v; then
99 ewarn "dev-python/beaker is no longer hard dependency of ${P}"
100 ewarn "If you rely on it, you should add beaker to your world"
101 ewarn "file:"
102 ewarn "# emerge --noreplace beaker"
103 break
104 fi
105 done
106 }