Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 12:45:32 GMT
From:      Attila Nagy <bra@fsn.hu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122986: New port: devel/pysvn
Message-ID:  <200804221245.m3MCjWA6084809@www.freebsd.org>
Resent-Message-ID: <200804221250.m3MCo1Jl034620@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122986
>Category:       ports
>Synopsis:       New port: devel/pysvn
>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:   Tue Apr 22 12:50:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Attila Nagy
>Release:        FreeBSD 7-STABLE
>Organization:
FSN
>Environment:
>Description:
pysvn is an alternative subversion binding for python.

Features:
    * Supports all svn client features
    * Supports svn transaction features required to write svn pre-commit hooks
    * Easy to learn and use
    * Python like interface
    * Good Documentation and examples
    * No need to understand the Subversion C API 
>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:
#
#	pysvn
#	pysvn/Makefile
#	pysvn/distinfo
#	pysvn/pkg-descr
#
echo c - pysvn
mkdir -p pysvn > /dev/null 2>&1
echo x - pysvn/Makefile
sed 's/^X//' >pysvn/Makefile << 'END-of-pysvn/Makefile'
X# New ports collection makefile for:	pysvn
X# Date created:        22 April 2008
X# Whom:                bra@fsn.hu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pysvn
XPORTVERSION=	1.5.3
XCATEGORIES=	devel
XMASTER_SITES=	http://pysvn.barrys-emacs.org/source_kits/
X
XMAINTAINER=	bra@fsn.hu
XCOMMENT=	Python binding for Subversion
X
XBUILD_DEPENDS=	${PYTHON_SITELIBDIR}/CXX/__init__.py:${PORTSDIR}/devel/py-cxx
X
X
XUSE_PYTHON=	2.2+
XUSE_PYDISTUTILS=yes
XPYDISTUTILS_NOEGGINFO=yes
XPYDISTUTILS_PKGNAME=${PORTNAME}
XPYDISTUTILS_CONFIGURE_TARGET=configure
XPYDISTUTILS_CONFIGUREARGS=--pycxx-dir=${PYTHON_INCLUDEDIR} \
X		--pycxx-src-dir=${LOCALBASE}/share/${PYTHON_VERSION}/CXX \
X		--apr-inc-dir=/usr/local/include/apr-1
X
XPLIST_SUB=	PYTHONVER=${PYTHON_VERSION:S/./_/:S/python//}
XPLIST_FILES=	%%PYTHON_SITELIBDIR%%/${PORTNAME}/__init__.py \
X		%%PYTHON_SITELIBDIR%%/${PORTNAME}/_pysvn_%%PYTHONVER%%.so
XPLIST_DIRS=	%%PYTHON_SITELIBDIR%%/${PORTNAME}
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/Source
X
Xdo-build:
X	cd ${WRKSRC} && ${MAKE}
X
Xpre-install:
X	${MKDIR} ${PYTHON_SITELIBDIR}
X	${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}/* ${PYTHON_SITELIBDIR}/${PORTNAME} 
X
X.include <bsd.port.mk>
END-of-pysvn/Makefile
echo x - pysvn/distinfo
sed 's/^X//' >pysvn/distinfo << 'END-of-pysvn/distinfo'
XMD5 (pysvn-1.5.3.tar.gz) = 68ee1b4cbeb4126c12896793d78a07fb
XSHA256 (pysvn-1.5.3.tar.gz) = ec068cbe3a0f6ee63192102c91d3f4829108587a4e4c6513c3d7af90a75f8566
XSIZE (pysvn-1.5.3.tar.gz) = 473567
END-of-pysvn/distinfo
echo x - pysvn/pkg-descr
sed 's/^X//' >pysvn/pkg-descr << 'END-of-pysvn/pkg-descr'
XThe pysvn module is a python interface to the Subversion version control
Xsystem. This API exposes client interfaces for managing a working copy,
Xquerying a repository, and synchronizing the two.
X
XThis API cannot create new repositories; it can only interact with existing
Xrepositories. If you need to create a repository, use the svnadmin command
Xfrom Subversion.
X
XUsing the API, you can check out a working copy, add, edit, and remove working
Xfiles, and check in, compare, or discard your changes. Repository properties
Xsuch as keyword expansion, end of line characters, and ignore lists can also
Xbe examined and manipulated. 
X
XWWW: http://pysvn.tigris.org/
END-of-pysvn/pkg-descr
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804221245.m3MCjWA6084809>