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' # Template file for 'python3-lz4'
pkgname=python-lz4 pkgname=python3-lz4
version=2.1.6 version=2.1.6
revision=3 revision=4
wrksrc="lz4-${version}" wrksrc="lz4-${version}"
build_style=python-module build_style=python3-module
pycompile_module="lz4" hostmakedepends="pkg-config python3-setuptools python3-pkgconfig"
hostmakedepends="pkg-config python-setuptools python3-setuptools makedepends="python3-devel liblz4-devel"
python-pkgconfig python3-pkgconfig" depends="python3"
makedepends="python-devel python3-devel liblz4-devel"
depends="python-future"
checkdepends="python3-pytest python3-psutil" checkdepends="python3-pytest python3-psutil"
short_desc="LZ4 bindings for Python2" short_desc="LZ4 bindings for Python3"
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"
@ -33,12 +31,3 @@ do_check() {
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }
python3-lz4_package() {
pycompile_module="lz4"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}