python-lz4: update to 2.1.1.
This commit is contained in:
parent
2bdf89c664
commit
7479347248
1 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-lz4'
|
# Template file for 'python-lz4'
|
||||||
pkgname=python-lz4
|
pkgname=python-lz4
|
||||||
version=2.1.0
|
version=2.1.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="lz4-${version}"
|
wrksrc="lz4-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -9,13 +9,14 @@ hostmakedepends="pkg-config python-setuptools python3-setuptools
|
||||||
python-pkgconfig python3-pkgconfig"
|
python-pkgconfig python3-pkgconfig"
|
||||||
makedepends="python-devel python3-devel liblz4-devel"
|
makedepends="python-devel python3-devel liblz4-devel"
|
||||||
depends="python-future"
|
depends="python-future"
|
||||||
|
checkdepends="python3-pytest python3-psutil"
|
||||||
short_desc="LZ4 bindings for Python2"
|
short_desc="LZ4 bindings for Python2"
|
||||||
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
|
||||||
license="BSD-3-Clause"
|
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=166aff2fbb2fee39f4ed58e8e7c1ed8a8ce72915832a100ced7a1634ac655a6f
|
checksum=af46e2e5c002b3fbffa2ad69289aa61e46cab1a87c1d85bda44e822a1634defa
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i setup.py \
|
sed -i setup.py \
|
||||||
|
@ -24,6 +25,11 @@ pre_build() {
|
||||||
-e "/name=/ a\
|
-e "/name=/ a\
|
||||||
version='${version}',"
|
version='${version}',"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 -m pytest
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue