diff --git a/srcpkgs/python3-click-option-group/template b/srcpkgs/python3-click-option-group/template new file mode 100644 index 00000000000000..dd14be96349b75 --- /dev/null +++ b/srcpkgs/python3-click-option-group/template @@ -0,0 +1,17 @@ +# Template file for 'python3-click-option-group' +pkgname=python3-click-option-group +version=0.5.9 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling hatch-vcs" +depends="python3-click" +short_desc="Click-extension package that adds option groups missing in Click" +maintainer="John " +license="BSD-3-Clause " +homepage="https://github.com/click-contrib/click-option-group" +distfiles="${PYPI_SITE}/c/click-option-group/click_option_group-${version}.tar.gz" +checksum=f94ed2bc4cf69052e0f29592bd1e771a1789bd7bfc482dd0bc482134aff95823 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-knowit/template b/srcpkgs/python3-knowit/template new file mode 100644 index 00000000000000..8e555a4e6b2135 --- /dev/null +++ b/srcpkgs/python3-knowit/template @@ -0,0 +1,18 @@ +# Template file for 'python3-knowit' +pkgname=python3-knowit +version=0.5.11 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-poetry-core" +depends="python3-babelfish python3-enzyme python3-pymediainfo python3-yaml + python3-trakit" +short_desc="Know better your media files" +maintainer="John " +license="MIT" +homepage="https://pypi.org/project/knowit" +distfiles="${PYPI_SITE}/k/knowit/knowit-${version}.tar.gz" +checksum=9045d6640b1bd00fcc49f2f7e81992cdc6c7279767db199d7f3b63e2f5007b58 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-pysrt/template b/srcpkgs/python3-pysrt/template index 767197547db907..b08069b7481a6e 100644 --- a/srcpkgs/python3-pysrt/template +++ b/srcpkgs/python3-pysrt/template @@ -1,7 +1,7 @@ # Template file for 'python3-pysrt' pkgname=python3-pysrt version=1.1.2 -revision=8 +revision=9 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3 python3-chardet" @@ -11,4 +11,9 @@ 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/pysrt-srt" conflicts="python-pysrt>=0" + +post_install() { + mv ${DESTDIR}/usr/bin/{srt,python3-pysrt-srt} +} diff --git a/srcpkgs/python3-pysubs2/template b/srcpkgs/python3-pysubs2/template new file mode 100644 index 00000000000000..c689c42643e344 --- /dev/null +++ b/srcpkgs/python3-pysubs2/template @@ -0,0 +1,17 @@ +# Template file for 'python3-pysubs2' +pkgname=python3-pysubs2 +version=1.8.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Library for editing subtitle files" +maintainer="John " +license="MIT" +homepage="https://github.com/tkarabela/pysubs2" +distfiles="${PYPI_SITE}/p/pysubs2/pysubs2-${version}.tar.gz" +checksum=3397bb58a4a15b1325ba2ae3fd4d7c214e2c0ddb9f33190d6280d783bb433b20 + +post_install() { + vlicense LICENSE.txt +} diff --git a/srcpkgs/python3-rarfile/template b/srcpkgs/python3-rarfile/template index 90cb8ee584cd3e..5db1a377251c9c 100644 --- a/srcpkgs/python3-rarfile/template +++ b/srcpkgs/python3-rarfile/template @@ -1,7 +1,7 @@ # Template file for 'python3-rarfile' pkgname=python3-rarfile -version=4.0 -revision=8 +version=4.2 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3" @@ -11,7 +11,7 @@ license="ISC" homepage="https://github.com/markokr/rarfile" changelog="https://github.com/markokr/rarfile/raw/master/doc/news.rst" distfiles="${PYPI_SITE}/r/rarfile/rarfile-${version}.tar.gz" -checksum=67548769229c5bda0827c1663dce3f54644f9dbfba4ae86d4da2b2afd3e602a1 +checksum=8e1c8e72d0845ad2b32a47ab11a719bc2e41165ec101fd4d3fe9e92aa3f469ef post_install() { vlicense LICENSE diff --git a/srcpkgs/python3-srt/template b/srcpkgs/python3-srt/template new file mode 100644 index 00000000000000..07b0755b6c0343 --- /dev/null +++ b/srcpkgs/python3-srt/template @@ -0,0 +1,20 @@ +# Template file for 'python3-srt' +pkgname=python3-srt +version=3.5.3 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Library for parsing, modifying, and composing SRT files" +maintainer="John " +license="MIT" +homepage="https://github.com/cdown/srt" +distfiles="${PYPI_SITE}/s/srt/srt-${version}.tar.gz" +checksum=4884315043a4f0740fd1f878ed6caa376ac06d70e135f306a6dc44632eed0cc0 +alternatives="srt:srt:/usr/bin/pysrt-srt" +conflicts="python3-pysrt<=1.1.2_8" + +post_install() { + mv ${DESTDIR}/usr/bin/{srt,python3-srt-srt} + vlicense LICENSE +} diff --git a/srcpkgs/python3-trakit/template b/srcpkgs/python3-trakit/template new file mode 100644 index 00000000000000..de1593e27bbf81 --- /dev/null +++ b/srcpkgs/python3-trakit/template @@ -0,0 +1,17 @@ +# Template file for 'python3-trakit' +pkgname=python3-trakit +version=0.2.5 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-poetry-core" +depends="python3-babelfish python3-rebulk" +short_desc="Guess additional information from track titles" +maintainer="John " +license="MIT" +homepage="https://github.com/ratoaq2/trakit" +distfiles="${PYPI_SITE}/t/trakit/trakit-${version}.tar.gz" +checksum=d7e530ed82906eeadf7982d6a357883ae0490f34bbd18f8232b8fc5f250a4ae7 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/sabnzbd/template b/srcpkgs/sabnzbd/template index 44d0a4041de49c..9302f14efe2e4b 100644 --- a/srcpkgs/sabnzbd/template +++ b/srcpkgs/sabnzbd/template @@ -1,12 +1,12 @@ # Template file for 'sabnzbd' pkgname=sabnzbd -version=4.4.1 -revision=2 +version=4.5.5 +revision=1 pycompile_dirs="/usr/share/sabnzbd" hostmakedepends="python3 gettext" depends="par2cmdline python3-cheetah3 python3-cryptography python3-feedparser python3-configobj python3-CherryPy python3-Cheroot - python3-portend python3-chardet python3-notify2 python3-guessit + python3-portend python3-chardet python3-notify2 python3-guessit python3-rarfile python3-puremagic python3-pysocks python3-apprise python3-sabctools unzip" short_desc="Open Source Binary Newsreader written in Python" maintainer="Orphaned " @@ -14,7 +14,7 @@ license="GPL-2.0-or-later, custom:Bundled" homepage="https://sabnzbd.org/" changelog="https://github.com/sabnzbd/sabnzbd/releases" distfiles="https://github.com/sabnzbd/sabnzbd/releases/download/${version}/SABnzbd-${version}-src.tar.gz" -checksum=a9ebf273d77c6d3cc9a13b1bd1640b903f4891e58aee3ef5a25595db3aa4d7fb +checksum=7f93d714287293f519f244b92d8eb727aa504448c5961dab8420e2093f92e3b7 python_version=3 post_extract() { diff --git a/srcpkgs/subliminal/template b/srcpkgs/subliminal/template index 94c5388fd01614..e9ed668508e15e 100644 --- a/srcpkgs/subliminal/template +++ b/srcpkgs/subliminal/template @@ -1,20 +1,21 @@ # Template file for 'subliminal' pkgname=subliminal -version=2.1.0 -revision=10 -build_style=python3-module -hostmakedepends="python3-setuptools" +version=2.5.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="hatchling hatch-vcs" depends="python3 python3-guessit python3-babelfish python3-enzyme - python3-BeautifulSoup4 python3-requests python3-click python3-dogpile.cache - python3-stevedore python3-chardet python3-pysrt python3-six python3-appdirs - python3-rarfile python3-pytz" + python3-BeautifulSoup4 python3-requests python3-click python3-click-option-group + python3-dogpile.cache python3-stevedore python3-chardet python3-pytz + python3-rarfile python3-srt python3-pysubs2 python3-tomlkit python3-platformdirs + python3-defusedxml python3-knowit" short_desc="Subtitles, faster than your thoughts" maintainer="Orphaned " license="MIT" homepage="http://subliminal.readthedocs.org" changelog="https://github.com/Diaoul/subliminal/blob/master/HISTORY.rst" distfiles="${PYPI_SITE}/s/subliminal/subliminal-${version}.tar.gz" -checksum=c6439cc733a4f37f01f8c14c096d44fd28d75d1f6f6e2d1d1003b1b82c65628b +checksum=3c79507e9c304895fb41eb0039b11f5abcb9f77376fe550cb605932836dfadc3 do_check() { : # pypi tarball has no tests