From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pysrt/
Date: Sat, 28 Oct 2023 18:40:19 +0000 (UTC) [thread overview]
Message-ID: <1698517975.ff943fcfc106395e582f6f8132173f6b4879272b.mgorny@gentoo> (raw)
commit: ff943fcfc106395e582f6f8132173f6b4879272b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 18:32:55 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 18:32:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff943fcf
dev-python/pysrt: Enable py3.12
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pysrt/pysrt-1.1.2-r1.ebuild | 18 +++++++++++++++---
dev-python/pysrt/pysrt-9999.ebuild | 12 +++++++++---
2 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/dev-python/pysrt/pysrt-1.1.2-r1.ebuild b/dev-python/pysrt/pysrt-1.1.2-r1.ebuild
index 9c4b2eee378c..3dcd3f63654d 100644
--- a/dev-python/pysrt/pysrt-1.1.2-r1.ebuild
+++ b/dev-python/pysrt/pysrt-1.1.2-r1.ebuild
@@ -4,11 +4,15 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
inherit distutils-r1
DESCRIPTION="Python library used to edit or create SubRip files"
-HOMEPAGE="https://github.com/byroot/pysrt https://pypi.org/project/pysrt/"
+HOMEPAGE="
+ https://github.com/byroot/pysrt/
+ https://pypi.org/project/pysrt/
+"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/byroot/pysrt.git"
@@ -20,6 +24,14 @@ fi
LICENSE="GPL-3+"
SLOT="0"
-RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
+RDEPEND="
+ dev-python/chardet[${PYTHON_USEDEP}]
+"
distutils_enable_tests pytest
+
+src_prepare() {
+ # https://github.com/byroot/pysrt/commit/93f52f6d4f70f4e18dc71deeaae0ec1e9100a50f
+ sed -i -e 's:assertEquals:assertEqual:' tests/*.py || die
+ distutils-r1_src_prepare
+}
diff --git a/dev-python/pysrt/pysrt-9999.ebuild b/dev-python/pysrt/pysrt-9999.ebuild
index 5943e93f9f56..122ca75948b9 100644
--- a/dev-python/pysrt/pysrt-9999.ebuild
+++ b/dev-python/pysrt/pysrt-9999.ebuild
@@ -4,11 +4,15 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
inherit distutils-r1
DESCRIPTION="Python library used to edit or create SubRip files"
-HOMEPAGE="https://github.com/byroot/pysrt https://pypi.org/project/pysrt/"
+HOMEPAGE="
+ https://github.com/byroot/pysrt/
+ https://pypi.org/project/pysrt/
+"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/byroot/pysrt.git"
@@ -20,6 +24,8 @@ fi
LICENSE="GPL-3+"
SLOT="0"
-RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
+RDEPEND="
+ dev-python/chardet[${PYTHON_USEDEP}]
+"
distutils_enable_tests pytest
next reply other threads:[~2023-10-28 18:40 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-28 18:40 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-18 8:09 [gentoo-commits] repo/gentoo:master commit in: dev-python/pysrt/ Michał Górny
2023-11-24 15:45 Arthur Zamarin
2023-03-16 18:52 Michał Górny
2022-07-02 19:26 Michał Górny
2022-07-02 18:18 Sam James
2022-07-02 16:11 Michał Górny
2022-07-02 16:05 Jakov Smolić
2022-06-01 1:25 Sam James
2021-05-19 7:33 Michał Górny
2020-10-27 19:58 Sam James
2020-10-27 5:11 Sam James
2020-08-02 19:05 Sam James
2020-05-09 7:48 Agostino Sarubbo
2020-05-09 7:40 Agostino Sarubbo
2020-03-28 18:26 Michał Górny
2020-02-05 19:53 Michał Górny
2020-01-22 14:44 Louis Sautier
2020-01-22 12:33 Louis Sautier
2020-01-22 12:33 Louis Sautier
2020-01-22 12:33 Louis Sautier
2018-07-25 23:23 Louis Sautier
2018-07-25 23:23 Louis Sautier
2018-07-25 23:23 Louis Sautier
2018-06-18 10:34 Louis Sautier
2017-05-17 11:39 Manuel Rüger
2016-12-29 10:45 Agostino Sarubbo
2016-12-20 13:29 Tobias Klausmann
2016-04-24 13:31 Ian Delaney
2016-03-07 9:28 Jason Zaman
2016-03-07 8:07 Ian Delaney
2016-02-02 12:43 Ian Delaney
2015-10-22 11:09 Justin Lecher
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=1698517975.ff943fcfc106395e582f6f8132173f6b4879272b.mgorny@gentoo \
--to=mgorny@gentoo.org \
--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