dev-python/webob: bup

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Matthew Thode
2017-02-26 18:32:16 -06:00
parent 2801436404
commit 399b1de843
2 changed files with 45 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ DIST WebOb-1.5.0.tar.gz 186394 SHA256 8e90cca008c0189fe64d06281d50d9510c1dde4147
DIST WebOb-1.5.1.tar.gz 202821 SHA256 d8a9a153577f74b275dfd441ee2de4910eb2c1228d94186285684327e3877009 SHA512 aba45ff622a572a3bda7cf33ce5988745b3831aea2ed7f0502688055f96c16cf5de828039439218611034ad49dea4e4a9c2ec43b8dbc97be61b7abc33a15589c WHIRLPOOL 814e11b257f82a48f9ed8ff1e1ecb37ab0648c7f67446aa57094da671f0265fadd7b04e9e69ed1ecbfbbc1925804ef7f563f8079b82bea04d8a06853482960b7
DIST WebOb-1.6.0.tar.gz 204340 SHA256 63d262d8f61b516321f786879c9277fa2209f7f57eb47b537eeecfea383d55b7 SHA512 a4805ea7b30d5afd64d4d2c053fd8b9d71ec9409270e85af4e071352e933474b52eb3493a52f3b29ff0040a4d6fc41dc1b70fe35ffbb209b36e9e3bca3ec75c6 WHIRLPOOL 634245c5f30ec7581e17166d89a4441e3b67d29c23a4bf7345e40ce2ba4bc3eed2d287135c9fa8b6833734c237869d76f8da804600d3633106e35cd7648db78f
DIST WebOb-1.6.1.tar.gz 204676 SHA256 e804c583bd0fb947bd7c03d296942b38b985cf1da4fd82bf879994d29edb21fe SHA512 da760fb67d1962b3fd8ff421ef6d34cc377406d82bfe053244c53a4bddfcef5433b0816d8d11a164e1a71e5562ae56cde3090fb74de414c41ba3777b89c64631 WHIRLPOOL d8c9126ad6ea43e6be35ff012754e7130f0c975b8284de4d6d2874131d47a76cf053945d35f0bab27a413fe020c3d1356ffee91c6d1d9a1c5697d64fdc2aab05
DIST WebOb-1.6.3.tar.gz 206375 SHA256 1b03115e162dd0102f6147c5d5ed71a3a2ba0f58ef829244b64f52fe6dbf5888 SHA512 41830571ca4e0727b2bb2c6ad81f36f2d07a2018c2a01e00acb2e32ef7c503e133653cb62f1ddcda3bf10f44ff3215cc2e2b53e7544b867ddf3f50fa9b4ca79b WHIRLPOOL 2bd99bbc0dece593c899aa962b8bfe7d35cd908fdc8723997cfd61250d6ac73b85c8d48a0b78fd162f591e941f8dfb74a7d21a11f12c750cb5f06d2736a64504

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
inherit distutils-r1 versionator
MY_PN=WebOb
MY_P=${MY_PN}-${PV}
DESCRIPTION="WSGI request and response object"
HOMEPAGE="http://webob.org/ https://pypi.python.org/pypi/WebOb"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc test"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}] )"
RDEPEND=""
S=${WORKDIR}/${MY_P}
python_compile_all() {
if use doc; then
"${PYTHON}" setup.py build_sphinx || die
fi
}
python_test() {
nosetests --verbose -w tests || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
distutils-r1_python_install_all
}