diff --git a/srcpkgs/python-pysrt/template b/srcpkgs/python-pysrt/template deleted file mode 100644 index be742c08ce4..00000000000 --- a/srcpkgs/python-pysrt/template +++ /dev/null @@ -1,27 +0,0 @@ -# Template file for 'python-pysrt' -pkgname=python-pysrt -version=1.1.2 -revision=1 -archs=noarch -wrksrc="pysrt-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python python-chardet" -short_desc="SubRip (.srt) subtitle parser and writer (Python2)" -maintainer="Daniel Santana " -license="GPL-3.0-only" -homepage="https://github.com/byroot/pysrt" -distfiles="${PYPI_SITE}/p/pysrt/pysrt-${version}.tar.gz" -checksum=b4f844ba33e4e7743e9db746492f3a193dc0bc112b153914698e7c1cdeb9b0b9 -alternatives="srt:srt:/usr/bin/srt2" - -python3-pysrt_package() { - archs=noarch - depends="python3 python3-chardet" - short_desc="${short_desc/Python2/Python3}" - alternatives="srt:srt:/usr/bin/srt3" - pkg_install() { - vmove usr/bin/srt3 - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-pysrt b/srcpkgs/python3-pysrt deleted file mode 120000 index 423da59f865..00000000000 --- a/srcpkgs/python3-pysrt +++ /dev/null @@ -1 +0,0 @@ -python-pysrt \ No newline at end of file diff --git a/srcpkgs/python3-pysrt/template b/srcpkgs/python3-pysrt/template new file mode 100644 index 00000000000..4fd225c206a --- /dev/null +++ b/srcpkgs/python3-pysrt/template @@ -0,0 +1,15 @@ +# Template file for 'python3-pysrt' +pkgname=python3-pysrt +version=1.1.2 +revision=2 +wrksrc="pysrt-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-chardet" +short_desc="SubRip (.srt) subtitle parser and writer (Python3)" +maintainer="Daniel Santana " +license="GPL-3.0-only" +homepage="https://github.com/byroot/pysrt" +distfiles="${PYPI_SITE}/p/pysrt/pysrt-${version}.tar.gz" +checksum=b4f844ba33e4e7743e9db746492f3a193dc0bc112b153914698e7c1cdeb9b0b9 +conflicts="python-pysrt>=0"