aports/testing/py3-dweepy/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
this is only a partial rebuild,
including stuff that i built on my personal machine
with python 3.12.2; might fail with 3.12.3
2024-04-15 17:00:47 +02:00

31 lines
989 B
Text

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-dweepy
_pkgname=dweepy
pkgver=0.3.0
pkgrel=7
pkgdesc="A Python client for Dweet.io"
url="https://github.com/paddycarey/dweepy"
arch="noarch"
license="MIT"
depends="py3-requests"
makedepends="py3-setuptools py3-gpep517 py3-wheel"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-dweepy" # Backwards compatibility
provides="py-dweepy=$pkgver-r$pkgrel" # Backwards compatibility
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="f190c40bbcfdbaa516fff3d2f91dc58bf8ed71096385a74476c2e1c13cfafc32c0c24645801b3fdb5116a80807b0150a4a4b0976ebf499b4fa51ebf9a5ac797e dweepy-0.3.0.tar.gz"