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