diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-15 19:27:11 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-01-15 19:27:11 +0000 |
| commit | 12c3c12b381ac14ce11e9db42e5a655a162a12fe (patch) | |
| tree | a2fd6290fec8a97a499132e22fbabb390b8b76e4 /dev-python/alembic | |
| parent | c9b4bdbc36492fc6413d2a5c81302e75e9fcd790 (diff) | |
| download | baldeagleos-repo-12c3c12b381ac14ce11e9db42e5a655a162a12fe.tar.gz baldeagleos-repo-12c3c12b381ac14ce11e9db42e5a655a162a12fe.tar.xz baldeagleos-repo-12c3c12b381ac14ce11e9db42e5a655a162a12fe.zip | |
Adding metadata
Diffstat (limited to 'dev-python/alembic')
| -rw-r--r-- | dev-python/alembic/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/alembic/alembic-1.18.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index f7741a993c67..60a80ac68778 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1,2 +1,3 @@ DIST alembic-1.17.2.tar.gz 1988064 BLAKE2B 7ad3212322d900b464de8fb7c2fd341dacbb73698fbc471d99f353ebca0da98035c7032a550b7c78dcbdfb85058d456791602a05ac1caa3f34b201e319b8d9a2 SHA512 39ac83508b505fb81c26afdbe28edc3b9aeffd536d63f0ba8e8015fde4a815b899d269417a18aa4325a08a97cb74b6c52057960ecec6839fe3dc070a6752b9c5 DIST alembic-1.18.0.tar.gz 2043788 BLAKE2B 1e32e82be3d148b437d2648368e1d4f918a50201516939f1c6d3a2d9f283b6df1e331c43661c4783ba15b9acd11684b075b869af138600a247e3ad49783a4f46 SHA512 77f9d9e3a1c7179e655176ffb630e8f6c90fc646e6d74172f52e41858ba7ca150eb088e54a57fbe08bcec9109ed61e3bfe10b017ecc42cde9a9adbd82c273d45 +DIST alembic-1.18.1.tar.gz 2044319 BLAKE2B cae1cfba98c726dbb62a0118f078775251e3cd36fcafb2a31915273d3ac80642975ba22ec26ec30603f17f29a428e9a8f9055cfdc83c01eb2cd3d3932ac44111 SHA512 61badced91f07e0179dd034792133557b6adcc406a478b78960cf59f0a34a409372b7f482de29b581fccc314a8cfd3e493755c716c593d40303d8099646699aa diff --git a/dev-python/alembic/alembic-1.18.1.ebuild b/dev-python/alembic/alembic-1.18.1.ebuild new file mode 100644 index 000000000000..5f0d2e92631e --- /dev/null +++ b/dev-python/alembic/alembic-1.18.1.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=( python3_{10..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 +} |
