summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-01-30 07:34:27 +0100
committerMichał Górny <mgorny@gentoo.org>2026-01-30 07:34:27 +0100
commitead8ab5de99cf58e93917a2fdda558996fdc3bee (patch)
tree84bc36f473a0545b6719f261fa7b8b18c5d6b658 /dev-python
parente21517f88d45440a2f866a62e8bba4ca2774713c (diff)
downloadgentoo-ead8ab5de99cf58e93917a2fdda558996fdc3bee.tar.gz
gentoo-ead8ab5de99cf58e93917a2fdda558996fdc3bee.tar.bz2
gentoo-ead8ab5de99cf58e93917a2fdda558996fdc3bee.zip
dev-python/alembic: Bump to 1.18.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/alembic/Manifest1
-rw-r--r--dev-python/alembic/alembic-1.18.3.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest
index cda3dc1ad3dd..4011d7e1a8ce 100644
--- a/dev-python/alembic/Manifest
+++ b/dev-python/alembic/Manifest
@@ -2,3 +2,4 @@ DIST alembic-1.17.2.tar.gz 1988064 BLAKE2B 7ad3212322d900b464de8fb7c2fd341dacbb7
DIST alembic-1.18.0.tar.gz 2043788 BLAKE2B 1e32e82be3d148b437d2648368e1d4f918a50201516939f1c6d3a2d9f283b6df1e331c43661c4783ba15b9acd11684b075b869af138600a247e3ad49783a4f46 SHA512 77f9d9e3a1c7179e655176ffb630e8f6c90fc646e6d74172f52e41858ba7ca150eb088e54a57fbe08bcec9109ed61e3bfe10b017ecc42cde9a9adbd82c273d45
DIST alembic-1.18.1.tar.gz 2044319 BLAKE2B cae1cfba98c726dbb62a0118f078775251e3cd36fcafb2a31915273d3ac80642975ba22ec26ec30603f17f29a428e9a8f9055cfdc83c01eb2cd3d3932ac44111 SHA512 61badced91f07e0179dd034792133557b6adcc406a478b78960cf59f0a34a409372b7f482de29b581fccc314a8cfd3e493755c716c593d40303d8099646699aa
DIST alembic-1.18.2.tar.gz 2048272 BLAKE2B abbf8db02bf33954506c4abc2b12b8460bebd916413e6a5059893e8903128f2ae863150931e795b18e2a84d63019cfc22f9f48778a5490aab8ae93a521a109cc SHA512 3e9e9a9ca03a3cb93ba127a9566892430eb5619270d6e40ec6a753a9ce77b505b8cc6020f6ea52288ed5347da1fe5c8603dc3b14d4acf23c9947735abcdb43a8
+DIST alembic-1.18.3.tar.gz 2052564 BLAKE2B 4afc7f97a3bfcc0521177d5d3b748dc527ced6321779408d9f91cc2162bcdf21a6fb1a54300715a2708e422db562f460570a8abc96c54aff7e7f8476bd4691e6 SHA512 5a3430b559f97f91484ed4caea00c1ccc23bde8379bffbc2e06551a188eaf979f452bacbd019625058351254307d2d83d87a6adabd9855eeec949362ddf6309c
diff --git a/dev-python/alembic/alembic-1.18.3.ebuild b/dev-python/alembic/alembic-1.18.3.ebuild
new file mode 100644
index 000000000000..abef2f60eb68
--- /dev/null
+++ b/dev-python/alembic/alembic-1.18.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2026 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.23[${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
+}