From c0eadcb971028a0649420223d852144da0539cdd Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 27 Apr 2008 09:29:44 +0000 Subject: [PATCH] The pysvn module is a python interface to the Subversion version control system. This API exposes client interfaces for managing a working copy, querying a repository, and synchronizing the two. This API cannot create new repositories; it can only interact with existing repositories. If you need to create a repository, use the svnadmin command from Subversion. Using the API, you can check out a working copy, add, edit, and remove working files, and check in, compare, or discard your changes. Repository properties such as keyword expansion, end of line characters, and ignore lists can also be examined and manipulated. WWW: http://pysvn.tigris.org/ PR: ports/122986 Submitted by: Attila Nagy --- devel/Makefile | 1 + devel/pysvn/Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++ devel/pysvn/distinfo | 3 +++ devel/pysvn/pkg-descr | 14 +++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 devel/pysvn/Makefile create mode 100644 devel/pysvn/distinfo create mode 100644 devel/pysvn/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 427c8bc4cee4..b8412a63d02f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2132,6 +2132,7 @@ SUBDIR += pyobfuscate SUBDIR += pypersrc SUBDIR += pyrex + SUBDIR += pysvn SUBDIR += pythk SUBDIR += pythontidy SUBDIR += qca diff --git a/devel/pysvn/Makefile b/devel/pysvn/Makefile new file mode 100644 index 000000000000..4bff6ed152d2 --- /dev/null +++ b/devel/pysvn/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: pysvn +# Date created: 22 April 2008 +# Whom: bra@fsn.hu +# +# $FreeBSD$ +# + +PORTNAME= pysvn +PORTVERSION= 1.5.3 +CATEGORIES= devel +MASTER_SITES= http://pysvn.barrys-emacs.org/source_kits/ + +MAINTAINER= bra@fsn.hu +COMMENT= Python binding for Subversion + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/CXX/__init__.py:${PORTSDIR}/devel/py-cxx +LIB_DEPENDS= svn_client-1:${PORTSDIR}/devel/subversion \ + apr-1.2:${PORTSDIR}/devel/apr \ + neon.26:${PORTSDIR}/www/neon + +USE_PYTHON= 2.3+ +USE_PYDISTUTILS=yes +PYDISTUTILS_NOEGGINFO=yes +PYDISTUTILS_PKGNAME=${PORTNAME} +PYDISTUTILS_CONFIGURE_TARGET=configure +PYDISTUTILS_CONFIGUREARGS=--pycxx-dir=${PYTHON_INCLUDEDIR} \ + --pycxx-src-dir=${LOCALBASE}/share/${PYTHON_VERSION}/CXX \ + --apr-inc-dir=${LOCALBASE}/include/apr-1 + +PLIST_SUB= PYTHONVER=${PYTHON_VERSION:S/./_/:S/python//} +PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PORTNAME}/__init__.py \ + %%PYTHON_SITELIBDIR%%/${PORTNAME}/_pysvn_%%PYTHONVER%%.so +PLIST_DIRS= %%PYTHON_SITELIBDIR%%/${PORTNAME} + +WRKSRC= ${WRKDIR}/${DISTNAME}/Source + +do-build: + cd ${WRKSRC} && ${MAKE} + +pre-install: + ${MKDIR} ${PYTHON_SITELIBDIR} + ${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}/* ${PYTHON_SITELIBDIR}/${PORTNAME} + +.include diff --git a/devel/pysvn/distinfo b/devel/pysvn/distinfo new file mode 100644 index 000000000000..f4a9b9d20d2d --- /dev/null +++ b/devel/pysvn/distinfo @@ -0,0 +1,3 @@ +MD5 (pysvn-1.5.3.tar.gz) = 68ee1b4cbeb4126c12896793d78a07fb +SHA256 (pysvn-1.5.3.tar.gz) = ec068cbe3a0f6ee63192102c91d3f4829108587a4e4c6513c3d7af90a75f8566 +SIZE (pysvn-1.5.3.tar.gz) = 473567 diff --git a/devel/pysvn/pkg-descr b/devel/pysvn/pkg-descr new file mode 100644 index 000000000000..0f74497b6373 --- /dev/null +++ b/devel/pysvn/pkg-descr @@ -0,0 +1,14 @@ +The pysvn module is a python interface to the Subversion version control +system. This API exposes client interfaces for managing a working copy, +querying a repository, and synchronizing the two. + +This API cannot create new repositories; it can only interact with existing +repositories. If you need to create a repository, use the svnadmin command +from Subversion. + +Using the API, you can check out a working copy, add, edit, and remove working +files, and check in, compare, or discard your changes. Repository properties +such as keyword expansion, end of line characters, and ignore lists can also +be examined and manipulated. + +WWW: http://pysvn.tigris.org/