summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-17 22:26:53 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-02-17 22:26:53 +0000
commitd5660bd545aaa2490b1c48b8e73b51454e3818a1 (patch)
tree8ec3c066df5690c073884822bf6cd56699f63ecd /dev-python
parentStable on amd64 wrt bug #355365 (diff)
downloadgentoo-2-d5660bd545aaa2490b1c48b8e73b51454e3818a1.tar.gz
gentoo-2-d5660bd545aaa2490b1c48b8e73b51454e3818a1.tar.bz2
gentoo-2-d5660bd545aaa2490b1c48b8e73b51454e3818a1.zip
Version bump.
(Portage version: 2.2.0_alpha24_p2/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/markupsafe/ChangeLog8
-rw-r--r--dev-python/markupsafe/markupsafe-0.12.ebuild51
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-python/markupsafe/ChangeLog b/dev-python/markupsafe/ChangeLog
index 358dc7f1e758..db615f31ff81 100644
--- a/dev-python/markupsafe/ChangeLog
+++ b/dev-python/markupsafe/ChangeLog
@@ -1,6 +1,12 @@
# 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.20 2011/02/13 20:40:05 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markupsafe/ChangeLog,v 1.21 2011/02/17 22:26:53 arfrever Exp $
+
+*markupsafe-0.12 (17 Feb 2011)
+
+ 17 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +markupsafe-0.12.ebuild:
+ Version bump.
13 Feb 2011; Fabian Groffen <grobian@gentoo.org> markupsafe-0.11.ebuild:
Marked ~sparc-solaris and ~sparc64-solaris
diff --git a/dev-python/markupsafe/markupsafe-0.12.ebuild b/dev-python/markupsafe/markupsafe-0.12.ebuild
new file mode 100644
index 000000000000..318bf7b7935a
--- /dev/null
+++ b/dev-python/markupsafe/markupsafe-0.12.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.12.ebuild,v 1.1 2011/02/17 22:26:53 arfrever 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
+}