commit:     bc19b3ff5b797fbecdbb28e7160f0854cf3017ba
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  6 02:52:02 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep  6 09:25:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc19b3ff

dev-python/bottle: Bump to 0.13.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/bottle/Manifest             |  1 +
 dev-python/bottle/bottle-0.13.0.ebuild | 42 ++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/bottle/Manifest b/dev-python/bottle/Manifest
index f3903aaa686c..4e60f8223bf3 100644
--- a/dev-python/bottle/Manifest
+++ b/dev-python/bottle/Manifest
@@ -1 +1,2 @@
 DIST bottle-0.12.25.tar.gz 74231 BLAKE2B 
2856d94e1525f21e272d70ca3101188ea65417179342d7b3e971c5d1a3be77265e4197e5d29764a5739adbd984883ed121524f29e6a5933b8681e2c34b511a57
 SHA512 
14b8ed1ffd58f9667d451872ccf73a6f4bf8f7ffb9329f55314f90c770630cfe3f9956f786bcc7fd5f67fde22d14961952969af405912ebe71f019ca6599c975
+DIST bottle-0.13.0.tar.gz 99295 BLAKE2B 
ad97db9c0d9313d836fc166809205b0b812e1d7ac3de05b5610aada01a19e8c785ccf8254304223fa77606f283d2e4621c5db2c5f36e950756c5ffef0bda4fa9
 SHA512 
17951d723c960ed045500c3721b0cccb3015c69f9e3cd2813e29984dbc16cffa63b108f18f36e0b3cf32b25bf9d900603f58569e1ab65bf53096c056d6ea6714

diff --git a/dev-python/bottle/bottle-0.13.0.ebuild 
b/dev-python/bottle/bottle-0.13.0.ebuild
new file mode 100644
index 000000000000..617c841c54a0
--- /dev/null
+++ b/dev-python/bottle/bottle-0.13.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="A fast and simple micro-framework for small web-applications"
+HOMEPAGE="
+       https://bottlepy.org/
+       https://github.com/bottlepy/bottle/
+       https://pypi.org/project/bottle/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/legacy-cgi[${PYTHON_USEDEP}]
+       ' 3.13)
+"
+BDEPEND="
+       test? (
+               dev-python/mako[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests unittest
+
+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`'
+}

Reply via email to