1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

databases/py-fdb: update to 1.5

- update to 1.5

while here:
- fix build with python 3.x
- add NO_ARCH, sort USE_PYTHON

PR:		206865
Submitted by:	jjachuf@gmail.com (maintainer)
This commit is contained in:
Ruslan Makhmatkhanov 2016-02-12 19:10:05 +00:00
parent 482d9fa066
commit 46a8cb3604
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408748
3 changed files with 16 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= fdb
PORTVERSION= 1.4.3
PORTVERSION= 1.5
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -14,8 +14,9 @@ LICENSE= ISCL
LIB_DEPENDS= libfbclient.so:${PORTSDIR}/databases/firebird25-client
NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>

View File

@ -1,2 +1,2 @@
SHA256 (fdb-1.4.3.tar.gz) = 91e916884ea2257ac170d401ff0423c79be93a68783db6f3653cd5c2f104f244
SIZE (fdb-1.4.3.tar.gz) = 903931
SHA256 (fdb-1.5.tar.gz) = 4d7dfee446560923061187285831fc3bb04ea1228f43f18196f94ded360dc35e
SIZE (fdb-1.5.tar.gz) = 927867

View File

@ -0,0 +1,11 @@
--- fdb/schema.py.orig 2016-01-07 16:01:02 UTC
+++ fdb/schema.py
@@ -2521,7 +2521,7 @@ class Table(BaseSchemaItem):
coldef += '%s' % datatype
if col.isidentity():
coldef += ' GENERATED BY DEFAULT AS IDENTITY'
- if col.generator.inital_value <> 0:
+ if col.generator.inital_value != 0:
coldef += ' (START WITH %d)' % col.generator.inital_value
else:
if col.has_default():