Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2012 15:34:41 GMT
From:      Jose Jachuf <jjachuf@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172455: Is a new port. Firebird RDBMS bindings for Python.
Message-ID:  <201210071534.q97FYf85022539@red.freebsd.org>
Resent-Message-ID: <201210071540.q97FeBhZ065538@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172455
>Category:       ports
>Synopsis:       Is a new port. Firebird RDBMS bindings for Python.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 07 15:40:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jose Jachuf
>Release:        9.0-RELEASE-p3
>Organization:
-
>Environment:
FreeBSD hp530.compass.com 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Simply a new port that is useful to users Python and FirebirdSQL.

FBD is the official driver firebird-python community

It works well, but has a problem when uninstalling.

# make deinstall
===>  Deinstalling for databases/py-fdb
===>   Deinstalling py27-fdb-0.9
pkg_delete: file '/usr/local/lib/python2.7/site-packages/fdb-0.9-py2.7.egg-info' doesn't exist
pkg_delete: couldn't entirely delete package `py27-fdb-0.9'
(perhaps the packing list is incorrectly specified?)

In pkg-plist I have not included the file:
/usr/local/lib/python2.7/site-packages/fdb-0.9-py2.7.egg-info
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-fdb
#	py-fdb/Makefile
#	py-fdb/distinfo
#	py-fdb/pkg-descr
#	py-fdb/pkg-plist
#	py-fdb/files
#	py-fdb/files/patch-setup.py
#
echo c - py-fdb
mkdir -p py-fdb > /dev/null 2>&1
echo x - py-fdb/Makefile
sed 's/^X//' >py-fdb/Makefile << '0135c812800eabd247766fd645044cba'
X# New ports collection makefile for:	py-fdb
X# Date created:				2012-10-07
X# Whom:					Jose Jachuf <jjachuf@gmail.com>
X#
X# $FreeBSD: ports/databases/py-fdb/Makefile,v 1.8 2012/03/27 20:24:34 rm Exp $
X#
X
XPORTNAME=	fdb
XPORTVERSION=	0.9
XCATEGORIES=	databases python
XMASTER_SITES=	CHEESESHOP
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	jjachuf@gmail.com
XCOMMENT=	Firebird RDBMS bindings for Python
X
XLICENSE=	BSD
X
X# Python3 ready
XUSE_PYTHON=		yes
XUSE_PYDISTUTILS=	yes
X
X.include <bsd.port.mk>
0135c812800eabd247766fd645044cba
echo x - py-fdb/distinfo
sed 's/^X//' >py-fdb/distinfo << '4b3fea723528f7e512cf1c1206137c54'
XSHA256 (fdb-0.9.tar.gz) = d1e0d5ebc740e92db3cd31b6f244ba9084de2b70318e0f8a8dea73ff16824ee4
XSIZE (fdb-0.9.tar.gz) = 467829
4b3fea723528f7e512cf1c1206137c54
echo x - py-fdb/pkg-descr
sed 's/^X//' >py-fdb/pkg-descr << '8b469d071b6a6949f54eae2fe445e3d8'
XFirebird RDBMS bindings for Python.
X
Xfdb package is a set of Firebird RDBMS bindings for python. It works on Python 2.6+ and Python 3.x
X
Xhttp://www.firebirdsql.org/en/python-devel-status/
8b469d071b6a6949f54eae2fe445e3d8
echo x - py-fdb/pkg-plist
sed 's/^X//' >py-fdb/pkg-plist << 'bc648d2fdd20fc81186c1f6ec3e26f7b'
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/__init__.py
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/__init__.pyc
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/__init__.pyo
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/fbcore.py
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/fbcore.pyc
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/fbcore.pyo
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/ibase.py
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/ibase.pyc
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/ibase.pyo
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/services.py
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/services.pyc
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb/services.pyo
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/EGG-INFO/PKG-INFO
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/EGG-INFO/SOURCES.txt
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/EGG-INFO/dependency_links.txt
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/EGG-INFO/entry_points.txt
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/EGG-INFO/not-zip-safe
X%%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/EGG-INFO/top_level.txt
X@dirrm %%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/fdb
X@dirrm %%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg/EGG-INFO
X@dirrm %%PYTHON_SITELIBDIR%%/fdb-0.9-py2.7.egg
bc648d2fdd20fc81186c1f6ec3e26f7b
echo c - py-fdb/files
mkdir -p py-fdb/files > /dev/null 2>&1
echo x - py-fdb/files/patch-setup.py
sed 's/^X//' >py-fdb/files/patch-setup.py << '273d8fa0af826d2b340211abe11334f7'
X--- setup.py	2012-05-03 12:25:43.000000000 -0300
X+++ setup_new.py	2012-05-03 12:26:36.000000000 -0300
X@@ -3,7 +3,8 @@
X It works on Python 2.6+ (support for Python 3.x is planned)
X 
X """
X-from setuptools import setup, find_packages
X+from distutils.core import setup
X+from setuptools import find_packages
X from fdb import __version__
X 
X classifiers = [
273d8fa0af826d2b340211abe11334f7
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



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