summaryrefslogtreecommitdiff
path: root/dev-python/pysrt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/pysrt
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/pysrt')
-rw-r--r--dev-python/pysrt/Manifest3
-rw-r--r--dev-python/pysrt/pysrt-1.1.2-r1.ebuild25
-rw-r--r--dev-python/pysrt/pysrt-9999.ebuild13
3 files changed, 34 insertions, 7 deletions
diff --git a/dev-python/pysrt/Manifest b/dev-python/pysrt/Manifest
index 788dc8e61719..47b41758d3cc 100644
--- a/dev-python/pysrt/Manifest
+++ b/dev-python/pysrt/Manifest
@@ -1,4 +1,5 @@
DIST pysrt-1.1.2.tar.gz 104371 BLAKE2B b6f8e1e6d0cc0ae7ac4a5eb1ac9c5444318fd579fd2cbd926bed932326c986743d3efc1b604353df92a3dc67ea0d47f9a77eeba28d561b3f69b4b63eff8b78ad SHA512 a3a0988068d3cc13e6d44aec548a94e79d9ed29cfcd1e8e35ff56b50f0feb32a1baac2220c5331281c98a19ad9a3e9f960832a661699921cde0d185ea21e9753
+EBUILD pysrt-1.1.2-r1.ebuild 648 BLAKE2B be8563cf017f37631c65cf1770b0f4a10156a736db12ca6433e2a2d9846f5d1f2d6694ea4295c78e650817eb408f618b01f159048f4aa7717154394bc9122af7 SHA512 9afc61f6bc52adf716aaef7e44b52d9b7827c4f56b97678e8c9f877f91a58946f87d03fa0732a20090b2d2bd8ab90db69ec3f4874eec3d484a4ce139fcfd150d
EBUILD pysrt-1.1.2.ebuild 614 BLAKE2B ef3a9a28a65ba9cdd2a7a29dcbfca07941eaf6c21fbbf8497e0d2eb221a8fcb276c8c786b7ce7faa490adf3196bfe488e1f7773af2708289df5426dc07d1ee53 SHA512 14abb14febc2f71181c526e42e539d04d8aa00e621ee7ee68122547b6888d9bf3fbda7d10b6b3b1e275597c8325b23b0db01fd0a775cb66456df66dc941aaa91
-EBUILD pysrt-9999.ebuild 604 BLAKE2B 1d78a42bdb4659a3a3e45adec31efc746fa3601e12acdd3ca448c73368e0eb1a8e1e07af0583353519bff188dff5ce2832fc02fb63905a8866511afac33fa223 SHA512 be4ee5ee18b977eddbd967a774c95c3e698ab26f2a705c99ee34476c2920925b7144230c0ac3c7f0093819d9bed724d8a66863cde669123ae6cc2e9fdaec0113
+EBUILD pysrt-9999.ebuild 648 BLAKE2B be8563cf017f37631c65cf1770b0f4a10156a736db12ca6433e2a2d9846f5d1f2d6694ea4295c78e650817eb408f618b01f159048f4aa7717154394bc9122af7 SHA512 9afc61f6bc52adf716aaef7e44b52d9b7827c4f56b97678e8c9f877f91a58946f87d03fa0732a20090b2d2bd8ab90db69ec3f4874eec3d484a4ce139fcfd150d
MISC metadata.xml 426 BLAKE2B 6f0df402cf1f1a013a465bcd85db592c0d820ae940b42e1af970ce277dd8664ba35ffb534692ab1eee00ac6273ede28000b76ecd09b9971cf827da5aea857b8e SHA512 baf3b7ae135e0fc9e22fbfedcc741bf3d020a1f1e20ca6b7f996140b783af828fa0a1b80d3952ca73bc78f21e09e2677673b3b02775b0f084b5926435d2ecea3
diff --git a/dev-python/pysrt/pysrt-1.1.2-r1.ebuild b/dev-python/pysrt/pysrt-1.1.2-r1.ebuild
new file mode 100644
index 000000000000..d7d904f7615e
--- /dev/null
+++ b/dev-python/pysrt/pysrt-1.1.2-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+inherit distutils-r1
+
+DESCRIPTION="Python library used to edit or create SubRip files"
+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"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
diff --git a/dev-python/pysrt/pysrt-9999.ebuild b/dev-python/pysrt/pysrt-9999.ebuild
index 89d133c23ec7..d7d904f7615e 100644
--- a/dev-python/pysrt/pysrt-9999.ebuild
+++ b/dev-python/pysrt/pysrt-9999.ebuild
@@ -1,19 +1,20 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( pypy3 python3_{7..10} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Python library used to edit or create SubRip files"
HOMEPAGE="https://github.com/byroot/pysrt https://pypi.org/project/pysrt/"
-if [[ ${PV} == "9999" ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/byroot/pysrt.git"
else
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
LICENSE="GPL-3+"
@@ -21,4 +22,4 @@ SLOT="0"
RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
-distutils_enable_tests nose
+distutils_enable_tests pytest