diff --git a/srcpkgs/python3-pytest-xvfb/template b/srcpkgs/python3-pytest-xvfb/template index 9670ee4cca..9e3aa7822d 100644 --- a/srcpkgs/python3-pytest-xvfb/template +++ b/srcpkgs/python3-pytest-xvfb/template @@ -1,6 +1,6 @@ # Template file for 'python3-pytest-xvfb' pkgname=python3-pytest-xvfb -version=1.2.0 +version=2.0.0 revision=1 archs=noarch wrksrc=pytest-xvfb-${version} @@ -12,8 +12,15 @@ short_desc="Pytest plugin to run Xvfb for tests" maintainer="Đoàn Trần Công Danh " license="MIT" homepage="https://github.com/The-Compiler/pytest-xvfb" -distfiles="${PYPI_SITE}/p/pytest-xvfb/pytest-xvfb-${version}.tar.gz" -checksum=a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979 +distfiles="${PYPI_SITE}/p/pytest-xvfb/pytest-xvfb-${version}.tar.gz + https://raw.githubusercontent.com/The-Compiler/pytest-xvfb/1547abc56ce7e2858ec14a188a7888d21e02aaa8/LICENSE" +checksum="c4ba642de05499940db7f65ee111621939be513e3e75c3da9156b7235e2ed8cf + 8ec59e555baa977451b5c15d5d2e528128b076832b4a3989386347596b239a0f" +skip_extraction="LICENSE" + +post_extract() { + cp "$XBPS_SRCDISTDIR/$pkgname-$version/LICENSE" . +} post_install() { vlicense LICENSE