commit:     987380cb3e7fe38e7fd11555a3f1b76d6d575202
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 15 06:33:59 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 15 06:56:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987380cb

dev-python/alembic: Bump to 1.17.2

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

 dev-python/alembic/Manifest              |  1 +
 dev-python/alembic/alembic-1.17.2.ebuild | 57 ++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest
index 8a1091fb6815..35d035d959b1 100644
--- a/dev-python/alembic/Manifest
+++ b/dev-python/alembic/Manifest
@@ -1,3 +1,4 @@
 DIST alembic-1.16.5.tar.gz 1969868 BLAKE2B 
9798e371ac26b5f6042bfc057e3b308d026d1b58446d70c23408ce0bd64c2115773af73868cdda5aa1fb303ec54eba65687d515b06b5cd774ed551c33f093e10
 SHA512 
871aa27c955c0b3ea8aed4c1f3ca5595d21e8b52b09eef9c225f5acba1c8011b6ff1a3c1081583cfefe49265739f9f3a358cf33aea4bb442636a3a9469cb4130
 DIST alembic-1.17.0.tar.gz 1975526 BLAKE2B 
0549b8f2f7f595507a34b727dc10290a5edb36613ced69686bef5148ef9feb3cc61441e247ed1c68a78e579f3c7499bbeac871dd6d539f49b04d6f4ee9a091c8
 SHA512 
24ac578890d9258d6f995632a426a204979370bd199d4b66db472919f97ea602f657f5d3effadcebc72167dbf5d1b94d3b8ae5631a988bbba5adc1927502ed4f
 DIST alembic-1.17.1.tar.gz 1981285 BLAKE2B 
d5887f6135510de970bfcb65553f341a5b5693f3ea59c09785fc84a1cb06eb1bacc8c22887a9af38bf07acf9237a2ee2a00dd979dd5d2e2a2d2f849ee0f1c4d9
 SHA512 
35d2e0f9f3c7548fb1453e076696b2954de76a751bd0327b4b60c613302ccefa78f5f7081d6a99ca83bd38a827ae554e1dcdc48c3ff5eba111ea6df5e1c6736f
+DIST alembic-1.17.2.tar.gz 1988064 BLAKE2B 
7ad3212322d900b464de8fb7c2fd341dacbb73698fbc471d99f353ebca0da98035c7032a550b7c78dcbdfb85058d456791602a05ac1caa3f34b201e319b8d9a2
 SHA512 
39ac83508b505fb81c26afdbe28edc3b9aeffd536d63f0ba8e8015fde4a815b899d269417a18aa4325a08a97cb74b6c52057960ecec6839fe3dc070a6752b9c5

diff --git a/dev-python/alembic/alembic-1.17.2.ebuild 
b/dev-python/alembic/alembic-1.17.2.ebuild
new file mode 100644
index 000000000000..73a582d9ea41
--- /dev/null
+++ b/dev-python/alembic/alembic-1.17.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy"
+HOMEPAGE="
+       https://github.com/sqlalchemy/alembic/
+       https://pypi.org/project/alembic/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc"
+
+RDEPEND="
+       >=dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
+       dev-python/mako[${PYTHON_USEDEP}]
+       >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               sys-libs/timezone-data
+       )
+"
+
+EPYTEST_PLUGINS=()
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=()
+
+       if ! has_version "dev-python/black[${PYTHON_USEDEP}]"; then
+               EPYTEST_DESELECT+=(
+                       tests/test_post_write.py::RunHookTest::test_module
+                       
tests/test_post_write.py::RunHookTest::test_module_black_with_cwd
+                       
tests/test_post_write.py::RunHookTest::test_module_filename_interpolation
+                       
tests/test_post_write.py::RunHookTest::test_module_path_in_config
+               )
+       fi
+
+       # setup.cfg contains -p no:warnings in addopts which triggers
+       # datetime.utcfromtimestamp() deprecation warning as an error in py3.12
+       epytest -o addopts=
+}
+
+python_install_all() {
+       use doc && local HTML_DOCS=( docs/. )
+       distutils-r1_python_install_all
+}

Reply via email to