From 4a28a4fa385bb5d93a23757dabb28fe24689a982 Mon Sep 17 00:00:00 2001 From: David Roman Date: Mon, 15 Jul 2024 10:19:30 +0200 Subject: [PATCH] dev-python/srt: moved to ::gentoo Signed-off-by: David Roman --- dev-python/srt/Manifest | 3 --- dev-python/srt/metadata.xml | 12 ----------- dev-python/srt/srt-3.5.1.ebuild | 37 -------------------------------- dev-python/srt/srt-3.5.2.ebuild | 38 --------------------------------- dev-python/srt/srt-3.5.3.ebuild | 38 --------------------------------- 5 files changed, 128 deletions(-) delete mode 100644 dev-python/srt/Manifest delete mode 100644 dev-python/srt/metadata.xml delete mode 100644 dev-python/srt/srt-3.5.1.ebuild delete mode 100644 dev-python/srt/srt-3.5.2.ebuild delete mode 100644 dev-python/srt/srt-3.5.3.ebuild diff --git a/dev-python/srt/Manifest b/dev-python/srt/Manifest deleted file mode 100644 index f343f484e9..0000000000 --- a/dev-python/srt/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST srt-3.5.1.tar.gz 24003 BLAKE2B 0ba77727043090310d2db69d9569bde53fcd69a55715e9721a83ee148d382459b1d68b369eee52fc7f99ba5e8aca017128a2d999e44b5ae77dda027a23ecc8bc SHA512 0523b5b31d78db195911ea632adbd25e76d1270510cf9c7432a44bd96e44d4928196c7e4f2eed05bbd73c1d96dcbe99ecea2bd755d697ff659924773c3e6a05e -DIST srt-3.5.2.tar.gz 24416 BLAKE2B 7da4401cce45045058f4d91a3ea3b688ae65f48d039b642abdf649acf2a8e416e096a5959235dc0165ac0a2169ca63a66b101bac6d8f20b0b330d165626b5010 SHA512 5367d7fa3ed23523f03efad1524fcb44c1a8e1c95e2f3032c0e11ff67795a1399eb32b27365e4b0f98ed5b1d7671d576ab8cd342d50bb4005554faaf03ea9c8a -DIST srt-3.5.3.tar.gz 28296 BLAKE2B 97f8852a799e80401f09219b43b41f5d5f9fe2c7283e2b43312aef70d783d7f1c1bf126e076c3a13c10e74e80ff48f25075cc7a1cef58a99fb4ef32cfa5b2587 SHA512 434331d31763a339ebb7d5b335b9d924b7f6939f307ecd0e5476b91da19b39e0febf1a387199e22f0b15365a4305c24021d85a32a7b65058905abd7946865b70 diff --git a/dev-python/srt/metadata.xml b/dev-python/srt/metadata.xml deleted file mode 100644 index bb0fbc41f1..0000000000 --- a/dev-python/srt/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - smaniotto.nicola@gmail.com - Nicola Smaniotto - - - cdown/srt - srt - - diff --git a/dev-python/srt/srt-3.5.1.ebuild b/dev-python/srt/srt-3.5.1.ebuild deleted file mode 100644 index 418abeea43..0000000000 --- a/dev-python/srt/srt-3.5.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="A tiny library for parsing, modifying, and composing SRT files" -HOMEPAGE="https://github.com/cdown/srt" - -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." -} diff --git a/dev-python/srt/srt-3.5.2.ebuild b/dev-python/srt/srt-3.5.2.ebuild deleted file mode 100644 index cb3afc56d6..0000000000 --- a/dev-python/srt/srt-3.5.2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 pypi - -DESCRIPTION="A tiny library for parsing, modifying, and composing SRT files" -HOMEPAGE="https://github.com/cdown/srt" - -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." -} diff --git a/dev-python/srt/srt-3.5.3.ebuild b/dev-python/srt/srt-3.5.3.ebuild deleted file mode 100644 index 319b23a663..0000000000 --- a/dev-python/srt/srt-3.5.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 pypi - -DESCRIPTION="A tiny library for parsing, modifying, and composing SRT files" -HOMEPAGE="https://github.com/cdown/srt" - -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." -}