mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
python3-hiredis: update to 2.3.0
This commit is contained in:
parent
1db1b7b2b8
commit
986e8ab909
1 changed files with 21 additions and 5 deletions
|
@ -1,18 +1,34 @@
|
||||||
# Template file for 'python3-hiredis'
|
# Template file for 'python3-hiredis'
|
||||||
pkgname=python3-hiredis
|
pkgname=python3-hiredis
|
||||||
version=2.0.0
|
version=2.3.0
|
||||||
revision=4
|
revision=1
|
||||||
|
build_wrksrc="hiredis-py-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
makedepends="python3-devel hiredis-devel"
|
makedepends="python3-devel hiredis-devel"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
|
checkdepends="python3-pytest $depends"
|
||||||
short_desc="Python3 wrapper for hiredis"
|
short_desc="Python3 wrapper for hiredis"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/redis/hiredis-py"
|
homepage="https://github.com/redis/hiredis-py"
|
||||||
distfiles="${PYPI_SITE}/h/hiredis/hiredis-${version}.tar.gz"
|
_hiredis_hash="60e5075d4ac77424809f855ba3e398df7aacefe8"
|
||||||
checksum=81d6d8e39695f2c37954d1011c0480ef7cf444d4e3ae24bc5e89ee5de360139a
|
distfiles="
|
||||||
|
https://github.com/redis/hiredis-py/archive/v${version}.tar.gz
|
||||||
|
https://github.com/redis/hiredis/archive/${_hiredis_hash}.tar.gz
|
||||||
|
"
|
||||||
|
checksum="f595ad58fa88c027f376eda2b336837e5cffae7c1fbbaf13dcd96efffd26357c
|
||||||
|
b6d6f799b7714d85316f9ebfb76a35a78744f42ea3b6774289d882d13a2f0383"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
rmdir "${build_wrksrc}/vendor/hiredis"
|
||||||
|
mv "hiredis-${_hiredis_hash}" "${build_wrksrc}/vendor/hiredis"
|
||||||
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
PYTHONPATH="$(cd build/lib* && pwd)" pytest3 tests
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue