Bug 177794 - [PATCH} dns/py-dns: adapt to new options framework and etc.
Summary: [PATCH} dns/py-dns: adapt to new options framework and etc.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 02:50 UTC by Yasuhiro Kimura
Modified: 2013-05-07 20:50 UTC (History)
0 users

See Also:


Attachments
patch-py-dns (1.52 KB, text/plain)
2013-04-12 02:50 UTC, Yasuhiro Kimura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2013-04-12 02:50:00 UTC
	- Adapt to new options framework.
	- Add license information.
	- Trim makefile header.
	- Pet portlint
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-04-12 02:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-05-07 20:45:51 UTC
Author: rm
Date: Tue May  7 19:45:38 2013
New Revision: 317633
URL: http://svnweb.freebsd.org/changeset/ports/317633

Log:
  - trim Makefile header
  - define license (CNRI)
  - limit python version to 2.x only (print/except)
  - convert to optionsng (DOCS case)
  - clean-up pkg-descr
  - bump PORTREVISION because of license file addition
  
  PR:		177794 (based on)
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>

Modified:
  head/dns/py-dns/Makefile
  head/dns/py-dns/pkg-descr

Modified: head/dns/py-dns/Makefile
==============================================================================
--- head/dns/py-dns/Makefile	Tue May  7 19:42:37 2013	(r317632)
+++ head/dns/py-dns/Makefile	Tue May  7 19:45:38 2013	(r317633)
@@ -1,12 +1,9 @@
-# New ports collection makefile for:	py-dns
-# Date created:				21 September 2002
-# Whom:					Mark Linimon (linimon@lonesome.com)
-#
+# Created by: Mark Linimon <linimon@lonesome.com>
 # $FreeBSD$
-#
 
 PORTNAME=	dns
 PORTVERSION=	2.3.6
+PORTREVISION=	1
 CATEGORIES=	dns python
 MASTER_SITES=	SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +12,21 @@ DISTNAME=	pydns-${PORTVERSION}
 MAINTAINER=	rm@FreeBSD.org
 COMMENT=	DNS (Domain Name Service) library for Python
 
-USE_PYTHON=	yes
+LICENSE=	CNRI
+LICENSE_NAME=	CNRI LICENSE AGREEMENT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USE_PYTHON=	-2.7
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	pydns
 
 DOCS=		README.txt README-guido.txt
 DOCSDIR=	${PREFIX}/share/doc/py-dns
 
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
 post-install:
 	@${MKDIR} ${DOCSDIR}
 .for file in ${DOCS}

Modified: head/dns/py-dns/pkg-descr
==============================================================================
--- head/dns/py-dns/pkg-descr	Tue May  7 19:42:37 2013	(r317632)
+++ head/dns/py-dns/pkg-descr	Tue May  7 19:45:38 2013	(r317633)
@@ -2,8 +2,4 @@ This directory contains a Python module 
 Name Server) client, plus additional modules that define some symbolic
 constants used by DNS (dnstype, dnsclass, dnsopcode).
 
-This code is released under a Python-style license.
-
-A mailing list is available at pydns-developer@lists.sourceforge.net.
-
 WWW: http://pydns.sourceforge.net/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-05-07 20:48:58 UTC
State Changed
From-To: open->closed

Just committed it partially, thanks. And sorry for delay.