1 |
commit: 5f93a9013dda494c3bfa33d42b8510dd3bff41b2 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 28 09:41:32 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 28 09:41:32 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f93a901 |
7 |
|
8 |
dev-python/mako: Version Bump |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=545060 |
11 |
|
12 |
Package-Manager: portage-2.2.23 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
dev-python/mako/Manifest | 1 + |
16 |
dev-python/mako/mako-1.0.3.ebuild | 56 +++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 57 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/mako/Manifest b/dev-python/mako/Manifest |
20 |
index 5fb58e0..6752676 100644 |
21 |
--- a/dev-python/mako/Manifest |
22 |
+++ b/dev-python/mako/Manifest |
23 |
@@ -1,2 +1,3 @@ |
24 |
DIST Mako-1.0.0.tar.gz 470006 SHA256 a3cd72cfef507204b50f74ffcbfcfde7e856437891d3f6cfe780866986d006fe SHA512 81a6b7637e26d561350a591e3490e7140db218ae7f6b43fec8fca5b767fc6e57d0e8cc901d28fecb9863b2170c824a35c578a94579f991359fa0873f62ec578a WHIRLPOOL aa27b63e3832f03120312fbfec939b05606081e67a5cb4c9a056c27259631c2e159cf7506292d44e2c17c5950d7e4255d19f4beba78502bdbb52fbf11e1a872c |
25 |
DIST Mako-1.0.2.tar.gz 564592 SHA256 2550c2e4528820db68cbcbe668add5c71ab7fa332b7eada7919044bf8697679e SHA512 d297f9050049ac37612b10d61d3f1bb2cb7f6e238e7afdce092ba95d6117e064b4dfebaa3219093d88f75c6ef691fe3a0aaebd4188a5ba571867d3a3dfe986bc WHIRLPOOL 63f1b0a094dcbd5ab9fb86ba56764ad517b60c24d58b7e51b5220d2df4426e47d0c65d0409f9f7c499c7eaa0747b5bac06326718574038c2276b4b52147274fe |
26 |
+DIST Mako-1.0.3.tar.gz 565224 SHA256 7644bc0ee35965d2e146dde31827b8982ed70a58281085fac42869a09764d38c SHA512 1652cb3f7ea6484975c16f914ce9c070e503ff532564f76a048dd316e5eb12ff2b2445f272be55147d4d62b45906d5e14b3799c9136622ed0867a00875a0e52d WHIRLPOOL 4ac07778b58d8b4c95853a07dcb8755e560cb7225f68b606582ef9883fe632caead44d4a56ae1662b42f0ecdee2117942b3c500385558aa8f9763a3ce755b583 |
27 |
|
28 |
diff --git a/dev-python/mako/mako-1.0.3.ebuild b/dev-python/mako/mako-1.0.3.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..1bdcc80 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/mako/mako-1.0.3.ebuild |
33 |
@@ -0,0 +1,56 @@ |
34 |
+# Copyright 1999-2015 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI=5 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
41 |
+ |
42 |
+inherit distutils-r1 eutils versionator |
43 |
+ |
44 |
+MY_PN="Mako" |
45 |
+MY_P=${MY_PN}-${PV} |
46 |
+ |
47 |
+DESCRIPTION="A Python templating language" |
48 |
+HOMEPAGE="http://www.makotemplates.org/ https://pypi.python.org/pypi/Mako" |
49 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
54 |
+IUSE="doc test" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ >=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
60 |
+ test? ( |
61 |
+ dev-python/nose[${PYTHON_USEDEP}] |
62 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) |
63 |
+ )" |
64 |
+ |
65 |
+S="${WORKDIR}/${MY_P}" |
66 |
+ |
67 |
+python_test() { |
68 |
+ nosetests "${S}"/test || die "Tests fail with ${EPYTHON}" |
69 |
+} |
70 |
+ |
71 |
+python_install_all() { |
72 |
+ rm -rf doc/build || die |
73 |
+ |
74 |
+ use doc && local HTML_DOCS=( doc/. ) |
75 |
+ distutils-r1_python_install_all |
76 |
+} |
77 |
+ |
78 |
+pkg_postinst() { |
79 |
+ optfeature "Caching support" dev-python/beaker |
80 |
+ for v in ${REPLACING_VERSIONS}; do |
81 |
+ if ! version_is_at_least 0.7.3-r2 $v; then |
82 |
+ ewarn "dev-python/beaker is no longer hard dependency of ${P}" |
83 |
+ ewarn "If you rely on it, you should add beaker to your world" |
84 |
+ ewarn "file:" |
85 |
+ ewarn "# emerge --noreplace beaker" |
86 |
+ break |
87 |
+ fi |
88 |
+ done |
89 |
+} |