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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1BFE8158089 for ; Wed, 13 Sep 2023 02:42:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63ED62BC137; Wed, 13 Sep 2023 02:42:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47A2A2BC137 for ; Wed, 13 Sep 2023 02:42:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F06A335CA6 for ; Wed, 13 Sep 2023 02:42:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E11DE1191 for ; Wed, 13 Sep 2023 02:42:26 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1694572747.ca12ab944d069c52eb239bc9663dbd20c9c82130.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-migrate/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flask-migrate/Manifest dev-python/flask-migrate/flask-migrate-4.0.5.ebuild X-VCS-Directories: dev-python/flask-migrate/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ca12ab944d069c52eb239bc9663dbd20c9c82130 X-VCS-Branch: master Date: Wed, 13 Sep 2023 02:42:26 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0b65ec88-dcb8-4a97-8e5e-8588ab80b01c X-Archives-Hash: 7bd765acbd38cc5249415bede21ad9ab commit: ca12ab944d069c52eb239bc9663dbd20c9c82130 Author: Michał Górny gentoo org> AuthorDate: Wed Sep 13 02:39:07 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Sep 13 02:39:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca12ab94 dev-python/flask-migrate: Bump to 4.0.5 Signed-off-by: Michał Górny gentoo.org> dev-python/flask-migrate/Manifest | 1 + .../flask-migrate/flask-migrate-4.0.5.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/flask-migrate/Manifest b/dev-python/flask-migrate/Manifest index 3a41bb9ee078..4b9d15cdba7e 100644 --- a/dev-python/flask-migrate/Manifest +++ b/dev-python/flask-migrate/Manifest @@ -1 +1,2 @@ DIST Flask-Migrate-4.0.4.gh.tar.gz 26635 BLAKE2B 2edb3143332439b3dfddba2ee09661bf93771e5747b729e90af27c80e22ea4f9e8f13a04a3676e72514e94113128113a73cc804ff641d587419376ace453bb78 SHA512 66d7a96aafe81e94b59f3e510036dda82047c53a9bf67654ee5fe77ee30361f516a36000648f58de2743e1fa288302be76a82601a1eeae65f0acb8fd486fa9c1 +DIST Flask-Migrate-4.0.5.gh.tar.gz 26827 BLAKE2B 4b674856bc1177857b1272740351e953099a22f981faf63714ac07748308c77a599ce942e273858df2b0e010a4b962e8c8c9488c3bb750f5c4e9037e4a0c58bf SHA512 cdc02e3f567119604e56e9cafed3e7b40e7335d4c3f42cffb26515a4cec12ff34c16f8d5ae036d841cf846985973980d820cdc5d87a99ebf634b3b17becaeb69 diff --git a/dev-python/flask-migrate/flask-migrate-4.0.5.ebuild b/dev-python/flask-migrate/flask-migrate-4.0.5.ebuild new file mode 100644 index 000000000000..d76257833461 --- /dev/null +++ b/dev-python/flask-migrate/flask-migrate-4.0.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +MY_P="Flask-Migrate-${PV}" +DESCRIPTION="SQLAlchemy database migrations for Flask applications using Alembic" +HOMEPAGE=" + https://github.com/miguelgrinberg/Flask-Migrate/ + https://pypi.org/project/Flask-Migrate/ +" +SRC_URI=" + https://github.com/miguelgrinberg/Flask-Migrate/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/alembic-1.9.0[${PYTHON_USEDEP}] + >=dev-python/flask-0.9[${PYTHON_USEDEP}] + >=dev-python/flask-sqlalchemy-1.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +python_test() { + local -x PATH=${T}/bin:${PATH} + + mkdir -p "${T}"/bin || die + cat > "${T}"/bin/flask <<-EOF || die + #!/bin/sh + exec ${EPYTHON} -m flask "\${@}" + EOF + chmod +x "${T}"/bin/flask || die + + eunittest +}