From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 9 03:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 990151065670 for ; Wed, 9 Sep 2009 03:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7449D8FC1E for ; Wed, 9 Sep 2009 03:30:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n893U2hE097376 for ; Wed, 9 Sep 2009 03:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n893U2Bn097373; Wed, 9 Sep 2009 03:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 9 Sep 2009 03:30:02 GMT Resent-Message-Id: <200909090330.n893U2Bn097373@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wen Heping Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A73A1106566B for ; Wed, 9 Sep 2009 03:20:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 54D4C8FC1C for ; Wed, 9 Sep 2009 03:20:38 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n893KcsC043348 for ; Wed, 9 Sep 2009 03:20:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n893Kcji043347; Wed, 9 Sep 2009 03:20:38 GMT (envelope-from nobody) Message-Id: <200909090320.n893Kcji043347@www.freebsd.org> Date: Wed, 9 Sep 2009 03:20:38 GMT From: Wen Heping To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/138647: [NEW PORT]devel/py-lockfile:Platform-independent file locking module X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 03:30:02 -0000 >Number: 138647 >Category: ports >Synopsis: [NEW PORT]devel/py-lockfile:Platform-independent file locking module >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 09 03:30:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Wen Heping >Release: FreeBSD 8.0-Current >Organization: ChangAn Middle School >Environment: FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Thu Sep 3 16:55:45 HKT 2009 root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: 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: http://pypi.python.org/pypi/lockfile/ >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-lockfile # py-lockfile/Makefile # py-lockfile/pkg-plist # py-lockfile/pkg-descr # py-lockfile/distinfo # echo c - py-lockfile mkdir -p py-lockfile > /dev/null 2>&1 echo x - py-lockfile/Makefile sed 's/^X//' >py-lockfile/Makefile << 'afc1b8ce82bf77937cb4562bd0e39049' X# New ports collection makefile for: lockfile X# Date created: 4th Sep, 2009 X# Whom: Wen Heping X# X# $FreeBSD$ X# X XPORTNAME= lockfile XPORTVERSION= 0.8 XCATEGORIES= devel python XMASTER_SITES= http://smontanaro.dyndns.org/python/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} X XMAINTAINER= wenheping@gmail.com XCOMMENT= Platform-independent file locking module X XUSE_PYTHON= yes XUSE_PYDISTUTILS= yes X X.include afc1b8ce82bf77937cb4562bd0e39049 echo x - py-lockfile/pkg-plist sed 's/^X//' >py-lockfile/pkg-plist << '784ab84f256d20b57e149dbac0c29f75' X%%PYTHON_SITELIBDIR%%/lockfile.py X%%PYTHON_SITELIBDIR%%/lockfile.pyc X%%PYTHON_SITELIBDIR%%/lockfile.pyo 784ab84f256d20b57e149dbac0c29f75 echo x - py-lockfile/pkg-descr sed 's/^X//' >py-lockfile/pkg-descr << '8f6956258261e77879e049b2d3137c9f' XThe lockfile module exports a FileLock class which provides a simple XAPI for locking files. Unlike the Windows msvcrt.locking function, the XUnix fcntl.flock, fcntl.lockf and the deprecated posixfile module, the XAPI is identical across both Unix (including Linux and Mac) and Windows Xplatforms. The lock mechanism relies on the atomic nature of the link X(on Unix) and mkdir (on Windows) system calls. X XWWW: http://pypi.python.org/pypi/lockfile/ 8f6956258261e77879e049b2d3137c9f echo x - py-lockfile/distinfo sed 's/^X//' >py-lockfile/distinfo << '98f9574eb2fa11dabc7c7be443aeb584' XMD5 (lockfile-0.8.tar.gz) = 2d515e19eb6f69d6ed711cbbafdec7ef XSHA256 (lockfile-0.8.tar.gz) = e6e20ec66ceaea2cf81c675216d68f11b3d15a855fe6c64a26ef983b399afd7a XSIZE (lockfile-0.8.tar.gz) = 8825 98f9574eb2fa11dabc7c7be443aeb584 exit >Release-Note: >Audit-Trail: >Unformatted: