summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2014-09-30 07:09:36 +0000
committerBen de Groot <yngwin@gentoo.org>2014-09-30 07:09:36 +0000
commitdb808396efb63186eeff9ff06431b93ca0c3ad08 (patch)
tree56f31e504ea9fb3ac9227c46f5e1c58bdc87f11b /dev-python/mako
parentupdate python impls, purge never needed content (diff)
downloadgentoo-2-db808396efb63186eeff9ff06431b93ca0c3ad08.tar.gz
gentoo-2-db808396efb63186eeff9ff06431b93ca0c3ad08.tar.bz2
gentoo-2-db808396efb63186eeff9ff06431b93ca0c3ad08.zip
Version bump, thanks to eroen in bug #486158. As this is a major version bump, it's masked for testing.
(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 0x0F9C590B7FF324F6!)
Diffstat (limited to 'dev-python/mako')
-rw-r--r--dev-python/mako/ChangeLog8
-rw-r--r--dev-python/mako/mako-1.0.0.ebuild58
2 files changed, 65 insertions, 1 deletions
diff --git a/dev-python/mako/ChangeLog b/dev-python/mako/ChangeLog
index f042d41ebb8d..fa7ab1d798a5 100644
--- a/dev-python/mako/ChangeLog
+++ b/dev-python/mako/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/mako
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.82 2014/06/18 16:00:28 klausman Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/ChangeLog,v 1.83 2014/09/30 07:09:36 yngwin Exp $
+
+*mako-1.0.0 (30 Sep 2014)
+
+ 30 Sep 2014; Ben de Groot <yngwin@gentoo.org> +mako-1.0.0.ebuild:
+ Version bump, thanks to eroen in bug #486158. As this is a major version bump,
+ it's masked for testing.
18 Jun 2014; Tobias Klausmann <klausman@gentoo.org> mako-0.7.3-r1.ebuild:
Stable on alpha, bug #450174
diff --git a/dev-python/mako/mako-1.0.0.ebuild b/dev-python/mako/mako-1.0.0.ebuild
new file mode 100644
index 000000000000..65914e89f6d2
--- /dev/null
+++ b/dev-python/mako/mako-1.0.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1998-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mako/mako-1.0.0.ebuild,v 1.1 2014/09/30 07:09:36 yngwin Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
+inherit readme.gentoo versionator distutils-r1
+
+MY_PN="Mako"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="A Python templating language"
+HOMEPAGE="http://www.makotemplates.org/ http://pypi.python.org/pypi/Mako"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="doc test"
+
+RDEPEND="
+ >=dev-python/markupsafe-0.9.2[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+DOC_CONTENTS="
+${PN} can be enchanced with caching by dev-python/beaker"
+
+python_test() {
+ cp -r -l test "${BUILD_DIR}"/ || die
+ cd "${BUILD_DIR}"/test || die
+ nosetests || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ rm -rf doc/build
+
+ use doc && local HTML_DOCS=( doc/. )
+ distutils-r1_python_install_all
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+
+ for v in ${REPLACING_VERSIONS}; do
+ if ! version_is_at_least 0.7.3-r2 $v; then
+ ewarn "dev-python/beaker is no longer hard dependency of ${P}"
+ ewarn "If you rely on it, you should add beaker to your world"
+ ewarn "file:"
+ ewarn "# emerge --noreplace beaker"
+ break
+ fi
+ done
+}