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 29D98158093 for ; Wed, 1 Jun 2022 01:25:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59545E087E; Wed, 1 Jun 2022 01:25:32 +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 39934E087E for ; Wed, 1 Jun 2022 01:25:32 +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 3DE8A341354 for ; Wed, 1 Jun 2022 01:25:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 647E94EC for ; Wed, 1 Jun 2022 01:25:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1654046715.1764e9e0c969406f14d2023be3c57627e8eae7da.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/enzyme/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/enzyme/enzyme-0.4.1-r3.ebuild X-VCS-Directories: dev-python/enzyme/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1764e9e0c969406f14d2023be3c57627e8eae7da X-VCS-Branch: master Date: Wed, 1 Jun 2022 01:25:28 +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: 8dacba07-94ae-4b82-b117-84d289a5c14b X-Archives-Hash: 2db02518ab159b2b380c9424ceb1afd8 commit: 1764e9e0c969406f14d2023be3c57627e8eae7da Author: Sam James gentoo org> AuthorDate: Wed Jun 1 01:16:55 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jun 1 01:25:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1764e9e0 dev-python/enzyme: update EAPI 7 -> 8 Signed-off-by: Sam James gentoo.org> dev-python/enzyme/enzyme-0.4.1-r3.ebuild | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/dev-python/enzyme/enzyme-0.4.1-r3.ebuild b/dev-python/enzyme/enzyme-0.4.1-r3.ebuild new file mode 100644 index 000000000000..bfd4cac2d90e --- /dev/null +++ b/dev-python/enzyme/enzyme-0.4.1-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE='xml(+)' + +inherit distutils-r1 + +DESCRIPTION="Python video metadata parser" +HOMEPAGE="https://github.com/Diaoul/enzyme https://pypi.org/project/enzyme/" +SRC_URI=" + mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + test? ( mirror://sourceforge/matroska/test_files/matroska_test_w1_1.zip ) +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + app-arch/unzip + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests setup.py + +python_prepare_all() { + if use test; then + mkdir enzyme/tests/test_{mkv,parsers} || die + ln -s "${WORKDIR}"/test*.mkv enzyme/tests/test_mkv/ || die + ln -s "${WORKDIR}"/test*.mkv enzyme/tests/test_parsers/ || die + fi + + distutils-r1_python_prepare_all +}