From c7e94a7c46c687ea9aedef3f621c203df3a68525 Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Sat, 7 Dec 2019 22:13:28 +0700 Subject: [PATCH] drop python-b2 template --- srcpkgs/backblaze-b2/template | 9 +++++++++ srcpkgs/python-b2 | 1 + srcpkgs/python-b2/template | 11 ----------- 3 files changed, 10 insertions(+), 11 deletions(-) create mode 120000 srcpkgs/python-b2 delete mode 100644 srcpkgs/python-b2/template diff --git a/srcpkgs/backblaze-b2/template b/srcpkgs/backblaze-b2/template index 48d5a95a5f7..4e9eaf4b744 100644 --- a/srcpkgs/backblaze-b2/template +++ b/srcpkgs/backblaze-b2/template @@ -15,6 +15,8 @@ license="MIT" homepage="https://github.com/Backblaze/B2_Command_Line_Tool" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=2d6382b94af59dcaa44dd546252807e0364d1b61f169584829ebbf82458e7078 +replaces="python-b2>=0" +provides="python-b2-${version}_${revision}" post_install() { # Remove test directory polluting site-packages @@ -25,3 +27,10 @@ post_install() { vlicense LICENSE } + +python-b2_package() { + depends="backblaze-b2>=${version}_${revision}" + build_style=meta + archs=noarch + short_desc+=" - transitional package" +} diff --git a/srcpkgs/python-b2 b/srcpkgs/python-b2 new file mode 120000 index 00000000000..8750c0ee843 --- /dev/null +++ b/srcpkgs/python-b2 @@ -0,0 +1 @@ +backblaze-b2 \ No newline at end of file diff --git a/srcpkgs/python-b2/template b/srcpkgs/python-b2/template deleted file mode 100644 index 26483d19ad0..00000000000 --- a/srcpkgs/python-b2/template +++ /dev/null @@ -1,11 +0,0 @@ -# Template file for 'python-b2' -pkgname=python-b2 -version=1.1.0 -revision=6 -archs=noarch -build_style=meta -depends="backblaze-b2>=${version}_${revision}" -short_desc="Command Line Interface for Backblaze's B2 storage service (transitional dummy package)" -maintainer="Orphaned " -license="MIT" -homepage="https://github.com/Backblaze/B2_Command_Line_Tool"