void-packages/srcpkgs/python-pluggy/template
2017-11-28 07:48:45 +01:00

31 lines
815 B
Bash

# Template file for 'python-pluggy'
pkgname=python-pluggy
version=0.6.0
revision=1
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="pluggy"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Minimalist production ready python2 plugin system"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/pytest-dev/pluggy"
distfiles="https://github.com/pytest-dev/pluggy/archive/${version}.tar.gz"
checksum=2dcdf93b644ebbd40c1679dec551b289aa502e77100af4153175ada9cac5d4ff
noarch=yes
post_install() {
vlicense LICENSE
}
python3-pluggy_package() {
noarch=yes
pycompile_module="pluggy"
depends="python3"
short_desc="${short_desc/python2/python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}