From ebda94e20f036009f7f9265988eec12b1ecab44a 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 15:29:22 +0700 Subject: [PATCH] olm-python: drop package --- srcpkgs/olm-python3 | 1 - srcpkgs/{olm-python => olm-python3}/template | 24 +++++++------------- srcpkgs/{olm-python => olm-python3}/update | 0 3 files changed, 8 insertions(+), 17 deletions(-) delete mode 120000 srcpkgs/olm-python3 rename srcpkgs/{olm-python => olm-python3}/template (50%) rename srcpkgs/{olm-python => olm-python3}/update (100%) diff --git a/srcpkgs/olm-python3 b/srcpkgs/olm-python3 deleted file mode 120000 index 6786365785c..00000000000 --- a/srcpkgs/olm-python3 +++ /dev/null @@ -1 +0,0 @@ -olm-python \ No newline at end of file diff --git a/srcpkgs/olm-python/template b/srcpkgs/olm-python3/template similarity index 50% rename from srcpkgs/olm-python/template rename to srcpkgs/olm-python3/template index 605a917f176..d24edc16937 100644 --- a/srcpkgs/olm-python/template +++ b/srcpkgs/olm-python3/template @@ -1,14 +1,14 @@ -# Template file for 'olm-python' -pkgname=olm-python +# Template file for 'olm-python3' +pkgname=olm-python3 version=3.1.5 -revision=1 +revision=2 wrksrc="olm-${version}" build_wrksrc=python -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi" -makedepends="python-devel python3-devel libffi-devel olm-devel" -depends="python-cffi python-future python-typing" -short_desc="Implementation of the Double Ratchet cryptographic ratchet (Python2)" +build_style=python3-module +hostmakedepends="python3-setuptools python3-cffi" +makedepends="python3-devel libffi-devel olm-devel" +depends="python3-cffi python3-future" +short_desc="Implementation of the Double Ratchet cryptographic ratchet - Python" maintainer="Adam Beckmeyer " license="Apache-2.0" homepage="https://gitlab.matrix.org/matrix-org/olm" @@ -18,11 +18,3 @@ checksum=1cd4d92ae56373836362c3300ee79a14005a26cda3d399d278d468ba5c7c0713 pre_build() { make include/olm/olm.h } - -olm-python3_package() { - short_desc="${short_desc/Python2/Python3}" - depends="python3-cffi python3-future" - pkg_install() { - vmove ${py3_sitelib} - } -} diff --git a/srcpkgs/olm-python/update b/srcpkgs/olm-python3/update similarity index 100% rename from srcpkgs/olm-python/update rename to srcpkgs/olm-python3/update