void-packages/srcpkgs/python-kitchen/template

27 lines
750 B
Bash

# Template file for 'python-kitchen'
pkgname=python-kitchen
version=1.2.6
revision=1
archs=noarch
wrksrc="kitchen-${version}"
build_style=python-module
pycompile_module="kitchen"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Useful snippets for Python2"
maintainer="dleeram <dleeram@protonmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/fedora-infra/kitchen"
distfiles="https://github.com/fedora-infra/kitchen/archive/${version}.tar.gz"
checksum=6963dd84819713aafdd55e5314dcce6df5a37430b62fd9c48770e9f1a467b2b0
python3-kitchen_package() {
archs=noarch
depends="python3"
pycompile_module="kitchen"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}