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 B6B2F13934E for ; Mon, 26 Jul 2021 09:53:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A1F50E0976; Mon, 26 Jul 2021 09:53:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 870C8E096E for ; Mon, 26 Jul 2021 09:53:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 273AD342DF2 for ; Mon, 26 Jul 2021 09:53:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A596F7AF for ; Mon, 26 Jul 2021 09:53:24 +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: <1627293140.05a53fb2e3b96c306fd8ce9525931eba427159ff.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/metadata.xml dev-python/srt/srt-3.4.1.ebuild X-VCS-Directories: dev-python/srt/ X-VCS-Committer: smaniotto.nicola X-VCS-Committer-Name: Nicola Smaniotto X-VCS-Revision: 05a53fb2e3b96c306fd8ce9525931eba427159ff X-VCS-Branch: dev Date: Mon, 26 Jul 2021 09:53:24 +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: 250505a2-55b5-4fbc-a724-b7b57130ab61 X-Archives-Hash: 4ef084fa8e41d017ab62db0f1c2e2a22 commit: 05a53fb2e3b96c306fd8ce9525931eba427159ff Author: Nicola Smaniotto gmail com> AuthorDate: Mon Jul 26 08:51:12 2021 +0000 Commit: Nicola Smaniotto gmail com> CommitDate: Mon Jul 26 09:52:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05a53fb2 dev-python/srt: new package (3.0.0) Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Nicola Smaniotto gmail.com> dev-python/srt/Manifest | 1 + dev-python/srt/metadata.xml | 8 ++++++++ dev-python/srt/srt-3.4.1.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/dev-python/srt/Manifest b/dev-python/srt/Manifest new file mode 100644 index 000000000..57a8d4a7d --- /dev/null +++ b/dev-python/srt/Manifest @@ -0,0 +1 @@ +DIST srt-3.4.1.tar.gz 23723 BLAKE2B 33445cb969db64e89978c06fcb0b8145047a1f40082500f507b8c70d42489dc083f7b2972868bf08a9f5fcb1b9a279df279f034455d0b326f3c03da086bd59c5 SHA512 bb214935203b4d3a8bc1dc7968ed318ed55709b880046dd070c3547e5c5e7df6d12f445e3be83a2e938096655008705a76461c404494a1c8eccee36f2ff465cd diff --git a/dev-python/srt/metadata.xml b/dev-python/srt/metadata.xml new file mode 100644 index 000000000..cbe3c6a53 --- /dev/null +++ b/dev-python/srt/metadata.xml @@ -0,0 +1,8 @@ + + + + + smaniotto.nicola@gmail.com + Nicola Smaniotto + + diff --git a/dev-python/srt/srt-3.4.1.ebuild b/dev-python/srt/srt-3.4.1.ebuild new file mode 100644 index 000000000..5b60b2ff6 --- /dev/null +++ b/dev-python/srt/srt-3.4.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +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="public-domain" +SLOT="0" +KEYWORDS="~amd64" + +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." +}