python3-hiredis: update to 1.1.0.
This commit is contained in:
parent
6a2e5d1580
commit
070b6b9d86
2 changed files with 3 additions and 31 deletions
|
@ -1,28 +0,0 @@
|
||||||
Remove vendor and var 'lib' from setup.py
|
|
||||||
diff -u hiredis-0.2.0.orig/setup.py hiredis-0.2.0/setup.py
|
|
||||||
--- setup.py 2015-06-21 11:47:28.796472027 +0800
|
|
||||||
+++ setup.py 2015-06-21 11:49:53.047949803 +0800
|
|
||||||
@@ -40,12 +40,9 @@
|
|
||||||
# supported Python versions is worse...
|
|
||||||
#
|
|
||||||
# Also see: https://github.com/pietern/hiredis-py/issues/15
|
|
||||||
-lib = ("hiredis_for_hiredis_py", {
|
|
||||||
- "sources": ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]})
|
|
||||||
|
|
||||||
ext = Extension("hiredis.hiredis",
|
|
||||||
- sources=glob.glob("src/*.c"),
|
|
||||||
- include_dirs=["vendor"])
|
|
||||||
+ sources=glob.glob("src/*.c"))
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="hiredis",
|
|
||||||
@@ -57,7 +54,6 @@
|
|
||||||
keywords=["Redis"],
|
|
||||||
license="BSD",
|
|
||||||
packages=["hiredis"],
|
|
||||||
- libraries=[lib],
|
|
||||||
ext_modules=[ext],
|
|
||||||
|
|
||||||
# Override "install_lib" command
|
|
||||||
Common subdirectories: hiredis-0.2.0.orig/src and hiredis-0.2.0/src
|
|
||||||
Common subdirectories: hiredis-0.2.0.orig/vendor and hiredis-0.2.0/vendor
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-hiredis'
|
# Template file for 'python3-hiredis'
|
||||||
pkgname=python3-hiredis
|
pkgname=python3-hiredis
|
||||||
version=0.2.0
|
version=1.1.0
|
||||||
revision=6
|
revision=1
|
||||||
wrksrc="hiredis-${version}"
|
wrksrc="hiredis-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-devel"
|
hostmakedepends="python3-devel"
|
||||||
|
@ -11,7 +11,7 @@ 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"
|
distfiles="${PYPI_SITE}/h/hiredis/hiredis-${version}.tar.gz"
|
||||||
checksum=ca958e13128e49674aa4a96f02746f5de5973f39b57297b84d59fd44d314d5b5
|
checksum=996021ef33e0f50b97ff2d6b5f422a0fe5577de21a8873b58a779a5ddd1c3132
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Reference in a new issue