From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1172996-garchives=archives.gentoo.org@lists.gentoo.org> 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 0F9B21382C5 for <garchives@archives.gentoo.org>; Wed, 20 May 2020 16:13:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6240EE0829; Wed, 20 May 2020 16:13:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 39FD7E0829 for <gentoo-commits@lists.gentoo.org>; Wed, 20 May 2020 16:13:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 41D6934F207 for <gentoo-commits@lists.gentoo.org>; Wed, 20 May 2020 16:13:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFA18244 for <gentoo-commits@lists.gentoo.org>; Wed, 20 May 2020 16:13:42 +0000 (UTC) From: "Matthew Thode" <prometheanfire@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" <prometheanfire@gentoo.org> Message-ID: <1589991218.daa027ef1e0fad380a290c5bcae6c864e50ccda3.prometheanfire@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-1.4.2.ebuild X-VCS-Directories: dev-python/alembic/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: daa027ef1e0fad380a290c5bcae6c864e50ccda3 X-VCS-Branch: master Date: Wed, 20 May 2020 16:13:42 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 07ee0c24-5f96-4569-8eb3-b5a90642ff02 X-Archives-Hash: 1c76fe6f3f4c606ba3a469a38ff8d85b commit: daa027ef1e0fad380a290c5bcae6c864e50ccda3 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> AuthorDate: Wed May 20 16:13:26 2020 +0000 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> CommitDate: Wed May 20 16:13:38 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daa027ef dev-python/alembic: 1.4.2 bump Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> dev-python/alembic/Manifest | 1 + dev-python/alembic/alembic-1.4.2.ebuild | 45 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest index 3ba7c873bed..00fa6f5c439 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 00000000000..500a91574ec --- /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 +}