mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
python-pluggy: update to 0.12.0.
This commit is contained in:
parent
bb7d5d5015
commit
38ee0b6b4d
3 changed files with 32 additions and 19 deletions
|
@ -1,15 +1,15 @@
|
||||||
# Template file for 'python-pluggy'
|
# Template file for 'python-pluggy'
|
||||||
pkgname=python-pluggy
|
pkgname=python-pluggy
|
||||||
version=0.9.0
|
version=0.9.0
|
||||||
revision=1
|
revision=2
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
wrksrc="pluggy-${version}"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
pycompile_module="pluggy"
|
pycompile_module="pluggy"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
checkdepends="python3-pytest"
|
checkdepends="python-pytest ${depends}"
|
||||||
short_desc="Minimalist production ready python2 plugin system"
|
short_desc="Minimalist production ready plugin system (Python2)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/pytest-dev/pluggy"
|
homepage="https://github.com/pytest-dev/pluggy"
|
||||||
|
@ -17,20 +17,9 @@ distfiles="${PYPI_SITE}/p/pluggy/pluggy-${version}.tar.gz"
|
||||||
checksum=19ecf9ce9db2fce065a7a0586e07cfb4ac8614fe96edf628a264b1c70116cf8f
|
checksum=19ecf9ce9db2fce065a7a0586e07cfb4ac8614fe96edf628a264b1c70116cf8f
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 -m pytest
|
python -m pytest
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-pluggy_package() {
|
|
||||||
archs=noarch
|
|
||||||
pycompile_module="pluggy"
|
|
||||||
depends="python3"
|
|
||||||
short_desc="${short_desc/python2/python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-pluggy
|
|
25
srcpkgs/python3-pluggy/template
Normal file
25
srcpkgs/python3-pluggy/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'python3-pluggy'
|
||||||
|
pkgname=python3-pluggy
|
||||||
|
version=0.12.0
|
||||||
|
revision=1
|
||||||
|
archs=noarch
|
||||||
|
wrksrc="pluggy-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
pycompile_module="pluggy"
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-importlib_metadata"
|
||||||
|
checkdepends="python3-pytest ${depends}"
|
||||||
|
short_desc="Minimalist production ready plugin system (Python3)"
|
||||||
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/pytest-dev/pluggy"
|
||||||
|
distfiles="${PYPI_SITE}/p/pluggy/pluggy-${version}.tar.gz"
|
||||||
|
checksum=0825a152ac059776623854c1543d65a4ad408eb3d33ee114dff91e57ec6ae6fc
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 -m pytest
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue