mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/alembic: Bump to 1.18.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST alembic-1.17.2.tar.gz 1988064 BLAKE2B 7ad3212322d900b464de8fb7c2fd341dacbb73698fbc471d99f353ebca0da98035c7032a550b7c78dcbdfb85058d456791602a05ac1caa3f34b201e319b8d9a2 SHA512 39ac83508b505fb81c26afdbe28edc3b9aeffd536d63f0ba8e8015fde4a815b899d269417a18aa4325a08a97cb74b6c52057960ecec6839fe3dc070a6752b9c5
|
||||
DIST alembic-1.18.0.tar.gz 2043788 BLAKE2B 1e32e82be3d148b437d2648368e1d4f918a50201516939f1c6d3a2d9f283b6df1e331c43661c4783ba15b9acd11684b075b869af138600a247e3ad49783a4f46 SHA512 77f9d9e3a1c7179e655176ffb630e8f6c90fc646e6d74172f52e41858ba7ca150eb088e54a57fbe08bcec9109ed61e3bfe10b017ecc42cde9a9adbd82c273d45
|
||||
|
||||
57
dev-python/alembic/alembic-1.18.0.ebuild
Normal file
57
dev-python/alembic/alembic-1.18.0.ebuild
Normal file
@@ -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.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
|
||||
}
|
||||
Reference in New Issue
Block a user