summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-08-27 16:06:22 +0000
committerMike Gilbert <floppym@gentoo.org>2012-08-27 16:06:22 +0000
commit4e8e5d435173889ef22bb6ff7a4fea3e9a193dd3 (patch)
treec59ed9168516fce416ff58e872861b4751a18ec1 /dev-python/webob
parentFix dependencies and HOMEPAGE. Thanks Arfrever. (diff)
downloadgentoo-2-4e8e5d435173889ef22bb6ff7a4fea3e9a193dd3.tar.gz
gentoo-2-4e8e5d435173889ef22bb6ff7a4fea3e9a193dd3.tar.bz2
gentoo-2-4e8e5d435173889ef22bb6ff7a4fea3e9a193dd3.zip
Rebase on 1.2_rc1. Thanks Arfrever.
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/webob')
-rw-r--r--dev-python/webob/ChangeLog5
-rw-r--r--dev-python/webob/webob-1.2.2.ebuild31
2 files changed, 17 insertions, 19 deletions
diff --git a/dev-python/webob/ChangeLog b/dev-python/webob/ChangeLog
index b72b8fc8119e..923adcbcb275 100644
--- a/dev-python/webob/ChangeLog
+++ b/dev-python/webob/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/webob
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/webob/ChangeLog,v 1.55 2012/08/24 07:04:49 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/webob/ChangeLog,v 1.56 2012/08/27 16:06:22 floppym Exp $
+
+ 27 Aug 2012; Mike Gilbert <floppym@gentoo.org> webob-1.2.2.ebuild:
+ Rebase on 1.2_rc1. Thanks Arfrever.
*webob-1.2.2 (24 Aug 2012)
diff --git a/dev-python/webob/webob-1.2.2.ebuild b/dev-python/webob/webob-1.2.2.ebuild
index 1d91c62a1d9f..11e953329800 100644
--- a/dev-python/webob/webob-1.2.2.ebuild
+++ b/dev-python/webob/webob-1.2.2.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/webob/webob-1.2.2.ebuild,v 1.1 2012/08/24 07:04:49 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/webob/webob-1.2.2.ebuild,v 1.2 2012/08/27 16:06:22 floppym Exp $
+
+EAPI=4
-EAPI="3"
-PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.4 3.*"
-DISTUTILS_SRC_TEST="nosetests"
+RESTRICT_PYTHON_ABIS="2.5 3.1"
+DISTUTILS_SRC_TEST=nosetests
-inherit distutils eutils
+inherit distutils
-MY_PN="WebOb"
-MY_P="${MY_PN}-${PV}"
+MY_PN=WebOb
+MY_P=${MY_PN}-${PV}
DESCRIPTION="WSGI request and response object"
HOMEPAGE="http://pythonpaste.org/webob/ http://pypi.python.org/pypi/WebOb"
@@ -20,22 +20,20 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="doc test"
+IUSE="doc"
DEPEND="app-arch/unzip
dev-python/setuptools
- doc? ( dev-python/sphinx )
- test? ( dev-python/webtest )"
+ doc? ( dev-python/sphinx )"
RDEPEND=""
-S="${WORKDIR}/${MY_P}"
+S=${WORKDIR}/${MY_P}
src_compile() {
distutils_src_compile
if use doc; then
- einfo "Generation of documentation"
- "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed"
+ "$(PYTHON -f)" setup.py build_sphinx || die
fi
}
@@ -43,9 +41,6 @@ src_install() {
distutils_src_install
if use doc; then
- pushd build/sphinx/html > /dev/null
- insinto /usr/share/doc/${PF}/html
- doins -r [a-z]* _static || die "Installation of documentation failed"
- popd > /dev/null
+ dohtml -r build/sphinx/html/
fi
}