void-packages/srcpkgs/python-zc.lockfile/template

32 lines
865 B
Bash

# Template file for 'python-zc.lockfile'
pkgname=python-zc.lockfile
version=1.3.0
revision=2
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="zc/lockfile"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools"
short_desc="Basic inter-process locks (Python2)"
maintainer="Lon Willett <xgit@lonw.net>"
homepage="https://github.com/zopefoundation/zc.lockfile"
license="ZPL-2.1"
distfiles="${PYPI_SITE}/z/zc.lockfile/zc.lockfile-${version}.tar.gz"
checksum=96cb13769e042988ea25d23d44cf09342ea0f887083d0f9736968f3617665853
post_install() {
vlicense LICENSE.txt LICENSE
}
python3-zc.lockfile_package() {
noarch=yes
pycompile_module="zc/lockfile"
depends="python3-setuptools"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt LICENSE
}
}