From 47b55c3d9641d198033f043f89e6564dee6e7a6a Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 30 Aug 2023 13:55:04 -0400 Subject: [PATCH] testing/py3-docker: move from user --- {user => testing}/py3-docker/APKBUILD | 33 +++++++++++++++++++++------ 1 file changed, 26 insertions(+), 7 deletions(-) rename {user => testing}/py3-docker/APKBUILD (60%) diff --git a/user/py3-docker/APKBUILD b/testing/py3-docker/APKBUILD similarity index 60% rename from user/py3-docker/APKBUILD rename to testing/py3-docker/APKBUILD index eeb5bda..ac57d68 100644 --- a/user/py3-docker/APKBUILD +++ b/testing/py3-docker/APKBUILD @@ -3,17 +3,36 @@ _pyname=docker pkgname="py3-$_pyname" -pkgver=6.0.1 -pkgrel=1 +pkgver=6.1.3 +pkgrel=0 arch="noarch" pkgdesc="A Python library for the Docker Engine API." url="https://pypi.python.org/project/$_pyname" license="Apache-2.0" -depends="py3-packaging py3-requests py3-urllib3 py3-websocket-client py3-paramiko" -makedepends="py3-build py3-installer py3-setuptools py3-setuptools_scm py3-wheel" -checkdepends="py3-pytest py3-flake8 py3-coverage py3-pytest-cov py3-pytest-timeout" +depends=" + py3-packaging + py3-requests + py3-urllib3 + py3-websocket-client + py3-paramiko + " +makedepends=" + py3-build + py3-installer + py3-setuptools + py3-setuptools_scm + py3-wheel + " +checkdepends=" + py3-pytest + py3-flake8 + py3-coverage + py3-pytest-cov + py3-pytest-timeout + " source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$pkgver +subpackages="$pkgname-pyc" prepare() { default_prepare @@ -26,7 +45,7 @@ build() { } check() { - py.test --cov=docker tests/unit || true + py.test --cov=docker tests/unit } package() { @@ -34,5 +53,5 @@ package() { install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ } sha512sums=" -1a598396ac96a7f63af681c8f0f8b8632b1049a3fa66fd595f8cf3460484826bdbbe83ed378412f65e2fe9ae0b36976dfddbee5c206ce36bd742c3be2ff56d94 py3-docker-6.0.1.tar.gz +52641af0c58ca496712d00a1363ecb43bda9cef01553a052f6f5295b04029ece3b9b7a860ee44a5fa7a4255e850d802c31309aecc93011d19d42dd45c2e03c0d py3-docker-6.1.3.tar.gz "