mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: python-guessit-3.0.3
This commit is contained in:
parent
87cdd6b049
commit
7534564702
2 changed files with 35 additions and 0 deletions
34
srcpkgs/python-guessit/template
Normal file
34
srcpkgs/python-guessit/template
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Template file for 'python-guessit'
|
||||||
|
pkgname=python-guessit
|
||||||
|
version=3.0.3
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="guessit-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="guessit"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python python-rebulk python-babelfish python-dateutil"
|
||||||
|
short_desc="Library for guessing information from video filenames (Python2)"
|
||||||
|
maintainer="Daniel Santana <daniel@santana.tech>"
|
||||||
|
license="LGPL-3.0-only"
|
||||||
|
homepage="https://guessit.readthedocs.io/en/latest/"
|
||||||
|
distfiles="${PYPI_SITE}/g/guessit/guessit-${version}.tar.gz"
|
||||||
|
checksum=590cfaac6adbc65a0297f7b2a44c2accf2cc660eeed6283b43cbad30e65806e0
|
||||||
|
alternatives="guessit:guessit:/usr/bin/guessit2"
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-guessit_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="guessit"
|
||||||
|
depends="python3 python3-rebulk python3-babelfish python3-dateutil"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="guessit:guessit:/usr/bin/guessit3"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/guessit3
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-guessit
Symbolic link
1
srcpkgs/python3-guessit
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-guessit
|
Loading…
Add table
Reference in a new issue