Date: Wed, 19 Dec 2012 20:11:48 +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: r309262 - head/net-mgmt/noc Message-ID: <201212192011.qBJKBmgu076383@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Wed Dec 19 20:11:48 2012 New Revision: 309262 URL: http://svnweb.freebsd.org/changeset/ports/309262 Log: - remove bogus setuptools dependency - trim Makefile header - move LICENSE and *_DEPENDS into proper block (portlint warning) - remove shlib version in LIB_DEPENDS (portlint warning) - eliminate using PYTHON_SITELIBDIR - convert to optionsng - limit python version to 2.x only since noc (and the most of it's dependencies) not [fully] supports 3.x - remove trailing whitespace from pkg-descr - do not bump PORTREVISION because the port is marked BROKEN (next 0.7.5 release adding django 1.4 support, so hopefully it will be working again soon) PR: 174145 Submitted by: rm (myself) Approved by: maintainer timeout (2 weeks+) Modified: head/net-mgmt/noc/Makefile head/net-mgmt/noc/pkg-descr Modified: head/net-mgmt/noc/Makefile ============================================================================== --- head/net-mgmt/noc/Makefile Wed Dec 19 20:09:39 2012 (r309261) +++ head/net-mgmt/noc/Makefile Wed Dec 19 20:11:48 2012 (r309262) @@ -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 @@ MASTER_SITES= http://redmine.nocproject. 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 + +OPTIONS_DEFINE= GMPY PEP8 +OPTIONS_DEFAULT=GMPY +GMP_DESC= Use GMP library in SSH +PEP8_DESC= Intsall pep8 for checking source -USE_PYTHON= 2.6+ +USE_PYTHON= -2.7 USE_PYDISTUTILS= yes PYDISTUTILS_EGGINFODIR= ${NOCDIR} -LICENSE= BSD - NOCUSER= noc NOCGROUP= noc NOCDIR?= ${PREFIX}/noc @@ -54,13 +51,13 @@ LOCALSTATE_DIR?=/var/run/noc 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 @@ post-install: @${SH} ${PKGINSTALL} ${DISTNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/net-mgmt/noc/pkg-descr ============================================================================== --- head/net-mgmt/noc/pkg-descr Wed Dec 19 20:09:39 2012 (r309261) +++ head/net-mgmt/noc/pkg-descr Wed Dec 19 20:11:48 2012 (r309262) @@ -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 @@ Areas covered by NOC: * 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212192011.qBJKBmgu076383>