From owner-svn-ports-all@FreeBSD.ORG Mon Sep 22 15:15:28 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 47ED8A0C; Mon, 22 Sep 2014 15:15:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1948E842; Mon, 22 Sep 2014 15:15:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8MFFRT1046970; Mon, 22 Sep 2014 15:15:27 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8MFFRnD046968; Mon, 22 Sep 2014 15:15:27 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201409221515.s8MFFRnD046968@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Mon, 22 Sep 2014 15:15:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368959 - in head/databases/py-mssql: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 15:15:28 -0000 Author: riggs Date: Mon Sep 22 15:15:27 2014 New Revision: 368959 URL: http://svnweb.freebsd.org/changeset/ports/368959 QAT: https://qat.redports.org/buildarchive/r368959/ Log: - Fix build breakage due to recent upgrade of databases/freetds - Add LICENSE - Modernise port Makefile - Bump PORTREVISION Added: head/databases/py-mssql/files/ head/databases/py-mssql/files/patch-mssqldbmodule.c (contents, props changed) Modified: head/databases/py-mssql/Makefile Modified: head/databases/py-mssql/Makefile ============================================================================== --- head/databases/py-mssql/Makefile Mon Sep 22 15:14:58 2014 (r368958) +++ head/databases/py-mssql/Makefile Mon Sep 22 15:15:27 2014 (r368959) @@ -3,6 +3,7 @@ PORTNAME= mssql PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,11 +12,13 @@ DISTNAME= pymssql-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python database interface for simple MS-SQL access +LICENSE= LGPL21 + LIB_DEPENDS= libsybdb.so:${PORTSDIR}/databases/freetds-msdblib -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes -PYDISTUTILS_PKGNAME= pymssql +USES= dos2unix python:2 +USE_PYTHON= autoplist distutils + +DOS2UNIX_FILES= mssqldbmodule.c .include Added: head/databases/py-mssql/files/patch-mssqldbmodule.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/py-mssql/files/patch-mssqldbmodule.c Mon Sep 22 15:15:27 2014 (r368959) @@ -0,0 +1,10 @@ +--- mssqldbmodule.c.orig 2014-09-22 16:55:37.023477894 +0200 ++++ mssqldbmodule.c 2014-09-22 16:55:28.247483584 +0200 +@@ -85,7 +85,6 @@ + #define SQLTEXT SYBTEXT + + #define BYTE unsigned char +-typedef unsigned char *LPBYTE; + #endif + + #define TYPE_STRING 1