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

27 lines
813 B
Bash

# Template file for 'python-docker-pycreds'
pkgname=python-docker-pycreds
version=0.4.0
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>"
license="Apache-2.0"
homepage="https://github.com/shin-/dockerpy-creds"
distfiles="${PYPI_SITE}/d/docker-pycreds/docker-pycreds-${version}.tar.gz"
checksum=6ce3270bcaf404cc4c3e27e4b6c70d3521deae82fb508767870fdbf772d584d4
python3-docker-pycreds_package() {
noarch=yes
depends="python3-six"
pycompile_module="dockerpycreds"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}