From 8f276faa1418c82559aaa7d6dafd77d37a7ecf57 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 21:13:53 +0700 Subject: [PATCH] python-discogs_client: drop package --- srcpkgs/python-discogs_client/template | 34 ------------------------- srcpkgs/python3-discogs_client | 1 - srcpkgs/python3-discogs_client/template | 21 +++++++++++++++ 3 files changed, 21 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/python-discogs_client/template delete mode 120000 srcpkgs/python3-discogs_client create mode 100644 srcpkgs/python3-discogs_client/template diff --git a/srcpkgs/python-discogs_client/template b/srcpkgs/python-discogs_client/template deleted file mode 100644 index 5af18eda664..00000000000 --- a/srcpkgs/python-discogs_client/template +++ /dev/null @@ -1,34 +0,0 @@ -# Template file for 'python-discogs_client' -pkgname=python-discogs_client -version=2.2.2 -revision=2 -archs=noarch -wrksrc="discogs-client-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-requests python-six python-oauthlib" -pycompile_module="discogs_client" -short_desc="Official Discogs API client for Python2" -maintainer="Georg Schabel " -homepage="https://github.com/discogs/discogs_client" -license="BSD-2-Clause" -distfiles="${PYPI_SITE}/d/discogs-client/discogs-client-${version}.tar.gz - https://raw.githubusercontent.com/discogs/discogs_client/master/LICENSE" -checksum="aeae43fb9281e27c580d1bcd484e6c309f4f3a05af3908016ee3363786ef43d8 - 1af62aeddccb57134218ddbdc67d0473524ca736703d7cce01db59b2e07da542" -skip_extraction="LICENSE" - -post_install() { - vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE -} - -python3-discogs_client_package() { - archs=noarch - depends="python3-requests python3-six python3-oauthlib" - pycompile_module="discogs_client" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/LICENSE - } -} diff --git a/srcpkgs/python3-discogs_client b/srcpkgs/python3-discogs_client deleted file mode 120000 index 9eafeefc622..00000000000 --- a/srcpkgs/python3-discogs_client +++ /dev/null @@ -1 +0,0 @@ -python-discogs_client \ No newline at end of file diff --git a/srcpkgs/python3-discogs_client/template b/srcpkgs/python3-discogs_client/template new file mode 100644 index 00000000000..b75992655b4 --- /dev/null +++ b/srcpkgs/python3-discogs_client/template @@ -0,0 +1,21 @@ +# Template file for 'python3-discogs_client' +pkgname=python3-discogs_client +version=2.2.2 +revision=3 +wrksrc="discogs-client-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-requests python3-six python3-oauthlib" +short_desc="Official Discogs API client for Python3" +maintainer="Georg Schabel " +license="BSD-2-Clause" +homepage="https://github.com/discogs/discogs_client" +distfiles="${PYPI_SITE}/d/discogs-client/discogs-client-${version}.tar.gz + https://raw.githubusercontent.com/discogs/discogs_client/master/LICENSE" +checksum="aeae43fb9281e27c580d1bcd484e6c309f4f3a05af3908016ee3363786ef43d8 + 1af62aeddccb57134218ddbdc67d0473524ca736703d7cce01db59b2e07da542" +skip_extraction="LICENSE" + +post_install() { + vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE +}