From nobody@FreeBSD.org  Wed Sep  9 03:20:38 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A73A1106566B
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <wenheping@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT]devel/py-lockfile:Platform-independent file locking module
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         138647
>Category:       ports
>Synopsis:       [NEW PORT]devel/py-lockfile:Platform-independent file locking module
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 09 03:30:02 UTC 2009
>Closed-Date:    Wed Sep 09 11:18:06 UTC 2009
>Last-Modified:  Wed Sep  9 11:20:04 UTC 2009
>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 <wenheping@gmail.com>
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 <bsd.port.mk>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Sep 9 03:30:14 UTC 2009 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138647 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Wed Sep 9 11:18:05 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=138647 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/138647: commit references a PR
Date: Wed,  9 Sep 2009 11:18:31 +0000 (UTC)

 miwi        2009-09-09 11:18:23 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/py-lockfile    Makefile distinfo pkg-descr pkg-plist 
   Log:
   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/
   
   PR:             ports/138647
   Submitted by:   Wen Heping <wenheping at gmail.com>
   
   Revision  Changes    Path
   1.3626    +1 -0      ports/devel/Makefile
   1.1       +20 -0     ports/devel/py-lockfile/Makefile (new)
   1.1       +3 -0      ports/devel/py-lockfile/distinfo (new)
   1.1       +8 -0      ports/devel/py-lockfile/pkg-descr (new)
   1.1       +3 -0      ports/devel/py-lockfile/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
