diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 16:03:50 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 16:03:50 -0300 |
commit | 7ca607352e8287af286235875761547907c3dd2d (patch) | |
tree | 6c0b562cb2e58ee33a8e8bbe3030fc0b431b6e73 /testing/py3-visitor | |
parent | 4bf69e2da16b16659bc55056dee52b4ab754862f (diff) | |
download | aports-7ca607352e8287af286235875761547907c3dd2d.tar.bz2 aports-7ca607352e8287af286235875761547907c3dd2d.tar.xz |
testing/py3-visitor: new aport
https://github.com/mbr/visitor
Tiny pythonic visitor implementation.
Diffstat (limited to 'testing/py3-visitor')
-rw-r--r-- | testing/py3-visitor/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-visitor/APKBUILD b/testing/py3-visitor/APKBUILD new file mode 100644 index 0000000000..e067f3b4f1 --- /dev/null +++ b/testing/py3-visitor/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Leo <thinkabit.ukim@gmail.com> +# Maintainer: Leo <thinkabit.ukim@gmail.com> +pkgname=py3-visitor +pkgver=0.1.3 +pkgrel=0 +pkgdesc="Tiny pythonic visitor implementation." +url="https://github.com/mbr/visitor" +arch="noarch" +license="MIT" +depends="python3" +makedepends="py3-setuptools" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://github.com/mbr/visitor/archive/$pkgver.tar.gz" +builddir="$srcdir/visitor-$pkgver" + +build() { + python3 setup.py build +} + +check() { + PYTHONPATH="$PWD/build/lib" py.test-3 +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="414c77df8efcc22df5ee8073e02b8c5c28563954ef9b9a869c4ea3f7f1268a97929c1fe29142ba41e3a5acafea52599f6bf073aacd654643d7d8380cd4f41fbc py3-visitor-0.1.3.tar.gz" |