commit: 42196cba200b418eba4d1b474c4add3798b6e6e4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 29 05:33:33 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 29 05:33:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42196cba
dev-python/alembic: Bump to 1.15.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/alembic/Manifest | 1 +
dev-python/alembic/alembic-1.15.2.ebuild | 46 ++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest
index e6a733ad41c4..60666d5739cc 100644
--- a/dev-python/alembic/Manifest
+++ b/dev-python/alembic/Manifest
@@ -1 +1,2 @@
DIST alembic-1.15.1.tar.gz 1924789 BLAKE2B
e4c5c9528638fad54dcc0ac65b34ee67b12967639aa2dccd11622a31b453e5b9384d72f6c69eed779bfbc42681fcdf6df0d922375ebc9159aeac0b8132681ca0
SHA512
8f1a536293c4ad8bf897ec4d4ea8ebe589a132db5ebd2859efde802e938f81e40ec08e20c477275a65e6f0e59cf0c34f128b54081e5f300ff343b0b21cc478db
+DIST alembic-1.15.2.tar.gz 1925573 BLAKE2B
0711f6132ff3209828896c7efc78e0f4f2d7fd304a3e497b115f4f91521c5c57f852b2a515565e0e18d6695ec05d524b49500e73bf4247d7500f9a74380e0a5a
SHA512
2d749123181c58985794f1c51d6f67d5fb11dbd0dd38d696a2b9e28a59560bf8f8d93473b0bce1e95426bbe65c0b24f9b3287a5819e6606dd982d7ecdedbcdab
diff --git a/dev-python/alembic/alembic-1.15.2.ebuild
b/dev-python/alembic/alembic-1.15.2.ebuild
new file mode 100644
index 000000000000..1a86a6251bbf
--- /dev/null
+++ b/dev-python/alembic/alembic-1.15.2.ebuild
@@ -0,0 +1,46 @@
+# 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 pypy3_11 python3_{10..13} )
+
+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_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ # 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
+}