diff options
author | Duncan Bellamy <dunk@denkimushi.com> | 2021-11-28 10:16:47 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-11-29 10:23:53 +0000 |
commit | 8b3ab2d714b175ac7272503f7c651e9ec02a9815 (patch) | |
tree | f42d22700fc477166d39d8abbd5183046cffefc3 /community | |
parent | f49bb1aa69f7d17e92c454714bf3c968e5030405 (diff) | |
download | aports-8b3ab2d714b175ac7272503f7c651e9ec02a9815.tar.gz aports-8b3ab2d714b175ac7272503f7c651e9ec02a9815.tar.bz2 aports-8b3ab2d714b175ac7272503f7c651e9ec02a9815.tar.xz |
community/py3-routes: move from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/py3-routes/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/py3-routes/APKBUILD b/community/py3-routes/APKBUILD new file mode 100644 index 0000000000..afb73e125f --- /dev/null +++ b/community/py3-routes/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Duncan Bellamy <dunk@denkimushi.com> +# Maintainer: Duncan Bellamy <dunk@denkimushi.com> +pkgname=py3-routes +_pkgname=Routes +pkgver=2.5.1 +pkgrel=0 +pkgdesc="Routing Recognition and Generation Tools" +url="https://routes.readthedocs.io/en/latest/" +arch="noarch" +license="MIT" +depends="py3-repoze-lru py3-six" +makedepends="py3-setuptools" +checkdepends="py3-beautifulsoup4 py3-nose py3-pytest py3-webob py3-webtest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/R/Routes/Routes-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 -m pytest -W ignore::DeprecationWarning +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="06ec9a8426ced86524096703de47e3da2fa08bd0ed8c962d451b4338966804245b5074077021fb58a5afcb63acd6dcffa05a89703b8b54841a69a4cdff12b755 py3-routes-2.5.1.tar.gz" |