mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-12 11:31:18 +02:00
add py-8
This commit is contained in:
20
python/py-lockfile/Makefile
Normal file
20
python/py-lockfile/Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
# Created by: Wen Heping <wenheping@gmail.com>
|
||||
# $FreeBSD: head/devel/py-lockfile/Makefile 472884 2018-06-20 17:05:41Z mat $
|
||||
|
||||
PORTNAME= lockfile
|
||||
PORTVERSION= 0.12.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= wg@FreeBSD.org
|
||||
COMMENT= Platform-independent file locking module
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.8:python/py-pbr@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
python/py-lockfile/distinfo
Normal file
2
python/py-lockfile/distinfo
Normal file
@@ -0,0 +1,2 @@
|
||||
SHA256 (lockfile-0.12.2.tar.gz) = 6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799
|
||||
SIZE (lockfile-0.12.2.tar.gz) = 20874
|
||||
8
python/py-lockfile/pkg-descr
Normal file
8
python/py-lockfile/pkg-descr
Normal file
@@ -0,0 +1,8 @@
|
||||
The lockfile module exports a FileLock class which provides a simple
|
||||
API for locking files. Unlike the Windows msvcrt.locking function, the
|
||||
Unix fcntl.flock, fcntl.lockf 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.
|
||||
|
||||
WWW: https://github.com/smontanaro/pylockfile
|
||||
Reference in New Issue
Block a user