mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/bottle: Bump
Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST bottle-0.12.12.tar.gz 71554 SHA256 3d4b6b0e22f67b421c273105b30d9a21fd147eaf0c1576172378ee034fbf5313 SHA512 cdba3859129680f08b8c641708fd884ccf46d404786cbf48435d752fece998a446f49799e4e05e979b967843866f3e966a35a6cac7aed3270df55fae508bae31 WHIRLPOOL 68bd9399c55409139bd93b588240a3569ff9773b30949d86b5a9bba7882dd6d824cb22883c922f3f910764c9655e0e91fb40b3c9675790a67e1b6330122ab741
|
||||
DIST bottle-0.12.13.tar.gz 70870 SHA256 39b751aee0b167be8dffb63ca81b735bbf1dd0905b3bc42761efedee8f123355 SHA512 86d106eb08e0b736a85aa69871f2d1e23c1d6f71948b85718daf131002c53c000e092ffdfe5b36c60460473467a2ca2b5af19767344689ffe638245e6859a80b WHIRLPOOL 4193ca33071e0d87a430f24bf2adaf2a0b02bb576bba4483ce6ef848f91a0202d028f8982e60d3c8946abdc2230ddf63a737346e006b8880c0c5a436b67bb01a
|
||||
|
||||
47
dev-python/bottle/bottle-0.12.13.ebuild
Normal file
47
dev-python/bottle/bottle-0.12.13.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="A fast and simple micro-framework for small web-applications"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/bottle http://bottlepy.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( dev-python/mako[$(python_gen_usedep 'python*')] )"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.12.8-py3.5-backport.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e '/scripts/d' setup.py || die
|
||||
|
||||
# Remove test file requring connection to network
|
||||
rm test/test_server.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# A few odd fails in the suite under pypy
|
||||
# https://github.com/bottlepy/bottle/issues/714
|
||||
"${PYTHON}" test/testall.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Templating support" dev-python/mako
|
||||
elog "Due to problems with bottle.py being in /usr/bin (see bug #474874)"
|
||||
elog "we do as most other distros and do not install the script anymore."
|
||||
elog "If you do want/have to call it directly rather than through your app,"
|
||||
elog "please use the following instead:"
|
||||
elog ' `python -m bottle`'
|
||||
}
|
||||
Reference in New Issue
Block a user