aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-pluggy/APKBUILD
blob: 65ba44f516c5e0784d0277abfef46f2fbaa6c6fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=py3-pluggy
_pkgname=${pkgname#py3-*}
pkgver=0.13.0
pkgrel=0
pkgdesc="Plugin management and hook calling for Python"
options="!check" # Requires py3-flake8 which is not in main
url="https://pluggy.readthedocs.io/en/latest/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-flake8 py3-pytest py3-zipp"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

check() {
	python3 -m pytest
}

sha512sums="82cf7d8aa4a0e09f8ba5048cd7ce038f34ca1453fe0c5a7926a2113e64528d0861955f8544035b4ffd61f0227e3d30d8d4180a05bf80e0de4809546e990bd4c7  pluggy-0.13.0.tar.gz"