void-packages/srcpkgs/python3-youtube-search/template

24 lines
878 B
Bash

# Template file for 'python3-youtube-search'
pkgname=python3-youtube-search
version=2.1.0
revision=2
_gitver=86af3e73bd340f37be56f2be6a5ff706b16e454e
create_wrksrc=yes
build_wrksrc="youtube-search-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-urllib3"
checkdepends="python3-wheel python3-pip $depends"
short_desc="Python3 library for searching YouTube"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/joetats/youtube_search"
distfiles="${PYPI_SITE}/y/youtube-search/youtube-search-${version}.tar.gz
https://raw.githubusercontent.com/joetats/youtube_search/${_gitver}/LICENSE>LICENSE.txt"
checksum="1541120273996fa433698b2e57b73296dfb8e90536211f29ea997dcf161b66fe
cd58d968a55585bfc21aea093aee5ba92a6785bab24c9969cfe2cd8bfe9ea83d"
post_install() {
vlicense ../LICENSE.txt LICENSE
}