diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2011-09-14 07:34:53 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2011-09-14 07:34:53 +0000 |
commit | ec4e06b7d7c16cc98e996f6cb4061f28789dd68a (patch) | |
tree | 6a10b2d43d81bc107e30b36e05656fc3c361f0fb /dev-python/simpleparse | |
parent | Version bump to the latest. Drop older. (diff) | |
download | gentoo-2-ec4e06b7d7c16cc98e996f6cb4061f28789dd68a.tar.gz gentoo-2-ec4e06b7d7c16cc98e996f6cb4061f28789dd68a.tar.bz2 gentoo-2-ec4e06b7d7c16cc98e996f6cb4061f28789dd68a.zip |
Version bump simpleparse to 2.1.1.
(Portage version: 2.1.10.15/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/simpleparse')
-rw-r--r-- | dev-python/simpleparse/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/simpleparse/simpleparse-2.1.1.ebuild | 54 |
2 files changed, 61 insertions, 2 deletions
diff --git a/dev-python/simpleparse/ChangeLog b/dev-python/simpleparse/ChangeLog index a21b721f3f7f..9f6c8f78a2b7 100644 --- a/dev-python/simpleparse/ChangeLog +++ b/dev-python/simpleparse/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/simpleparse -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/simpleparse/ChangeLog,v 1.24 2010/12/18 15:02:46 arfrever Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/simpleparse/ChangeLog,v 1.25 2011/09/14 07:34:53 djc Exp $ + +*simpleparse-2.1.1 (14 Sep 2011) + + 14 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +simpleparse-2.1.1.ebuild: + Version bump to 2.1.1 (fixes bug 382825; thanks to jbergstroem). 18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -simpleparse-2.1.0_alpha1.ebuild, diff --git a/dev-python/simpleparse/simpleparse-2.1.1.ebuild b/dev-python/simpleparse/simpleparse-2.1.1.ebuild new file mode 100644 index 000000000000..9c26f3d17509 --- /dev/null +++ b/dev-python/simpleparse/simpleparse-2.1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/simpleparse/simpleparse-2.1.1.ebuild,v 1.1 2011/09/14 07:34:53 djc Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 3.*" + +inherit distutils + +MY_PN="SimpleParse" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A Parser Generator for mxTextTools." +HOMEPAGE="http://simpleparse.sourceforge.net http://pypi.python.org/pypi/SimpleParse" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="as-is eGenixPublic-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="doc examples" + +DEPEND="dev-python/setuptools" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") + +src_prepare() { + distutils_src_prepare + rm -f {examples,tests}/__init__.py +} + +src_test() { + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*):." "$(PYTHON)" tests/test.py + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use doc ; then + dohtml -r doc/* + fi + + if use examples ; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} |