void-packages/srcpkgs/python-docker-pycreds/template

27 lines
812 B
Bash

# Template file for 'python-docker-pycreds
pkgname=python-docker-pycreds
version=0.2.3
revision=1
noarch=yes
wrksrc="docker-pycreds-${version}"
build_style=python-module
pycompile_module="dockerpycreds"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-six"
short_desc="Python2 bindings for the docker credentials store API"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
homepage="https://github.com/shin-/dockerpy-creds"
license="Apache-2.0"
distfiles="${PYPI_SITE}/d/docker-pycreds/docker-pycreds-${version}.tar.gz"
checksum=e3732a03610a00461a716997670c7010bf1c214a3edc440f7d6a2a3a830ecd9d
python3-docker-pycreds_package() {
noarch=yes
depends="python3-six"
pycompile_module="dockerpycreds"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}