python-smbc: Change to python3
Change python-smbc to meta, for removal. Update python3-smbc to 1.0.17 Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
parent
51818c0837
commit
bee88d3b64
|
@ -3,22 +3,10 @@ pkgname=python-smbc
|
||||||
version=1.0.16
|
version=1.0.16
|
||||||
revision=2
|
revision=2
|
||||||
wrksrc="pysmbc-${version}"
|
wrksrc="pysmbc-${version}"
|
||||||
build_style=python-module
|
build_style=meta
|
||||||
pycompile_module="smbc"
|
short_desc="Python2 bindings for libsmbclient (Removed package)"
|
||||||
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>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://github.com/hamano/pysmbc"
|
homepage="https://github.com/hamano/pysmbc"
|
||||||
distfiles="${PYPI_SITE}/p/pysmbc/pysmbc-${version}.tar.bz2"
|
distfiles="${PYPI_SITE}/p/pysmbc/pysmbc-${version}.tar.bz2"
|
||||||
checksum=62199b5cca02c05d5f3b9edbc9a864fb8a2cbe47a465c0b9461642eb3b6f5aca
|
checksum=62199b5cca02c05d5f3b9edbc9a864fb8a2cbe47a465c0b9461642eb3b6f5aca
|
||||||
|
|
||||||
python3-smbc_package() {
|
|
||||||
pycompile_module="smbc"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-smbc
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Template file for 'python3-smbc'
|
||||||
|
pkgname=python3-smbc
|
||||||
|
version=1.0.17
|
||||||
|
revision=1
|
||||||
|
wrksrc="pysmbc-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
pycompile_module="smbc"
|
||||||
|
hostmakedepends="pkg-config python3-devel python3-setuptools"
|
||||||
|
makedepends="python3-devel samba-devel"
|
||||||
|
short_desc="Python3 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=1bc47dea9bb8d38b3a1793a8e98b97baac8f8b266db623e044434602fe236da4
|
|
@ -0,0 +1 @@
|
||||||
|
pkgname="pysmbc"
|
Loading…
Reference in New Issue