mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-docker-py
|
|
pkgver=7.1.0
|
|
pkgrel=0
|
|
pkgdesc="Python library for the Docker Engine API"
|
|
url="https://github.com/docker/docker-py"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
options="!check" # no docker avail
|
|
depends="
|
|
py3-hatchling
|
|
py3-hatch-vcs
|
|
py3-packaging
|
|
py3-requests
|
|
py3-urllib3
|
|
py3-websocket-client
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-setuptools_scm
|
|
py3-wheel
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/docker/docker-py/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/docker-py-$pkgver"
|
|
|
|
provides="docker-py=$pkgver-r$pkgrel"
|
|
replaces="docker-py"
|
|
|
|
build() {
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer --destdir="$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
3dd73f2c3f3e92863496ef8277f481e64484e0e85a64dffe4e3287836823e4b118a5c8e73b2540e7188a0b755cd3f237ccc868a5bfb81d3bff1142fbb33755cb py3-docker-py-7.1.0.tar.gz
|
|
"
|