summaryrefslogtreecommitdiff
path: root/repo/python-testpath/python-testpath.xibuild
blob: 3fececcf246c18cb58e378a2862173d8ec629393 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="python-testpath"
DESC="test utilities for working with files and commands"

MAKEDEPS=" python-build python-installer python-wheel"

PKG_VER=0.6.0
SOURCE="https://files.pythonhosted.org/packages/source/t/testpath/testpath-$PKG_VER.tar.gz"

build() {
	python3 -m build --no-isolation --wheel
}

check() {
	pytest
}

package() {
	python3 -m installer -d "$PKG_DEST" \
		dist/testpath-$PKG_VER-py3-none-any.whl
}