mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python3-lz4: update to 3.1.0.
This commit is contained in:
parent
f48c9a6ebf
commit
d72ff85c70
1 changed files with 4 additions and 12 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'python3-lz4'
|
# Template file for 'python3-lz4'
|
||||||
pkgname=python3-lz4
|
pkgname=python3-lz4
|
||||||
version=2.1.6
|
version=3.1.0
|
||||||
revision=5
|
revision=1
|
||||||
wrksrc="lz4-${version}"
|
wrksrc="lz4-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="pkg-config python3-setuptools python3-pkgconfig"
|
hostmakedepends="pkg-config python3-setuptools_scm python3-pkgconfig"
|
||||||
makedepends="python3-devel liblz4-devel"
|
makedepends="python3-devel liblz4-devel"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
checkdepends="python3-pytest python3-psutil"
|
checkdepends="python3-pytest python3-psutil"
|
||||||
|
@ -14,15 +14,7 @@ license="BSD-3-Clause"
|
||||||
homepage="https://github.com/python-lz4/python-lz4"
|
homepage="https://github.com/python-lz4/python-lz4"
|
||||||
changelog="https://github.com/python-lz4/python-lz4/releases"
|
changelog="https://github.com/python-lz4/python-lz4/releases"
|
||||||
distfiles="${PYPI_SITE}/l/lz4/lz4-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/l/lz4/lz4-${version}.tar.gz"
|
||||||
checksum=3c03f6b52b136a61b3168e875753a60d171a3efbab3601d66402a78dd20de4d2
|
checksum=debe75513db3eb9e5cdcd82a329ff38374b6316ab65b848b571e0404746c1e05
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
sed -i setup.py \
|
|
||||||
-e '/setup_requires=/,+4d' \
|
|
||||||
-e '/use_scm_version=/,+2d' \
|
|
||||||
-e "/name=/ a\
|
|
||||||
version='${version}',"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 -m pytest
|
python3 -m pytest
|
||||||
|
|
Loading…
Add table
Reference in a new issue