You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
38 lines
1.5 KiB
Tcl
38 lines
1.5 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-lockfile
|
|
version 0.12.2
|
|
categories-append devel
|
|
platforms {darwin any}
|
|
license MIT
|
|
maintainers {gmail.com:davidgilman1 @dgilman} openmaintainer
|
|
supported_archs noarch
|
|
|
|
description Platform-independent file locking module
|
|
long_description \
|
|
This package exports a LockFile class which provides a simple API for \
|
|
locking files. Unlike the Windows msvcrt.locking function, the fcntl.lockf \
|
|
and flock functions, and the deprecated posixfile module, the API is \
|
|
identical across both Unix (including Linux and Mac) and Windows platforms. \
|
|
The lock mechanism relies on the atomic nature of the link (on Unix) and \
|
|
mkdir (on Windows) system calls. An implementation based on SQLite is \
|
|
also provided, more as a demonstration of the possibilities it provides \
|
|
than as production-quality code.
|
|
|
|
homepage https://pypi.org/project/lockfile/
|
|
|
|
checksums rmd160 6aaa40fb1a1bd4322f26182fca631a6c4c1f8d24 \
|
|
sha256 6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799 \
|
|
size 20874
|
|
|
|
python.versions 27 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-pbr
|
|
}
|