Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2012 08:40:01 GMT
From:      Ruslan Makhmatkhanov <cvs-src@yandex.ru>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/174145: net-mgmt/noc: remove bogus setuptools dependency
Message-ID:  <201212050840.qB58e1IN012128@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/174145; it has been noted by GNATS.

From: Ruslan Makhmatkhanov <cvs-src@yandex.ru>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/174145: net-mgmt/noc: remove bogus setuptools dependency
Date: Wed, 05 Dec 2012 12:30:16 +0400

 This is a multi-part message in MIME format.
 --------------030705010202010303030801
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I changed django dependency line to test the build w/o setuptools and 
 forgot to turn it back after successful testing. Here is updated patch, 
 that differs from original one only in that django version thing.
 
 -- 
 Regards,
 Ruslan
 
 Tinderboxing kills... the drives.
 
 --------------030705010202010303030801
 Content-Type: text/plain; charset=UTF-8;
  name="noc2.diff.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="noc2.diff.txt"
 
 Index: Makefile
 ===================================================================
 --- Makefile	(revision 308315)
 +++ Makefile	(working copy)
 @@ -1,9 +1,5 @@
 -# New ports collection makefile for:	noc
 -# Date created:				27.08.2009
 -# Whom:					Stanislav Svirid <count@211.ru>
 -#
 +# Created by: Stanislav Svirid <count@211.ru>
  # $FreeBSD$
 -#
  
  PORTNAME=	noc
  PORTVERSION=	0.6.4
 @@ -14,37 +10,38 @@
  MAINTAINER=	count@211.ru
  COMMENT=	Operation Support System (OSS) for the Telco, SP, and Enterprise NOC
  
 -EXTRA_PATCHES=	${PATCHDIR}/extra-patch-sa_sae.py
 -EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-0.6.4.rst
 +LICENSE=	BSD
  
 -LIB_DEPENDS=	smi.2:${PORTSDIR}/net-mgmt/libsmi
 -BUILD_DEPENDS=	easy_install:${PORTSDIR}/devel/py-setuptools \
 -    		${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx \
 +LIB_DEPENDS=	smi:${PORTSDIR}/net-mgmt/libsmi
 +BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx \
  		${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
  RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django>=1.3<1.4:${PORTSDIR}/www/py-django \
  		${PYTHON_PKGNAMEPREFIX}django-tagging>0:${PORTSDIR}/www/py-django-tagging \
  		${PYTHON_PKGNAMEPREFIX}south>0:${PORTSDIR}/databases/py-south \
  		${PYTHON_PKGNAMEPREFIX}coverage>0:${PORTSDIR}/devel/py-coverage \
  		${PYTHON_PKGNAMEPREFIX}protobuf>0:${PORTSDIR}/devel/py-protobuf \
 -		${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so:${PORTSDIR}/databases/py-psycopg2 \
 +		${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 \
  		${PYTHON_PKGNAMEPREFIX}snmp4>=0:${PORTSDIR}/net-mgmt/py-snmp4 \
  		${PYTHON_PKGNAMEPREFIX}creole>0:${PORTSDIR}/textproc/py-creole \
  		${PYTHON_PKGNAMEPREFIX}webob>0:${PORTSDIR}/www/py-webob \
  		${PYTHON_PKGNAMEPREFIX}WebTest>0:${PORTSDIR}/www/py-WebTest \
  		${PYTHON_PKGNAMEPREFIX}netifaces>0:${PORTSDIR}/net/py-netifaces \
 -		${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
 +		${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
  
  BROKEN=		unsatisfyable dependency object
  
 -OPTIONS=	GMPY "Enable use GMP library in SSH" on \
 -		PEP8 "Intsall pep8 for checking source" off
 +EXTRA_PATCHES=	${PATCHDIR}/extra-patch-sa_sae.py
 +EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-0.6.4.rst
  
 -USE_PYTHON=	2.6+
 +OPTIONS_DEFINE=	GMPY PEP8
 +OPTIONS_DEFAULT=GMPY
 +GMP_DESC=	Use GMP library in SSH
 +PEP8_DESC=	Intsall pep8 for checking source
 +
 +USE_PYTHON=	-2.7
  USE_PYDISTUTILS=	yes
  PYDISTUTILS_EGGINFODIR=	${NOCDIR}
  
 -LICENSE=	BSD
 -
  NOCUSER=	noc
  NOCGROUP=	noc
  NOCDIR?=	${PREFIX}/noc
 @@ -54,13 +51,13 @@
  USERS=		${NOCUSER}
  GROUPS=		${NOCGROUP}
  
 -.include <bsd.port.pre.mk>
 +.include <bsd.port.options.mk>
  
 -.if defined(WITH_GMPY)
 -RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/gmpy.so:${PORTSDIR}/math/py-gmpy
 +.if ${PORT_OPTIONS:MGMPY}
 +RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}gmpy>0:${PORTSDIR}/math/py-gmpy
  .endif
  
 -.if defined(WITH_PEP8)
 +.if ${PORT_OPTIONS:MPEP8}
  RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pep8>0:${PORTSDIR}/devel/pep8
  .endif
  
 @@ -152,4 +149,4 @@
  	@${SH} ${PKGINSTALL} ${DISTNAME} POST-INSTALL
  	@${CAT} ${PKGMESSAGE}
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 Index: pkg-descr
 ===================================================================
 --- pkg-descr	(revision 308315)
 +++ pkg-descr	(working copy)
 @@ -1,4 +1,4 @@
 -NOC Project is an Operation Support System (OSS) for the Telco, 
 +NOC Project is an Operation Support System (OSS) for the Telco,
  Service provider and Enterprise Network Operation Centers (NOC).
  
  Areas covered by NOC:
 @@ -9,13 +9,13 @@
      * Virtual Circuits management (VLAN, DLCI, etc)
      * Configuration Management
      * DNS provisioning
 -    * Peering management, RPSL and BGP filters generator, integrated 
 +    * Peering management, RPSL and BGP filters generator, integrated
        looking glass
 -    * Reporting 
 +    * Reporting
  
  NOC Project is distributed under the term of BSD-like LICENSE.
  
  Enjoy!
 -The NOC Project Team 
 +The NOC Project Team
  
  WWW: http://www.nocproject.org/
 
 --------------030705010202010303030801--



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