Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2012 16:16:44 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308113 - in head/net-p2p: libtorrent-rasterbar-15 libtorrent-rasterbar-15-python libtorrent-rasterbar-16 libtorrent-rasterbar-16-python
Message-ID:  <201212021616.qB2GGirk007672@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Sun Dec  2 16:16:44 2012
New Revision: 308113
URL: http://svnweb.freebsd.org/changeset/ports/308113

Log:
  - eliminate bogus setuptools dependency
  - bump PORTREVISION because of dependency change
  - extend python version in USE_PYTHON
  - fix incorrect PYDISTUTILS_PKGNAME usage
  
  Feature safe:	yes

Modified:
  head/net-p2p/libtorrent-rasterbar-15-python/Makefile
  head/net-p2p/libtorrent-rasterbar-15/Makefile
  head/net-p2p/libtorrent-rasterbar-16-python/Makefile
  head/net-p2p/libtorrent-rasterbar-16/Makefile

Modified: head/net-p2p/libtorrent-rasterbar-15-python/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar-15-python/Makefile	Sun Dec  2 15:41:17 2012	(r308112)
+++ head/net-p2p/libtorrent-rasterbar-15-python/Makefile	Sun Dec  2 16:16:44 2012	(r308113)
@@ -5,9 +5,8 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 COMMENT=	Python bindings for libtorrent-rasterbar-15
 CATEGORIES=	net-p2p python
 
-USE_PYTHON=	2.5+
+USE_PYTHON=	yes
 
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools>=0.6:${PORTSDIR}/devel/py-setuptools
 LIB_DEPENDS+=	boost_python.4:${PORTSDIR}/devel/boost-python-libs \
 		torrent-rasterbar.6:${PORTSDIR}/net-p2p/libtorrent-rasterbar-15
 
@@ -16,7 +15,7 @@ INSTALL_WRKSRC=	${BUILD_WRKSRC}
 PLIST=		${.CURDIR}/pkg-plist
 
 INSTALLS_EGGINFO=	yes
-PYDISTUTILS_EGGINFO=	python_libtorrent-${PORTVERSION}-py${PYTHON_VER}.egg-info
+PYDISTUTILS_PKGNAME=	python_libtorrent
 
 NOPORTDOCS=	yes
 
@@ -37,5 +36,3 @@ MASTERDIR=	${.CURDIR}/../libtorrent-rast
 # insure python paths are correctly identified
 CONFIGURE_ENV+=	PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
 		PYTHON_VERSION="${PYTHON_VERSION}"
-# prefix PKGNAME with python- so that the egg info file is properly named.
-PYDISTUTILS_PKGNAME=	python-${PORTNAME}

Modified: head/net-p2p/libtorrent-rasterbar-15/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar-15/Makefile	Sun Dec  2 15:41:17 2012	(r308112)
+++ head/net-p2p/libtorrent-rasterbar-15/Makefile	Sun Dec  2 16:16:44 2012	(r308113)
@@ -2,7 +2,7 @@
 
 PORTNAME=	libtorrent-rasterbar
 PORTVERSION=	0.15.9
-PORTREVISION?=	1
+PORTREVISION?=	2
 CATEGORIES?=	net-p2p ipv6
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 PROJECTHOST=	libtorrent

Modified: head/net-p2p/libtorrent-rasterbar-16-python/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar-16-python/Makefile	Sun Dec  2 15:41:17 2012	(r308112)
+++ head/net-p2p/libtorrent-rasterbar-16-python/Makefile	Sun Dec  2 16:16:44 2012	(r308113)
@@ -5,9 +5,8 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 COMMENT=	Python bindings for libtorrent-rasterbar-16
 CATEGORIES=	net-p2p python
 
-USE_PYTHON=	2.5+
+USE_PYTHON=	yes
 
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}setuptools>=0.6:${PORTSDIR}/devel/py-setuptools
 LIB_DEPENDS+=	boost_python.4:${PORTSDIR}/devel/boost-python-libs \
 		torrent-rasterbar.6:${PORTSDIR}/net-p2p/libtorrent-rasterbar-16
 
@@ -16,7 +15,7 @@ INSTALL_WRKSRC=	${BUILD_WRKSRC}
 PLIST=		${.CURDIR}/pkg-plist
 
 INSTALLS_EGGINFO=	yes
-PYDISTUTILS_EGGINFO=	python_libtorrent-${PORTVERSION}-py${PYTHON_VER}.egg-info
+PYDISTUTILS_PKGNAME=	python_libtorrent
 
 NOPORTDOCS=	yes
 
@@ -37,5 +36,3 @@ MASTERDIR=	${.CURDIR}/../libtorrent-rast
 # insure python paths are correctly identified
 CONFIGURE_ENV+=	PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
 		PYTHON_VERSION="${PYTHON_VERSION}"
-# prefix PKGNAME with python- so that the egg info file is properly named.
-PYDISTUTILS_PKGNAME=	python-${PORTNAME}

Modified: head/net-p2p/libtorrent-rasterbar-16/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar-16/Makefile	Sun Dec  2 15:41:17 2012	(r308112)
+++ head/net-p2p/libtorrent-rasterbar-16/Makefile	Sun Dec  2 16:16:44 2012	(r308113)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libtorrent-rasterbar
 PORTVERSION=	0.16.4
+PORTREVISION?=	1
 CATEGORIES?=	net-p2p ipv6
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 PROJECTHOST=	libtorrent



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