Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2011 17:49:09 GMT
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/160069: [PATCH] devel/bzr-git: eliminate py-pysqlite2x dependency
Message-ID:  <201108241749.p7OHn9VX079179@red.freebsd.org>
Resent-Message-ID: <201108241750.p7OHo6Q6056154@freefall.freebsd.org>

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

>Number:         160069
>Category:       ports
>Synopsis:       [PATCH] devel/bzr-git: eliminate py-pysqlite2x dependency
>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 Aug 24 17:50:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Mahmatkhanov
>Release:        9.0-BETA1
>Organization:
>Environment:
9.0-BETA1 i386
>Description:
- bump USE_PYTHON to 2.5+ (the point is to not depend on python24)
- since it now requires 2.5+ use databases/py-sqlite3 
  instead of databases/py-pysqlite2x
- while here, move LICENSE to proper block
- bump portrevision cause of deps change
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruNa bzr-git.orig/Makefile bzr-git/Makefile
--- bzr-git.orig/Makefile	2011-07-14 21:29:41.000000000 +0400
+++ bzr-git/Makefile	2011-08-24 21:45:30.000000000 +0400
@@ -7,6 +7,7 @@
 
 PORTNAME=	bzr-git
 PORTVERSION=	0.6.1
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://launchpadlibrarian.net/73756120/ \
 		http://www.c-s.li/ports/
@@ -14,15 +15,15 @@
 MAINTAINER=	c-s@c-s.li
 COMMENT=	Plugin for bzr to work with git trees
 
+LICENSE=	GPLv2
+
 BUILD_DEPENDS=	bzr:${PORTSDIR}/devel/bazaar-ng
 RUN_DEPENDS=	bzr:${PORTSDIR}/devel/bazaar-ng \
 		${PYTHON_SITELIBDIR}/dulwich/__init__.py:${PORTSDIR}/devel/dulwich \
-		py*-pysqlite>=2.3:${PORTSDIR}/databases/py-pysqlite23
-
-LICENSE=	GPLv2
+		${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
 
 WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_PYTHON=	yes
+USE_PYTHON=	2.5+
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	bzr_git
 


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



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