From f5d2372b3def2cced4a7e08534e90bbfe1ca184c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 20:43:55 +0700 Subject: [PATCH] python3-lz4: depends on python3 Also drop python-lz4 --- srcpkgs/python3-lz4 | 1 - srcpkgs/{python-lz4 => python3-lz4}/template | 27 ++++++-------------- 2 files changed, 8 insertions(+), 20 deletions(-) delete mode 120000 srcpkgs/python3-lz4 rename srcpkgs/{python-lz4 => python3-lz4}/template (55%) diff --git a/srcpkgs/python3-lz4 b/srcpkgs/python3-lz4 deleted file mode 120000 index 858a976b46a..00000000000 --- a/srcpkgs/python3-lz4 +++ /dev/null @@ -1 +0,0 @@ -python-lz4 \ No newline at end of file diff --git a/srcpkgs/python-lz4/template b/srcpkgs/python3-lz4/template similarity index 55% rename from srcpkgs/python-lz4/template rename to srcpkgs/python3-lz4/template index 76a2e800e38..29edfbcd8b0 100644 --- a/srcpkgs/python-lz4/template +++ b/srcpkgs/python3-lz4/template @@ -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 " 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 - } -}