void-packages/srcpkgs/python3-bsddb3/template

24 lines
778 B
Bash

# Template file for 'python3-bsddb3'
pkgname=python3-bsddb3
version=6.2.7
revision=3
wrksrc="bsddb3-${version}"
build_style=python3-module
make_build_args="--berkeley-db=${XBPS_CROSS_BASE}/usr"
make_install_args="--berkeley-db=${XBPS_CROSS_BASE}/usr"
hostmakedepends="python3-setuptools"
makedepends="python3-devel db-devel"
depends="python3"
short_desc="Python3 interface for BerkeleyDB"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://www.jcea.es/programacion/pybsddb.htm"
distfiles="${PYPI_SITE}/b/bsddb3/bsddb3-${version}.tar.gz"
checksum=b0f7fa63eb240cd5815809c9d1d7df9f7cc8d6fa9619d0edbe9c794afc02dc9f
post_install() {
# get rid of unneeded header
rm -f ${DESTDIR}/usr/include/python*/bsddb3/bsddb.h
vlicense LICENSE.txt LICENSE
}