void-packages/srcpkgs/python3-guessit/template
2021-10-09 08:00:52 -04:00

19 lines
741 B
Bash

# Template file for 'python3-guessit'
pkgname=python3-guessit
version=3.1.1
revision=4
wrksrc="guessit-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-rebulk python3-babelfish python3-dateutil"
short_desc="Library for guessing information from video filenames (Python3)"
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=71c68c6d4e9d639eba6534a838468115ad20f4c5a688eae3079f0c08d605a3b0
post_patch() {
# Package does not *need* pytest-runner to build, and Void doesn't have it
vsed -e "/setup_requires/s/['\"]pytest-runner['\"],*//" -i setup.py
}