diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2015-10-15 00:23:50 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2015-10-15 00:23:50 -0500 |
commit | 56ff3ed5f8d531b05a99b37c7fcf0cfb6a0dc5c5 (patch) | |
tree | c8ffd1696fdb789cfeab0e61796e8a8290b0c8b9 /dev-python/alembic | |
parent | dev-python/python-editor: adding for new alembic (diff) | |
download | gentoo-56ff3ed5f8d531b05a99b37c7fcf0cfb6a0dc5c5.tar.gz gentoo-56ff3ed5f8d531b05a99b37c7fcf0cfb6a0dc5c5.tar.bz2 gentoo-56ff3ed5f8d531b05a99b37c7fcf0cfb6a0dc5c5.zip |
dev-python/alembic: bup and py34
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-python/alembic')
-rw-r--r-- | dev-python/alembic/Manifest | 1 | ||||
-rw-r--r-- | dev-python/alembic/alembic-0.8.2.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 18304e6ecda2..879723728aed 100644 --- a/dev-python/alembic/Manifest +++ b/dev-python/alembic/Manifest @@ -2,3 +2,4 @@ DIST alembic-0.6.7.tar.gz 467942 SHA256 55c35e897d2970bae45345ff4c8a190e773a08f4 DIST alembic-0.7.4.tar.gz 604836 SHA256 550f10b2266f689778eced2fed899bfd05755737478454b97fb99385f2e780e5 SHA512 258d2f7fe046e7fd662fae0b68ba19988cc59fd1d0d8bb6e1b3b0ea133d076d649d6bc99933ac50be538d1c4d64062b2b2d259cb042d9bbddf7346d0283af383 WHIRLPOOL eaa17f8b0bd91ca8eb11292bc0be45443b43564b06ec1461c5d6b60dcbd3777c443c6a355164057334080a7dbf37f32cf591f176deb52afdb12d7ca79de4a766 DIST alembic-0.7.6.tar.gz 623931 SHA256 864fa461265d6c97bcefee603e9ef0b6385bda9063d41b3db3e010abbba5ef61 SHA512 08d04f4ad0d5e8fe5741fab7480e6652f26449e393af4406c62acd7aa039618cce8db64ebf113565ee5b98c5e19a813b4ebd2ad15d68a717c48080a3418d517e WHIRLPOOL ce2a5894df399b773a1ee8e8163391fd05c3df8d8b5f6f31bd949f8e5a1ec7b4f837f1eb32e231ce5b5b831faedf35f685b02b02f88075125df2561b2ab64846 DIST alembic-0.7.7.tar.gz 721855 SHA256 abdeded3f92766d30d2e00015f73573e23f96bcb38037fac199a75445e3e66c6 SHA512 5478987f37ca724e168fd4de4bd557ca3344aa0539ae25dd56fc05b855ec02004a1d8c3c14aa3f3715eaaa74431d1b25121810c3f197ba5def67afbbe41e62eb WHIRLPOOL e10e6930a559fa7a8e90dab83a08d3f9c2a252085d4732036e5e07c9b75329d851a64f6d68639eda88fdb136cfc43078434e23e5438551569ca55eb295a192a8 +DIST alembic-0.8.2.tar.gz 931914 SHA256 a69d65a766801c40e921ca24ae358bf081a990f54b867bbdc3e2a73e975550be SHA512 530a30147af4add82c6162f69cf6742831c9909db49bd0ec7245e36db51f8cf008c4696b22df24a8df5ea44cbf3da1c02d1989fbbef349adda238af32e9a061b WHIRLPOOL 699eb29362a0276484cf64148dad6820cbaf41aef11b6f79165ac0aa6b2fbdc2643397bf947378b501acb94e8b9e04b0689903e4c6942b547eda93284f304c3e diff --git a/dev-python/alembic/alembic-0.8.2.ebuild b/dev-python/alembic/alembic-0.8.2.ebuild new file mode 100644 index 000000000000..b5396072cc2d --- /dev/null +++ b/dev-python/alembic/alembic-0.8.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_4 ) + +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 ~x86" +IUSE="test doc" + +# requires.txt cites 'SQLAlchemy>=0.7.3' which is really both old and silly +# because it shatters the testsuite. If 'someone' cares to adhere to correct form +# and edit to -0.7.3, feel free, and then pick up the pieces. +RDEPEND=">=dev-python/sqlalchemy-0.8.4[${PYTHON_USEDEP}] + dev-python/mako[${PYTHON_USEDEP}] + >=dev-python/python-editor-0.3[${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 + + 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 +} |