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 6C03B1580B4 for ; Sat, 4 Sep 2021 19:20:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CB97E0814; Sat, 4 Sep 2021 19:20:45 +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 49A58E0814 for ; Sat, 4 Sep 2021 19:20: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 DCB6433D4A6 for ; Sat, 4 Sep 2021 19:20:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DD769E for ; Sat, 4 Sep 2021 19:20:42 +0000 (UTC) From: "Stefan Strogin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stefan Strogin" Message-ID: <1630783185.54a85dc02ea24b8cd262be21451e145735e217a5.steils@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/openshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/openshot/Manifest media-video/openshot/openshot-2.6.0.ebuild X-VCS-Directories: media-video/openshot/ X-VCS-Committer: steils X-VCS-Committer-Name: Stefan Strogin X-VCS-Revision: 54a85dc02ea24b8cd262be21451e145735e217a5 X-VCS-Branch: master Date: Sat, 4 Sep 2021 19:20:42 +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: df446f8b-a6fe-4d3f-b923-a898d57a23bf X-Archives-Hash: 2fe499084e98ccc434df70cec1ae860f commit: 54a85dc02ea24b8cd262be21451e145735e217a5 Author: Stefan Strogin gentoo org> AuthorDate: Sat Sep 4 19:19:00 2021 +0000 Commit: Stefan Strogin gentoo org> CommitDate: Sat Sep 4 19:19:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a85dc0 media-video/openshot: upgrade to 2.6.0 Closes: https://bugs.gentoo.org/810484 Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Stefan Strogin gentoo.org> media-video/openshot/Manifest | 1 + media-video/openshot/openshot-2.6.0.ebuild | 55 ++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/media-video/openshot/Manifest b/media-video/openshot/Manifest index 39cbf60fcec..0f2d2af3aba 100644 --- a/media-video/openshot/Manifest +++ b/media-video/openshot/Manifest @@ -1,2 +1,3 @@ DIST openshot-2.5.1.tar.gz 60217543 BLAKE2B 3f195b14a9fb004e845c731be64138c20da84ac0c90db43b547ee9ea059d32f85ada04aa0462b755a7ea5c3d3b30088fab35414147dded55deb9d5eab5926d2d SHA512 8254a45254bbe523b6485b9598022de2c46ec30818e606ac4665790d29486693c4efe9f5bc55ee43d6342de6782cf0090e4bc880e831c08e3b1218bca555af14 DIST openshot-2.5.1_p20210228.tar.gz 64780534 BLAKE2B c31bd2531df28ce9bed688fbc34dc383018024ffe9364699e45c08135f5c0692d97f601bc578ba07fd44e2f8f58f0b27c5bc10bb3af48c8cf0be17a45b966116 SHA512 b5ce39d31bc1b997d272b3817ccdcef4749126755e329a278700f6735a1484b0c2b917e04a5f1b9826ee0e5ea983a624be59af16bf79f038be44a29763cc68b5 +DIST openshot-2.6.0.tar.gz 68096356 BLAKE2B e34ef6ee043565a895a110f867bbdbe4f49290d883224eec1c710f7b94186cea3a5083502b5c80d2dc02ddd61fc87d0ceacd397465892bd5e149b1846a2328ef SHA512 9e569f318672047e8251d00ce0bb80e4b295d5daba58c11a3e286b7daebf45b35a34d4ecc5a9d81891b0a68d75d813a78023ee984b8690a2d1217a8517239ee9 diff --git a/media-video/openshot/openshot-2.6.0.ebuild b/media-video/openshot/openshot-2.6.0.ebuild new file mode 100644 index 00000000000..9add9781081 --- /dev/null +++ b/media-video/openshot/openshot-2.6.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9} ) +PYTHON_REQ_USE=xml +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 xdg + +MY_PN="${PN}-qt" + +DESCRIPTION="Award-winning free and open-source video editor" +HOMEPAGE="https://openshot.org/" +SRC_URI="https://github.com/OpenShot/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="GPL-3+" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="$(python_gen_cond_dep ' + dev-python/httplib2[${PYTHON_MULTI_USEDEP}] + dev-python/PyQt5[${PYTHON_MULTI_USEDEP},gui,svg,widgets] + dev-python/PyQtWebEngine[${PYTHON_MULTI_USEDEP}] + dev-python/pyzmq[${PYTHON_MULTI_USEDEP}] + dev-python/requests[${PYTHON_MULTI_USEDEP}] + ') + >=media-libs/libopenshot-0.2.6:0=[python,${PYTHON_SINGLE_USEDEP}]" +DEPEND="" +BDEPEND="$(python_gen_cond_dep ' + doc? ( dev-python/sphinx[${PYTHON_MULTI_USEDEP}] ) + ')" + +src_prepare() { + distutils-r1_python_prepare_all + # prevent setup.py from trying to update MIME databases + sed -i 's/^ROOT =.*/ROOT = False/' setup.py || die +} + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +} + +python_test() { + distutils_install_for_testing + "${EPYTHON}" src/tests/query_tests.py -v --platform minimal || die +}