diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2011-08-08 19:57:35 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2011-08-08 19:57:35 +0000 |
commit | 356f24b7cf88692b41d5dfa671963a3db37d3572 (patch) | |
tree | 0bd019a2d2247f4af1bdbe4ab0f6b0f7a605e0ca /dev-python/markupsafe | |
parent | Marked ~x64-macos (diff) | |
download | gentoo-2-356f24b7cf88692b41d5dfa671963a3db37d3572.tar.gz gentoo-2-356f24b7cf88692b41d5dfa671963a3db37d3572.tar.bz2 gentoo-2-356f24b7cf88692b41d5dfa671963a3db37d3572.zip |
Version bump markupsafe to 0.15.
(Portage version: 2.1.10.4/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/markupsafe')
-rw-r--r-- | dev-python/markupsafe/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/markupsafe/markupsafe-0.15.ebuild | 51 |
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/markupsafe/ChangeLog b/dev-python/markupsafe/ChangeLog index 3e7f58577324..b11929b5e039 100644 --- a/dev-python/markupsafe/ChangeLog +++ b/dev-python/markupsafe/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/markupsafe # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/ChangeLog,v 1.29 2011/04/29 19:13:13 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/ChangeLog,v 1.30 2011/08/08 19:57:35 djc Exp $ + +*markupsafe-0.15 (08 Aug 2011) + + 08 Aug 2011; Dirkjan Ochtman <djc@gentoo.org> +markupsafe-0.15.ebuild: + Version bump to 0.15. 29 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> markupsafe-0.12.ebuild: ppc64 stable wrt #360349 diff --git a/dev-python/markupsafe/markupsafe-0.15.ebuild b/dev-python/markupsafe/markupsafe-0.15.ebuild new file mode 100644 index 000000000000..497ecf127508 --- /dev/null +++ b/dev-python/markupsafe/markupsafe-0.15.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/markupsafe-0.15.ebuild,v 1.1 2011/08/08 19:57:35 djc Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils + +MY_PN="MarkupSafe" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Implements a XML/HTML/XHTML Markup safe string for Python" +HOMEPAGE="http://pypi.python.org/pypi/MarkupSafe" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" +IUSE="" + +DEPEND="dev-python/setuptools" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +set_global_options() { + if [[ "$(python_get_implementation)" != "Jython" ]]; then + DISTUTILS_GLOBAL_OPTIONS=("--with-speedups") + else + DISTUTILS_GLOBAL_OPTIONS=() + fi +} + +distutils_src_compile_pre_hook() { + set_global_options +} + +distutils_src_test_pre_hook() { + set_global_options +} + +distutils_src_install_pre_hook() { + set_global_options +} + +src_install() { + distutils_src_install + python_clean_installation_image +} |