2024-04-12 11:59:22 +02:00

31 lines
1008 B
Plaintext

# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
# Contributor: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=py3-simplemediawiki
pkgver=1.2.0_git20170315
pkgrel=4
_commit="e531dabcb6541cc95770ce3de418cabc6d2424a1"
pkgdesc="Extremely low-level wrapper to the MediaWiki API"
url="https://github.com/iliana/python-simplemediawiki"
arch="noarch"
license="LGPL-3.0-or-later"
depends="py3-setuptools py3-gpep517 py3-wheel"
options="!check" # No testsuite
subpackages="$pkgname-pyc"
source="$pkgname-$_commit.tar.gz::https://github.com/iliana/python-simplemediawiki/archive/$_commit.tar.gz"
builddir="$srcdir/python-simplemediawiki-$_commit"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
gpep517 install-wheel --destdir "$pkgdir" \
.dist/*.whl
}
sha512sums="
95c6cee71af2579a6fe90f86671dfa457e9c2cf5923bdf15e01041c5a149fe52fbc5cc6e1c228375653663ddf3622013035128b261153a8f55146688bf912365 py3-simplemediawiki-e531dabcb6541cc95770ce3de418cabc6d2424a1.tar.gz
"