37 lines
860 B
Bash
37 lines
860 B
Bash
# Template file for 'python-pluggy'
|
|
pkgname=python-pluggy
|
|
version=0.7.1
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="${pkgname/python-//}-${version}"
|
|
build_style=python-module
|
|
pycompile_module="pluggy"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
checkdepends="python3-pytest"
|
|
short_desc="Minimalist production ready python2 plugin system"
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://github.com/pytest-dev/pluggy"
|
|
distfiles="${PYPI_SITE}/p/pluggy/pluggy-${version}.tar.gz"
|
|
checksum=95eb8364a4708392bae89035f45341871286a333f749c3141c20573d2b3876e1
|
|
|
|
do_check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|