diff options
author | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-27 23:09:07 +0100 |
commit | f6332a43c35387c4a2dea1746be5fd092890ae0e (patch) | |
tree | d6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/python-testpath | |
parent | f13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff) |
added lf and iptables
Diffstat (limited to 'repo/python-testpath')
-rw-r--r-- | repo/python-testpath/python-testpath.xibuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/python-testpath/python-testpath.xibuild b/repo/python-testpath/python-testpath.xibuild new file mode 100644 index 0000000..3fececc --- /dev/null +++ b/repo/python-testpath/python-testpath.xibuild @@ -0,0 +1,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 +} + |