mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
New package: python-pytest-capturelog-0.7.
Closes: #9439 [via git-merge-pr]
This commit is contained in:
parent
bef0b2420a
commit
0cee6eed9d
3 changed files with 54 additions and 0 deletions
22
srcpkgs/python-pytest-capturelog/files/LICENSE.txt
Normal file
22
srcpkgs/python-pytest-capturelog/files/LICENSE.txt
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
The MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2010 Meme Dough
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
31
srcpkgs/python-pytest-capturelog/template
Normal file
31
srcpkgs/python-pytest-capturelog/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'python-pytest-capturelog'
|
||||||
|
pkgname=python-pytest-capturelog
|
||||||
|
version=0.7
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname/python-/}-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="pytest_capturelog.py"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python-py"
|
||||||
|
short_desc="Plugin for py.test to capture log messages for Python2"
|
||||||
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="http://bitbucket.org/memedough/pytest-capturelog/overview"
|
||||||
|
distfiles="${PYPI_SITE}/p/${pkgname/python-/}/${pkgname/python-/}-${version}.tar.gz"
|
||||||
|
checksum=b6e8d5189b39462109c2188e6b512d6cc7e66d62bb5be65389ed50e96d22000d
|
||||||
|
noarch=yes
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense "${FILESDIR}/LICENSE.txt"
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-pytest-capturelog_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="pytest_capturelog.py"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
depends="python3-py"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense "${FILESDIR}/LICENSE.txt"
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-pytest-capturelog
Symbolic link
1
srcpkgs/python3-pytest-capturelog
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-pytest-capturelog
|
Loading…
Add table
Reference in a new issue