From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E2961396D2 for ; Sat, 16 Sep 2017 17:10:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6ABB51FC05D; Sat, 16 Sep 2017 17:10:13 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30DD31FC05D for ; Sat, 16 Sep 2017 17:10:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D86C33FE49 for ; Sat, 16 Sep 2017 17:10:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B642907F for ; Sat, 16 Sep 2017 17:10:10 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1505581806.e37d1e050c2d7b80dfb0d4d2c99e163393b852b4.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/alembic/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/alembic/Manifest dev-python/alembic/alembic-0.9.5.ebuild X-VCS-Directories: dev-python/alembic/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: e37d1e050c2d7b80dfb0d4d2c99e163393b852b4 X-VCS-Branch: master Date: Sat, 16 Sep 2017 17:10:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: eebd24f6-5c0e-404f-8e53-23f26df16f5d X-Archives-Hash: f3ac9410290d220983f7ccdc4bfbafd5 commit: e37d1e050c2d7b80dfb0d4d2c99e163393b852b4 Author: Patrick Lauer gentoo org> AuthorDate: Sat Sep 16 17:06:13 2017 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Sat Sep 16 17:10:06 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e37d1e05 dev-python/alembic: Bump Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-python/alembic/Manifest | 1 + dev-python/alembic/alembic-0.9.5.ebuild | 47 +++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 6546f109fce..d686530f665 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 00000000000..d031f72bfde --- /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 +}