python-oauthlib: drop package

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

View file

@ -1,31 +0,0 @@
# Template file for 'python-oauthlib'
pkgname=python-oauthlib
version=3.1.0
revision=2
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="oauthlib"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Implementation of the OAuth request-signing logic (Python2)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="BSD-3-Clause"
homepage="https://github.com/oauthlib/oauthlib"
distfiles="${PYPI_SITE}/o/oauthlib/oauthlib-${version}.tar.gz"
checksum=bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889
post_install() {
vlicense LICENSE
}
python3-oauthlib_package() {
archs=noarch
depends="python3"
pycompile_module="oauthlib"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
vlicense LICENSE
}
}

View file

@ -1 +0,0 @@
python-oauthlib

View file

@ -0,0 +1,18 @@
# Template file for 'python3-oauthlib'
pkgname=python3-oauthlib
version=3.1.0
revision=3
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Implementation of the OAuth request-signing logic (Python3)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="BSD-3-Clause"
homepage="https://github.com/oauthlib/oauthlib"
distfiles="${PYPI_SITE}/o/oauthlib/oauthlib-${version}.tar.gz"
checksum=bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889
post_install() {
vlicense LICENSE
}