python-hiredis: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-25 23:33:10 +07:00
parent e540479734
commit 5ccca9773f
4 changed files with 18 additions and 29 deletions

View file

@ -1,28 +0,0 @@
# Template file for 'python-hiredis'
pkgname=python-hiredis
version=0.2.0
revision=5
wrksrc="hiredis-${version}"
build_style=python-module
hostmakedepends="python-devel python3-devel"
makedepends="python-devel python3-devel hiredis-devel"
pycompile_module="hiredis"
short_desc="Python2 wrapper for hiredis"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD"
homepage="https://github.com/redis/hiredis-py"
distfiles="${PYPI_SITE}/h/hiredis/hiredis-${version}.tar.gz"
checksum=ca958e13128e49674aa4a96f02746f5de5973f39b57297b84d59fd44d314d5b5
post_install() {
vlicense COPYING
}
python3-hiredis_package() {
pycompile_module="hiredis"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense COPYING
}
}

View file

@ -1 +0,0 @@
python-hiredis

View file

@ -0,0 +1,18 @@
# Template file for 'python3-hiredis'
pkgname=python3-hiredis
version=0.2.0
revision=6
wrksrc="hiredis-${version}"
build_style=python3-module
hostmakedepends="python3-devel"
makedepends="python3-devel hiredis-devel"
short_desc="Python3 wrapper for hiredis"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/redis/hiredis-py"
distfiles="${PYPI_SITE}/h/hiredis/hiredis-${version}.tar.gz"
checksum=ca958e13128e49674aa4a96f02746f5de5973f39b57297b84d59fd44d314d5b5
post_install() {
vlicense COPYING
}