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.1
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=93833a2cf280b7d8abbe1b8121530413250c6cd4ffed2c1cf085f335262f7348
python3-docker-pycreds_package() {
noarch=yes
depends="python3-six"
pycompile_module="dockerpycreds"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}