diff options
author | prspkt <prspkt@protonmail.com> | 2019-04-03 23:29:49 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-04-04 00:00:37 +0300 |
commit | 83110a766ad55c11f2bb3a3a6eed1a13b5643bbe (patch) | |
tree | f4b3fb0088e23530916a0d0567112339e10f891c /testing/py3-pyhamcrest | |
parent | ec9aecba1042720eaf3382f4c5b74f92520c08be (diff) | |
download | aports-83110a766ad55c11f2bb3a3a6eed1a13b5643bbe.tar.bz2 aports-83110a766ad55c11f2bb3a3a6eed1a13b5643bbe.tar.xz |
testing/py3-pyhamcrest: rename aport
Diffstat (limited to 'testing/py3-pyhamcrest')
-rw-r--r-- | testing/py3-pyhamcrest/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-pyhamcrest/APKBUILD b/testing/py3-pyhamcrest/APKBUILD new file mode 100644 index 0000000000..24588482fd --- /dev/null +++ b/testing/py3-pyhamcrest/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: prspkt <prspkt@protonmail.com> +# Maintainer: prspkt <prspkt@protonmail.com> +pkgname=py3-pyhamcrest +_pkgname=PyHamcrest +pkgver=1.9.0 +pkgrel=0 +pkgdesc="Hamcrest framework for matcher objects" +url="https://github.com/hamcrest/PyHamcrest" +arch="noarch" +license="BSD-3-Clause" +replaces="py3-hamcrest" +provides="py3-hamcrest=$pkgver-r$pkgrel" +depends="py3-six python3" +makedepends="py3-setuptools python3-dev" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/"$_pkgname-$pkgver + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="3b8393d0079b619b208ec7f06ed5133c4ff9d9dba050f818adf56347fc2225fd1c85d60f3dc262b7b9722061f0b8e4966180b6b96245a371e578d0d51633b4b0 PyHamcrest-1.9.0.tar.gz" |