25 lines
743 B
Bash
25 lines
743 B
Bash
# Template file for 'python-smbc'
|
|
pkgname=python-smbc
|
|
version=1.0.16
|
|
revision=1
|
|
wrksrc="pysmbc-${version}"
|
|
build_style=python-module
|
|
pycompile_module="smbc"
|
|
hostmakedepends="pkg-config python-devel python3-devel python-setuptools
|
|
python3-setuptools"
|
|
makedepends="python-devel python3-devel samba-devel"
|
|
short_desc="Python2 bindings for libsmbclient"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/hamano/pysmbc"
|
|
distfiles="${PYPI_SITE}/p/pysmbc/pysmbc-${version}.tar.bz2"
|
|
checksum=62199b5cca02c05d5f3b9edbc9a864fb8a2cbe47a465c0b9461642eb3b6f5aca
|
|
|
|
python3-smbc_package() {
|
|
pycompile_module="smbc"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|