Commit 4773f354 authored by Bart Ribbers's avatar Bart Ribbers Committed by Leo

testing/py3-scripttest: new aport

parent 10324355
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-scripttest
pkgver=1.3.0
pkgrel=0
pkgdesc="Helper to test command-line scripts"
url="https://pypi.org/project/scripttest/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://github.com/pypa/scripttest/archive/$pkgver/scripttest-$pkgver.tar.gz"
builddir="$srcdir/scripttest-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="038bfb1726bff85b6e3675be51db829d3519b47665266f6ae1d3c5c6f4f06e7b16742262ca1ba240544e9bd39ae96c1be0bd5e8583736f72bb04241a1bb8acf6 scripttest-1.3.0.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment