New package: subliminal-2.1.0
This was moved from python3-subliminal, as python-subliminal package required python-dogpile.cache, which has dropped Python 2 support.
This commit is contained in:
parent
dfa8dcd1d6
commit
1f07b38777
4 changed files with 40 additions and 40 deletions
1
srcpkgs/python-subliminal
Symbolic link
1
srcpkgs/python-subliminal
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
subliminal
|
|
@ -1,39 +0,0 @@
|
||||||
# Template file for 'python-subliminal'
|
|
||||||
pkgname=python-subliminal
|
|
||||||
version=2.1.0
|
|
||||||
revision=2
|
|
||||||
archs=noarch
|
|
||||||
wrksrc="subliminal-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python python-guessit python-babelfish python-enzyme
|
|
||||||
python-BeautifulSoup4 python-requests python-click python-dogpile.cache
|
|
||||||
python-stevedore python-chardet python-pysrt python-six python-appdirs
|
|
||||||
python-rarfile python-pytz"
|
|
||||||
short_desc="Subtitles, faster than your thoughts (Python2)"
|
|
||||||
maintainer="Daniel Santana <daniel@santana.tech>"
|
|
||||||
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
|
|
||||||
alternatives="subliminal:subliminal:/usr/bin/subliminal2"
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-subliminal_package() {
|
|
||||||
archs=noarch
|
|
||||||
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"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
alternatives="subliminal:subliminal:/usr/bin/subliminal3"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin/subliminal3
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +1 @@
|
||||||
python-subliminal
|
subliminal
|
38
srcpkgs/subliminal/template
Normal file
38
srcpkgs/subliminal/template
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Template file for 'subliminal'
|
||||||
|
pkgname=subliminal
|
||||||
|
version=2.1.0
|
||||||
|
revision=3
|
||||||
|
archs=noarch
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
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"
|
||||||
|
short_desc="Subtitles, faster than your thoughts"
|
||||||
|
maintainer="Daniel Santana <daniel@santana.tech>"
|
||||||
|
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
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
: # pypi tarball has no tests
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python-subliminal_package() {
|
||||||
|
build_style=meta
|
||||||
|
depends="subliminal>=${version}_${revision}"
|
||||||
|
short_desc+=" (transitional dummy package)"
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-subliminal_package() {
|
||||||
|
build_style=meta
|
||||||
|
depends="subliminal>=${version}_${revision}"
|
||||||
|
short_desc+=" (transitional dummy package)"
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue