32 lines
867 B
Bash
32 lines
867 B
Bash
# Template file for 'python-zc.lockfile'
|
|
pkgname=python-zc.lockfile
|
|
version=1.4
|
|
revision=1
|
|
archs=noarch
|
|
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>"
|
|
license="ZPL-2.1"
|
|
homepage="https://github.com/zopefoundation/zc.lockfile"
|
|
distfiles="${PYPI_SITE}/z/zc.lockfile/zc.lockfile-${version}.tar.gz"
|
|
checksum=95a8e3846937ab2991b61703d6e0251d5abb9604e18412e2714e1b90db173253
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|
|
|
|
python3-zc.lockfile_package() {
|
|
archs=noarch
|
|
pycompile_module="zc/lockfile"
|
|
depends="python3-setuptools"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.txt LICENSE
|
|
}
|
|
}
|