void-packages/srcpkgs/python-smbc/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

23 lines
699 B
Bash

# Template file for 'python-smbc'
pkgname=python-smbc
version=1.0.15.8
revision=2
wrksrc="pysmbc-${version}"
build_style=python-module
hostmakedepends="pkg-config python-devel python3-devel"
makedepends="${hostmakedepends/pkg-config/} samba-devel"
pycompile_module="smbc"
short_desc="Python2 bindings for libsmbclient"
homepage="https://github.com/hamano/pysmbc"
license="GPL-2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${PYPI_SITE}/p/pysmbc/pysmbc-${version}.tar.bz2"
checksum=0567c1789a911500b83c64becdaa0015c135cce0bcf59ec593df48859bebbf1d
python3-smbc_package() {
pycompile_module="smbc"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}