void-packages/srcpkgs/python-mechanize/template

21 lines
637 B
Bash

# Template file for 'python-mechanize'
pkgname=python-mechanize
version=0.3.5
revision=2
wrksrc="mechanize-${version}"
noarch=yes
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python python-html5lib"
pycompile_module="mechanize"
short_desc="Stateful programmatic web browsing in Python"
maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
license="BSD"
homepage="https://github.com/python-mechanize/mechanize"
distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz"
checksum=c386dbb992df8c59eb80f65205e0e0d907d3a8fe1e9a5a9b9c83785decec8438
post_install() {
vlicense LICENSE
}