python-discogs_client: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:13:53 +07:00
parent 09f5ade701
commit 8f276faa14
3 changed files with 21 additions and 35 deletions

View file

@ -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 <gescha@posteo.de>"
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
}
}

View file

@ -1 +0,0 @@
python-discogs_client

View file

@ -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 <gescha@posteo.de>"
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
}