diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-04-30 03:55:42 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-01 06:50:08 +0000 |
commit | 58b8d5c5b5d901389debc7ab89fecc078bcf6594 (patch) | |
tree | 4422f0e1f0239a172bdaef3deb43364134f9edb9 /main | |
parent | d02680ea75bd5b2a2aa726c43ca8b609c48b05c0 (diff) | |
download | aports-58b8d5c5b5d901389debc7ab89fecc078bcf6594.tar.bz2 aports-58b8d5c5b5d901389debc7ab89fecc078bcf6594.tar.xz |
main/py-lockfile: enable check
Diffstat (limited to 'main')
-rw-r--r-- | main/py-lockfile/APKBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/main/py-lockfile/APKBUILD b/main/py-lockfile/APKBUILD index 04598a3015..28c1593bc0 100644 --- a/main/py-lockfile/APKBUILD +++ b/main/py-lockfile/APKBUILD @@ -8,9 +8,8 @@ pkgdesc="A Python file locking module" url="https://github.com/smontanaro/pylockfile" arch="noarch" license="MIT" -options="!check" -depends="" -makedepends="python2-dev python3-dev py-setuptools" +makedepends="py-setuptools py3-setuptools" +checkdepends="py3-nose py3-sphinx" subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver @@ -21,6 +20,11 @@ build() { python3 setup.py build } +check() { + cd "$builddir" + nosetests +} + package() { mkdir -p "$pkgdir" } |