void-packages/srcpkgs/python3-minidb/template

23 lines
665 B
Bash

# Template file for 'python3-minidb'
pkgname=python3-minidb
version=2.0.1
revision=3
noarch=yes
wrksrc="minidb-${version}"
build_style=python3-module
pycompile_module="minidb"
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Simple SQLite3 store for Python objects"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="ISC"
homepage="https://thp.io/2010/minidb/"
distfiles="https://github.com/thp/minidb/archive/${version}.tar.gz"
checksum=3e245ab0254d84fa3c9c96c43f1ca7290918c53d7df7c2391e50786dbb4f42f6
replaces="python3.4-minidb>=0"
post_install() {
sed -n '/# Copyright/,/OF THIS SOFTWARE./p' minidb.py > COPYING
vlicense COPYING
}