New package: python-zc.lockfile-1.3.0

Dependency for python-CherryPy
This commit is contained in:
Lon Willett 2018-09-22 11:42:07 +02:00
parent 7ed98a5fc5
commit 056574f1bc
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Template file for 'python-zc.lockfile'
pkgname=python-zc.lockfile
version=1.3.0
revision=1
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
}
}

1
srcpkgs/python3-zc.lockfile Symbolic link
View File

@ -0,0 +1 @@
python-zc.lockfile