testing/py3-rauth: move from user

This commit is contained in:
Antoine Martin 2023-08-30 13:55:38 -04:00
parent b05c84fef1
commit 26f670ddd6

View file

@ -9,18 +9,29 @@ pkgdesc="A Python library for OAuth 1.0/a, 2.0, and Ofly"
arch="noarch" arch="noarch"
url="https://github.com/maxcountryman/rauth" url="https://github.com/maxcountryman/rauth"
license="MIT" license="MIT"
depends="py3-requests" depends="
makedepends="py3-setuptools" py3-requests
"
makedepends="
py3-setuptools
py3-wheel
py3-gpep517
py3-installer
"
source="$_pkgname-$pkgver.tar.gz::https://pypi.python.org/packages/source/r/$_pkgname/$_pkgname-$pkgver.tar.gz" source="$_pkgname-$pkgver.tar.gz::https://pypi.python.org/packages/source/r/$_pkgname/$_pkgname-$pkgver.tar.gz"
options="!check" # No testsuite options="!check" # No testsuite
builddir="$srcdir"/$_pkgname-$pkgver builddir="$srcdir"/$_pkgname-$pkgver
subpackages="$pkgname-pyc"
build() { build() {
python3 setup.py build gpep517 build-wheel \
--wheel-dir dist \
--output-fd 3 3>&1 >&2
} }
package() { package() {
python3 setup.py install --skip-build --root="$pkgdir" --optimize=1 python3 -m installer -d "$pkgdir" \
dist/*.whl
} }
sha512sums=" sha512sums="