void-packages/srcpkgs/python-kitchen/template

27 lines
729 B
Bash

# Template file for 'python-kitchen'
pkgname=python-kitchen
version=1.2.5
revision=2
archs=noarch
wrksrc="${pkgname#*-}-${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="${homepage}/archive/v${version}.tar.gz"
checksum=1258af80868fc8c30170a43040b1eb5434bc5ffa5ff4ab98ffb9ee3d3c1e2f76
python3-kitchen_package() {
archs=noarch
depends="python3"
pycompile_module="kitchen"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}