From 33c98bb917d4d14675e5c527cfde9547824b27f3 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 9 Jul 2020 09:54:06 +0200 Subject: community/py3-requests-futures: move from testing --- community/py3-requests-futures/APKBUILD | 31 +++++++++++++++++++++++++++++++ testing/py3-requests-futures/APKBUILD | 30 ------------------------------ 2 files changed, 31 insertions(+), 30 deletions(-) create mode 100644 community/py3-requests-futures/APKBUILD delete mode 100644 testing/py3-requests-futures/APKBUILD diff --git a/community/py3-requests-futures/APKBUILD b/community/py3-requests-futures/APKBUILD new file mode 100644 index 00000000000..84ce72f5763 --- /dev/null +++ b/community/py3-requests-futures/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=py3-requests-futures +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Asynchronous Python HTTP for Humans" +url="https://github.com/ross/requests-futures" +arch="noarch" +license="Apache-2.0" +depends="python3 py3-requests" +makedepends="py3-setuptools" +checkdepends="py3-pytest" +source="https://pypi.python.org/packages/source/r/requests-futures/requests-futures-$pkgver.tar.gz" +# Network is required for tests +# Some tests will fail until fixed: ttps://github.com/ross/requests-futures/issues/94 +options="net !check" +builddir="$srcdir/requests-futures-$pkgver" + +build() { + python3 setup.py build +} + +check() { + pytest +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="64b39ed99712df8f1be74b2de97500d89711c0d5d3ba0f2b64e3bab755d0bf82029d7ced13b755ce12a2b86f3b673305b651ba6ff4cfb60aed40c8d5876f202c requests-futures-1.0.0.tar.gz" diff --git a/testing/py3-requests-futures/APKBUILD b/testing/py3-requests-futures/APKBUILD deleted file mode 100644 index 8c3241f3890..00000000000 --- a/testing/py3-requests-futures/APKBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Contributor: Bart Ribbers -# Maintainer: Bart Ribbers -pkgname=py3-requests-futures -pkgver=1.0.0 -pkgrel=0 -pkgdesc="Asynchronous Python HTTP for Humans" -url="https://github.com/ross/requests-futures" -arch="noarch" -license="Apache-2.0" -depends="python3 py3-requests" -makedepends="py3-setuptools" -source="https://pypi.python.org/packages/source/r/requests-futures/requests-futures-$pkgver.tar.gz" -# Network is required for tests -# Some tests will fail until fixed: ttps://github.com/ross/requests-futures/issues/94 -options="net !check" -builddir="$srcdir/requests-futures-$pkgver" - -build() { - python3 setup.py build -} - -check() { - python3 setup.py test -} - -package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="64b39ed99712df8f1be74b2de97500d89711c0d5d3ba0f2b64e3bab755d0bf82029d7ced13b755ce12a2b86f3b673305b651ba6ff4cfb60aed40c8d5876f202c requests-futures-1.0.0.tar.gz" -- cgit v1.2.3