From 7d48139c5105a7f078501b30f201cb2108095e13 Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Sat, 7 Dec 2019 23:00:04 +0700 Subject: [PATCH] python-b2sdk: revert to 0.1.8, change to Python3 backblaze-b2 is the only user of python-b2sdk. backblaze-b2 requires b2sdk>=0.1.8 <0.2.0 backblaze-b2 is the only user of python-b2sdk. It's probably safer to upgrade to Python 3. --- srcpkgs/python-b2sdk/template | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python-b2sdk/template b/srcpkgs/python-b2sdk/template index 1bfab81af4..032f530202 100644 --- a/srcpkgs/python-b2sdk/template +++ b/srcpkgs/python-b2sdk/template @@ -1,17 +1,24 @@ # Template file for 'python-b2sdk' +# keep python-b2sdk name to revert this package pkgname=python-b2sdk -version=1.0.2 -revision=1 +reverts="1.0.0_1 1.0.2_1" +version=0.1.8 +revision=2 archs=noarch -build_style=python2-module -pycompile_module="b2sdk" wrksrc="b2sdk-${version}" -hostmakedepends="python-setuptools" -depends="python-setuptools python-logfury python-futures python-Arrow - python-requests python-six" +build_style=python3-module +pycompile_module="b2sdk" +hostmakedepends="python3-setuptools" +depends="python3-logfury python3-Arrow python3-requests python3-six" +checkdepends="python3-pytest $depends python3-dateutil python3-nose + python3-mock python3-tqdm python3-pyflakes" short_desc="Backblaze's B2 Python SDK" maintainer="Andrea Brancaleoni " license="MIT" homepage="https://pypi.org/project/b2sdk" distfiles="${PYPI_SITE}/b/b2sdk/b2sdk-${version}.tar.gz" -checksum=10402f7f401652298ed5eb896997b0258773e93a9568440e98b5699aa7b77390 \ No newline at end of file +checksum=91bcf09a05f5e822f7494824bf2fd75a81ff0035d2670f443a6f89454d18ab31 + +post_install() { + vlicense LICENSE +}