summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2017-09-16 17:06:13 +0000
committerPatrick Lauer <patrick@gentoo.org>2017-09-16 17:10:06 +0000
commite37d1e050c2d7b80dfb0d4d2c99e163393b852b4 (patch)
tree92f4bf35ebb42388e395ead4dab11bd5d6dfd8e1 /dev-python/alembic
parentdev-python/numba: Bump (diff)
downloadgentoo-e37d1e050c2d7b80dfb0d4d2c99e163393b852b4.tar.gz
gentoo-e37d1e050c2d7b80dfb0d4d2c99e163393b852b4.tar.bz2
gentoo-e37d1e050c2d7b80dfb0d4d2c99e163393b852b4.zip
dev-python/alembic: Bump
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-python/alembic')
-rw-r--r--dev-python/alembic/Manifest1
-rw-r--r--dev-python/alembic/alembic-0.9.5.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest
index 6546f109fced..d686530f6651 100644
--- a/dev-python/alembic/Manifest
+++ b/dev-python/alembic/Manifest
@@ -1,2 +1,3 @@
DIST alembic-0.8.10.tar.gz 976028 SHA256 0e3b50e96218283ec7443fb661199f5a81f5879f766967a8a2d25e8f9d4e7919 SHA512 28456eb41a2b2d0d870f34cfddf46c25ed01fd1ee99b1a3697e6c0c5369f49245e54db0d7232cc839cf03a5c48efb48a8b967586b3a81ba9462b485b6782a415 WHIRLPOOL 7aeac48eb5fa81c91bfbf9c601875fe3329f1f899f5c20321574bc7141f82aa4dee8c7388cad67d28f6a13ad5d016a14beb7e84386f8a641d10c00cec1839cb1
DIST alembic-0.9.3.tar.gz 991744 SHA256 57f2ede554c0b18f1cf811cfbb3b02c586a5422df94922e3821883ba0b8c616c SHA512 1f39521a1cc9e1e8f8d344f2e48e1f656aed2ffda8e0608b9c5a9a7a1f0e4d16865ae0fba903023512a198afc70e72c683b0ff2bd1bc2e9ba6667009e940a63e WHIRLPOOL 3ffc0bac46b4e0e89fa1e2afff2c1f2a6df5f9e3e9af3a4245ea4d048024b7b34896910db79d7bfc7be73fa9cb182d8a52425b67d5f57402984b6f3db39dc085
+DIST alembic-0.9.5.tar.gz 990808 SHA256 8bdcb4babaa16b9a826f8084949cc2665cb328ecf7b89b3224b0ab85bd16fd05 SHA512 7588a681a6cf50a58ad697cb879d465d259880a473647d598242609c6321a8be7f53fc0d9a24fe976c4c65750eb0acc1a8e60253d4ccda33c87319ac9985e8b8 WHIRLPOOL a402d2294169243d97461500d4ef06af536c319ad1e957f282b59aa2c8756c512e67dff7b9887706994fbfc29b5d46af3a0f1df79d5ca76772524f43796c0ea5
diff --git a/dev-python/alembic/alembic-0.9.5.ebuild b/dev-python/alembic/alembic-0.9.5.ebuild
new file mode 100644
index 000000000000..d031f72bfdea
--- /dev/null
+++ b/dev-python/alembic/alembic-0.9.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+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"
+
+# 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}]
+ 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
+}