summaryrefslogtreecommitdiff
path: root/repo/python-mock/python-mock.xibuild
blob: e26278be81805e4b7ea3a5cd46955e31d849c5c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

NAME="python-mock"
DESC="Python3 Mocking and Patching Library for Testing"

MAKEDEPS="python-setuptools"

PKG_VER=4.0.3
SOURCE="https://files.pythonhosted.org/packages/source/m/mock/mock-$PKG_VER.tar.gz"

build() {
	python3 setup.py build
}

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