diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/alembic/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/alembic/alembic-1.16.1.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 32607d4a2855..f591dce93954 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1 +1,2 @@ DIST alembic-1.15.2.tar.gz 1925573 BLAKE2B 0711f6132ff3209828896c7efc78e0f4f2d7fd304a3e497b115f4f91521c5c57f852b2a515565e0e18d6695ec05d524b49500e73bf4247d7500f9a74380e0a5a SHA512 2d749123181c58985794f1c51d6f67d5fb11dbd0dd38d696a2b9e28a59560bf8f8d93473b0bce1e95426bbe65c0b24f9b3287a5819e6606dd982d7ecdedbcdab +DIST alembic-1.16.1.tar.gz 1955006 BLAKE2B 69c29af02825c691511075c6cda81a98bb065a35ae07d7b0fc0817148d6c6caeb8c8a126474469991a2b0042cfce95e7b5c863468db95c6bd998f5c0dc850dc2 SHA512 e821ec547686f93cad49468559d68399f4abd8288170491f626b93b160d01370867b7b14a6bf28983189757edfdaae396118f7ab11f7d4e24ff61aee305fab67 diff --git a/dev-python/alembic/alembic-1.16.1.ebuild b/dev-python/alembic/alembic-1.16.1.ebuild new file mode 100644 index 000000000000..150d8493b3bf --- /dev/null +++ b/dev-python/alembic/alembic-1.16.1.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_11 python3_{11..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 +} |
