diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-29 06:38:19 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-10-29 06:38:19 +0000 |
| commit | 0af643c74ae7d041ea5e2e66dddc9c69a516e733 (patch) | |
| tree | f48706704c379d8463b70cc2d38cc806144fccb9 /dev-python/pysrt | |
| parent | 567a9950a50876e90287bc04a1da3aac52cb4798 (diff) | |
| download | baldeagleos-repo-0af643c74ae7d041ea5e2e66dddc9c69a516e733.tar.gz baldeagleos-repo-0af643c74ae7d041ea5e2e66dddc9c69a516e733.tar.xz baldeagleos-repo-0af643c74ae7d041ea5e2e66dddc9c69a516e733.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pysrt')
| -rw-r--r-- | dev-python/pysrt/pysrt-1.1.2-r1.ebuild | 16 | ||||
| -rw-r--r-- | dev-python/pysrt/pysrt-9999.ebuild | 10 |
2 files changed, 22 insertions, 4 deletions
diff --git a/dev-python/pysrt/pysrt-1.1.2-r1.ebuild b/dev-python/pysrt/pysrt-1.1.2-r1.ebuild index 6e501b6eb55f..d2faab3cf968 100644 --- a/dev-python/pysrt/pysrt-1.1.2-r1.ebuild +++ b/dev-python/pysrt/pysrt-1.1.2-r1.ebuild @@ -5,10 +5,14 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + 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 e00487b91a80..41da1056c256 100644 --- a/dev-python/pysrt/pysrt-9999.ebuild +++ b/dev-python/pysrt/pysrt-9999.ebuild @@ -5,10 +5,14 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + 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 |
