python3-lz4: depends on python3

Also drop python-lz4
This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 20:43:55 +07:00
parent 459377edb6
commit f5d2372b3d
2 changed files with 8 additions and 20 deletions

View File

@ -1 +0,0 @@
python-lz4

View File

@ -1,16 +1,14 @@
# Template file for 'python-lz4'
pkgname=python-lz4
# Template file for 'python3-lz4'
pkgname=python3-lz4
version=2.1.6
revision=3
revision=4
wrksrc="lz4-${version}"
build_style=python-module
pycompile_module="lz4"
hostmakedepends="pkg-config python-setuptools python3-setuptools
python-pkgconfig python3-pkgconfig"
makedepends="python-devel python3-devel liblz4-devel"
depends="python-future"
build_style=python3-module
hostmakedepends="pkg-config python3-setuptools python3-pkgconfig"
makedepends="python3-devel liblz4-devel"
depends="python3"
checkdepends="python3-pytest python3-psutil"
short_desc="LZ4 bindings for Python2"
short_desc="LZ4 bindings for Python3"
maintainer="Oliver Kiddle <okiddle@yahoo.co.uk>"
license="BSD-3-Clause"
homepage="https://github.com/python-lz4/python-lz4"
@ -33,12 +31,3 @@ do_check() {
post_install() {
vlicense LICENSE
}
python3-lz4_package() {
pycompile_module="lz4"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}