diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2020-05-20 11:13:26 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2020-05-20 11:13:38 -0500 |
commit | daa027ef1e0fad380a290c5bcae6c864e50ccda3 (patch) | |
tree | ed900e3e9d993a38b1dd866af5184019c0d9f589 /dev-python/alembic | |
parent | dev-libs/kuserfeedback: amd64 stable wrt bug #721452 (diff) | |
download | gentoo-daa027ef1e0fad380a290c5bcae6c864e50ccda3.tar.gz gentoo-daa027ef1e0fad380a290c5bcae6c864e50ccda3.tar.bz2 gentoo-daa027ef1e0fad380a290c5bcae6c864e50ccda3.zip |
dev-python/alembic: 1.4.2 bump
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'dev-python/alembic')
-rw-r--r-- | dev-python/alembic/Manifest | 1 | ||||
-rw-r--r-- | dev-python/alembic/alembic-1.4.2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 3ba7c873bed6..00fa6f5c4392 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -1 +1,2 @@ DIST alembic-1.0.8.tar.gz 1030713 BLAKE2B 67cb80ed064e99f27e41a7ae2e42231794c177f96b95e2c3409a0ebc26e5323665147b2721efcc4a4d8ee2a71ada76408187f39ff5ad3745de64ed31f87d2895 SHA512 7a2ab63c6a823a32f45cd8ff5b763671806a8fa3d2b31e09c2051bdf92784fdafea1e3be217d84885d92eaf550e223ef77fd6fd387d35a5882d60ebcf042d835 +DIST alembic-1.4.2.tar.gz 1092045 BLAKE2B 5f4001a756aacbb4db509669bc0d4d7c59c38e2983c433283243efa97bf28a22e38bcfd28a4bc72573e8ab78d6590e78f4e12a5b9dd08b60cf5a84520b955056 SHA512 82bdfe442c19033aa2b802ec49edd13ed265c00a2b5a048490a83ffa8e53587c56a90b64d554e746a9189923419c528482cb7a7c950c210e0de47b32fa7c270e diff --git a/dev-python/alembic/alembic-1.4.2.ebuild b/dev-python/alembic/alembic-1.4.2.ebuild new file mode 100644 index 000000000000..500a91574ec7 --- /dev/null +++ b/dev-python/alembic/alembic-1.4.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit distutils-r1 + +DESCRIPTION="database migrations tool, written by the author of SQLAlchemy" +HOMEPAGE="https://bitbucket.org/zzzeek/alembic" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test doc" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/python-editor-0.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] )" +# For test phase +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + # suite passes all if run from source. The residual fail & error are quite erroneous + rm tests/test_script_consumption.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + ${EPYTHON} run_tests.py || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/. ) + + distutils-r1_python_install_all +} |