commit:     667b5e7cf46a171c7b9b482e459c67d54ee3142d
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 15:11:17 2024 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 15:11:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=667b5e7c

app-misc/asciinema: 2.4.0

Closes: https://bugs.gentoo.org/917568
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 app-misc/asciinema/Manifest               |  1 +
 app-misc/asciinema/asciinema-2.4.0.ebuild | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/app-misc/asciinema/Manifest b/app-misc/asciinema/Manifest
index 8cee78566763..f87d7205c48f 100644
--- a/app-misc/asciinema/Manifest
+++ b/app-misc/asciinema/Manifest
@@ -1,2 +1,3 @@
 DIST asciinema-2.2.0.gh.tar.gz 88566 BLAKE2B 
c96eac56714a4519d462bdf24f3fcc0ec367af94182e6710d4744113c5ac3ec9304fbda30f3489b84bc4b645e43ea44d633230128d79a576d4bcbe7dad528ba8
 SHA512 
bed0b6a3228b973dddb2f03d0b0e16af0afd6e1c4c8c1379999d49b22ed658fed325f902f462156745631f98b51675565b7ea0011512c95c8b0b3bb09552bddc
 DIST asciinema-2.3.0.gh.tar.gz 91464 BLAKE2B 
ff2f38715a9c69ec15ad8dfdfa282a49c32075e6be43ce2f568d188678d6fee1351f36f8dd2a272052f43087cf222e2b14d37ed26a42ba11396074523391efc5
 SHA512 
09951d96938faaf71a5b71f5a514ffacb32be224883691aec7fb549ad5dd4d0eb0a83c06ec23f81c36224fa028f0351decb7d82288b716a6453cbf00ad373845
+DIST asciinema-2.4.0.gh.tar.gz 160870 BLAKE2B 
e831f550fc5eb1389b737db26eeeb0d5791425449439945f6a57147da1fed06f71ba6188213481f71738d994640e1add4bb49c14d1ccd4eb96c8f3c00117153b
 SHA512 
3902661524e960b96946eaacdcbde4ceacb949020c14912c65ce33fa5b50c070f69255e4848ab24f78f1e6275511d2bba455532b11bf01552ca9ae62264d75ba

diff --git a/app-misc/asciinema/asciinema-2.4.0.ebuild 
b/app-misc/asciinema/asciinema-2.4.0.ebuild
new file mode 100644
index 000000000000..1e3c36030b09
--- /dev/null
+++ b/app-misc/asciinema/asciinema-2.4.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Command line recorder for asciinema.org service"
+HOMEPAGE="https://asciinema.org/ https://pypi.org/project/asciinema/";
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
+
+PATCHES=(
+       "${FILESDIR}/asciinema-2.2.0-setup.patch"
+)
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       distutils-r1_python_prepare_all
+       sed -i -e "s|share/doc/asciinema|&-${PVR}|" setup.cfg || die
+}

Reply via email to