Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2017 23:40:21 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r446179 - in head: . databases databases/py-odbc databases/py-pyodbc databases/py-pyodbc/files
Message-ID:  <201707182340.v6INeL8e009386@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Tue Jul 18 23:40:21 2017
New Revision: 446179
URL: https://svnweb.freebsd.org/changeset/ports/446179

Log:
  databases/py-odbc: Update to 4.0.17, Rename to databases/py-pyodbc
  
  Rename to comply with PyPI scheme
  
  While here:
   - Switch to USES=localbase and remove a patch that does the same
   - STRIP pyodbc.so
  
  PR:		220305
  Submitted by:	rob.kruus@gmail.com (maintainer)
  Approved by:	garga (mentor)
  Differential Revision:	https://reviews.freebsd.org/D11587

Added:
  head/databases/py-pyodbc/
     - copied from r446178, head/databases/py-odbc/
Deleted:
  head/databases/py-odbc/
  head/databases/py-pyodbc/files/
Modified:
  head/MOVED
  head/databases/Makefile
  head/databases/py-pyodbc/Makefile
  head/databases/py-pyodbc/distinfo

Modified: head/MOVED
==============================================================================
--- head/MOVED	Tue Jul 18 22:20:55 2017	(r446178)
+++ head/MOVED	Tue Jul 18 23:40:21 2017	(r446179)
@@ -9465,3 +9465,4 @@ devel/libbrotli|archivers/brotli|2017-07-12|meta proje
 dns/opendnssec13|dns/opendnssec14|2017-07-13|Has expired: Approaching EOL, upgrade to opendnssec 1.4 or 2
 multimedia/banshee||2017-07-13|Has expired: Project is not being actively maintained upstream anymore
 www/libhtp-suricata||2017-07-16|No longer required. security/suricata now uses official (not forked) libhtp 
+databases/py-odbc|databases/py-pyodbc|2017-07-18|Rename to comply with PyPI scheme

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Tue Jul 18 22:20:55 2017	(r446178)
+++ head/databases/Makefile	Tue Jul 18 23:40:21 2017	(r446179)
@@ -768,7 +768,6 @@
     SUBDIR += py-mysql-connector-python2
     SUBDIR += py-mysql2pgsql
     SUBDIR += py-mysqlclient
-    SUBDIR += py-odbc
     SUBDIR += py-oops
     SUBDIR += py-oursql
     SUBDIR += py-peewee
@@ -788,6 +787,7 @@
     SUBDIR += py-pylibmc
     SUBDIR += py-pymssql
     SUBDIR += py-pymysql
+    SUBDIR += py-pyodbc
     SUBDIR += py-pypuppetdb
     SUBDIR += py-pypuppetdb03
     SUBDIR += py-pytc

Modified: head/databases/py-pyodbc/Makefile
==============================================================================
--- head/databases/py-odbc/Makefile	Tue Jul 18 22:20:55 2017	(r446178)
+++ head/databases/py-pyodbc/Makefile	Tue Jul 18 23:40:21 2017	(r446179)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	pyodbc
-PORTVERSION=	4.0.1
+PORTVERSION=	4.0.17
 CATEGORIES=	databases python
-MASTER_SITES=	CHEESESHOP/source/p/${PORTNAME}
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	rob.kruus@gmail.com
@@ -16,7 +16,10 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 LIB_DEPENDS=	libodbc.so:databases/unixODBC
 BUILD_DEPENDS=	unixODBC>=2.2.14:databases/unixODBC
 
-USES=		python
+USES=		localbase python
 USE_PYTHON=	autoplist distutils
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyodbc.so
 
 .include <bsd.port.mk>

Modified: head/databases/py-pyodbc/distinfo
==============================================================================
--- head/databases/py-odbc/distinfo	Tue Jul 18 22:20:55 2017	(r446178)
+++ head/databases/py-pyodbc/distinfo	Tue Jul 18 23:40:21 2017	(r446179)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1484673680
-SHA256 (pyodbc-4.0.1.tar.gz) = ddd8d14f2206c790e583cdc4a09f934f0d2e12e56f3bc8d5e90b0960d1c96f8c
-SIZE (pyodbc-4.0.1.tar.gz) = 190668
+TIMESTAMP = 1500420030
+SHA256 (pyodbc-4.0.17.tar.gz) = a82892ba8d74318524efaaccaf8351d3a3b4079a07e1a758902a2b9e84529c9d
+SIZE (pyodbc-4.0.17.tar.gz) = 196514



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