From: "Nicola Smaniotto" <smaniotto.nicola@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/srt/
Date: Fri, 24 Sep 2021 11:58:06 +0000 (UTC) [thread overview]
Message-ID: <1632484684.dfd6428e99c7828fc05827469cc01f578817a975.smaniotto.nicola@gentoo> (raw)
commit: dfd6428e99c7828fc05827469cc01f578817a975
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Fri Sep 24 11:57:08 2021 +0000
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Fri Sep 24 11:58:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dfd6428e
dev-python/srt: bump to 3.5.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
dev-python/srt/Manifest | 1 +
dev-python/srt/srt-3.5.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+)
diff --git a/dev-python/srt/Manifest b/dev-python/srt/Manifest
index 57a8d4a7d..96f53df9c 100644
--- a/dev-python/srt/Manifest
+++ b/dev-python/srt/Manifest
@@ -1 +1,2 @@
DIST srt-3.4.1.tar.gz 23723 BLAKE2B 33445cb969db64e89978c06fcb0b8145047a1f40082500f507b8c70d42489dc083f7b2972868bf08a9f5fcb1b9a279df279f034455d0b326f3c03da086bd59c5 SHA512 bb214935203b4d3a8bc1dc7968ed318ed55709b880046dd070c3547e5c5e7df6d12f445e3be83a2e938096655008705a76461c404494a1c8eccee36f2ff465cd
+DIST srt-3.5.0.tar.gz 24678 BLAKE2B c50704f7811e271116ab6531f4f63eb579b2e34c48e9ab81179d41d08ef803266f3ce7fb0332a9158591326f8a428dda80e3e641db3b4b73cec690cb93af404f SHA512 f5dac7995ce0eddb4da56084b1125200c861a0b21d5b4c8a75c4179a0ce840143abb75f306855ed68170d8c4ab913792c577e21e258ba18bac366c630803a7a5
diff --git a/dev-python/srt/srt-3.5.0.ebuild b/dev-python/srt/srt-3.5.0.ebuild
new file mode 100644
index 000000000..b6159b07a
--- /dev/null
+++ b/dev-python/srt/srt-3.5.0.ebuild
@@ -0,0 +1,38 @@
+# 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"
+
+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."
+}
next reply other threads:[~2021-09-24 11:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-24 11:58 Nicola Smaniotto [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-15 8:20 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/srt/ David Roman
2024-05-13 9:01 Nicola Smaniotto
2023-04-16 9:46 Nicola Smaniotto
2023-03-17 13:01 Anna Vyalkova
2023-02-27 15:19 Nicola Smaniotto
2023-01-11 18:21 Nicola Smaniotto
2023-01-11 18:21 Nicola Smaniotto
2022-03-07 11:56 Nicola Smaniotto
2022-01-24 16:03 Nicola Smaniotto
2021-07-27 9:06 Nicola Smaniotto
2021-07-26 9:53 Nicola Smaniotto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1632484684.dfd6428e99c7828fc05827469cc01f578817a975.smaniotto.nicola@gentoo \
--to=smaniotto.nicola@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox