diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/alembic | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.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.4.ebuild | 57 | ||||
| -rw-r--r-- | dev-python/alembic/metadata.xml | 13 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest new file mode 100644 index 000000000000..b61759e40937 --- /dev/null +++ b/dev-python/alembic/Manifest @@ -0,0 +1 @@ +DIST alembic-1.18.4.tar.gz 2056725 BLAKE2B 5de761b6dc383a4f44532bcbeeb6520836cae8992a09c24a5e268d05c835caa5d5e395873c97b650942fe94b995cc995dae8f8c57278d28aa3d1c0987830e5f1 SHA512 ae38b0551858573b6b602b56537a518c7169d4fadef7b11d8112b2427402b745ea5e3cd4387c2b49fec8158cf505de7206919caa10d73445446bb53e264fd448 diff --git a/dev-python/alembic/alembic-1.18.4.ebuild b/dev-python/alembic/alembic-1.18.4.ebuild new file mode 100644 index 000000000000..4500ba72f4a7 --- /dev/null +++ b/dev-python/alembic/alembic-1.18.4.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_{13..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 +} diff --git a/dev-python/alembic/metadata.xml b/dev-python/alembic/metadata.xml new file mode 100644 index 000000000000..9bc037d3a9cd --- /dev/null +++ b/dev-python/alembic/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <bugs-to>https://github.com/sqlalchemy/alembic/issues</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
