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 820FB158087 for ; Mon, 24 Jan 2022 16:03:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9AC132BC00F; Mon, 24 Jan 2022 16:03:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85ABF2BC00F for ; Mon, 24 Jan 2022 16:03:18 +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 F18FA342F38 for ; Mon, 24 Jan 2022 16:03:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 851F01F0 for ; Mon, 24 Jan 2022 16:03:15 +0000 (UTC) From: "Nicola Smaniotto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicola Smaniotto" Message-ID: <1643040194.7fcdf48dfcf3fad7aac58b4ed19a46b4ce82f099.smaniotto.nicola@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/srt/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/srt/Manifest dev-python/srt/srt-3.5.1.ebuild X-VCS-Directories: dev-python/srt/ X-VCS-Committer: smaniotto.nicola X-VCS-Committer-Name: Nicola Smaniotto X-VCS-Revision: 7fcdf48dfcf3fad7aac58b4ed19a46b4ce82f099 X-VCS-Branch: dev Date: Mon, 24 Jan 2022 16:03:15 +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: 425caf1c-0acd-46a5-add8-dba3eaae41dc X-Archives-Hash: 5d47f933cbc7a465d7b672d94cdf0167 commit: 7fcdf48dfcf3fad7aac58b4ed19a46b4ce82f099 Author: Nicola Smaniotto gmail com> AuthorDate: Mon Jan 24 16:02:52 2022 +0000 Commit: Nicola Smaniotto gmail com> CommitDate: Mon Jan 24 16:03:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7fcdf48d dev-python/srt: bump to 3.5.1 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Nicola Smaniotto gmail.com> dev-python/srt/Manifest | 1 + dev-python/srt/srt-3.5.1.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/srt/Manifest b/dev-python/srt/Manifest index 96f53df9c..d3539e688 100644 --- a/dev-python/srt/Manifest +++ b/dev-python/srt/Manifest @@ -1,2 +1,3 @@ DIST srt-3.4.1.tar.gz 23723 BLAKE2B 33445cb969db64e89978c06fcb0b8145047a1f40082500f507b8c70d42489dc083f7b2972868bf08a9f5fcb1b9a279df279f034455d0b326f3c03da086bd59c5 SHA512 bb214935203b4d3a8bc1dc7968ed318ed55709b880046dd070c3547e5c5e7df6d12f445e3be83a2e938096655008705a76461c404494a1c8eccee36f2ff465cd DIST srt-3.5.0.tar.gz 24678 BLAKE2B c50704f7811e271116ab6531f4f63eb579b2e34c48e9ab81179d41d08ef803266f3ce7fb0332a9158591326f8a428dda80e3e641db3b4b73cec690cb93af404f SHA512 f5dac7995ce0eddb4da56084b1125200c861a0b21d5b4c8a75c4179a0ce840143abb75f306855ed68170d8c4ab913792c577e21e258ba18bac366c630803a7a5 +DIST srt-3.5.1.tar.gz 24003 BLAKE2B 0ba77727043090310d2db69d9569bde53fcd69a55715e9721a83ee148d382459b1d68b369eee52fc7f99ba5e8aca017128a2d999e44b5ae77dda027a23ecc8bc SHA512 0523b5b31d78db195911ea632adbd25e76d1270510cf9c7432a44bd96e44d4928196c7e4f2eed05bbd73c1d96dcbe99ecea2bd755d697ff659924773c3e6a05e diff --git a/dev-python/srt/srt-3.5.1.ebuild b/dev-python/srt/srt-3.5.1.ebuild new file mode 100644 index 000000000..e484b2fa6 --- /dev/null +++ b/dev-python/srt/srt-3.5.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A tiny library for parsing, modifying, and composing SRT files" +HOMEPAGE="https://github.com/cdown/srt" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +DEPEND=" + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + default + + mv "${S}"/srt_tools/srt "${S}"/srt_tools/srt-cdown || die "Cannot rename the file" + sed -e 's|"srt_tools/srt"|"srt_tools/srt-cdown"|' \ + -i "${S}"/setup.py || die "Cannot update setup.py" + +} + +pkg_postinst() { + ewarn "To avoid conflict with dev-python/pysrt::gentoo the binary has been" + ewarn "renamed /usr/bin/srt-cdown. The python module is still called srt." +}