Date: Mon, 8 Oct 2012 12:20:13 GMT From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/172455 Message-ID: <201210081220.q98CKDSc044079@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/172455; it has been noted by GNATS. From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/172455 Date: Mon, 08 Oct 2012 16:14:32 +0400 This is a multi-part message in MIME format. --------------070903080600030305050909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Jose, please review the attached shar. It is fixing some of the problems in original submission: - use new-style Makefile header - limit python version to 2.x only (see [1]) and remove "Python3 ready" - the port needs setuptools, not distutils, so change USE_PYDISTUTILS to easy_install - add firebird client as build dependency (see traceback at [2]) - add WWW into pkg-descr and align the text at 80-char border - use PYEASYINSTALL_EGG in pkg-plist instead of hardcoded egg-filename [1] That's what I got when trying to build it with python32: """ ===> Configuring for py32-fdb-0.9 Traceback (most recent call last): File "setup.py", line 7, in <module> from fdb import __version__ File "/work/a/ports/databases/py-fdb/work/fdb-0.9/fdb/__init__.py", line 25, in <module> from fdb import services File "/work/a/ports/databases/py-fdb/work/fdb-0.9/fdb/services.py", line 57 CAPABILITY_MULTI_CLIENT = 0x2L ^ SyntaxError: invalid syntax *** Error code 1 """ [2] That's what I got when trying to build it w/o firebird-client installed: """ ===> Configuring for py27-fdb-0.9 Traceback (most recent call last): File "setup.py", line 7, in <module> from fdb import __version__ File "/work/a/ports/databases/py-fdb/work/fdb-0.9/fdb/__init__.py", line 23, in <module> from fdb.fbcore import * File "/work/a/ports/databases/py-fdb/work/fdb-0.9/fdb/fbcore.py", line 26, in <module> from . import ibase File "/work/a/ports/databases/py-fdb/work/fdb-0.9/fdb/ibase.py", line 1139, in <module> isc_attach_database = fb_library.isc_attach_database File "/usr/local/lib/python2.7/ctypes/__init__.py", line 378, in __getattr__ func = self.__getitem__(name) File "/usr/local/lib/python2.7/ctypes/__init__.py", line 383, in __getitem__ func = self._FuncPtr((name_or_ordinal, self)) AttributeError: Undefined symbol "isc_attach_database" *** Error code 1 """ So, if you approve the changes, I'll commit this. -- Regards, Ruslan Tinderboxing kills... the drives. --------------070903080600030305050909 Content-Type: text/plain; charset=UTF-8; name="1.shar.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="1.shar.txt" # 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: # # . # ./Makefile # ./distinfo # ./pkg-descr # ./pkg-plist # ./1.shar.txt # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# Created by: Jose Jachuf <jjachuf@gmail.com> X# $FreeBSD$ 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 XBUILD_DEPENDS= ${LOCALBASE}/include/ibase.h:${PORTSDIR}/databases/firebird25-client X XUSE_PYTHON= -2.7 XUSE_PYDISTUTILS=easy_install X X.include <bsd.port.mk> 464ef7c6571951809b23e262cbe26e19 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XSHA256 (fdb-0.9.tar.gz) = d1e0d5ebc740e92db3cd31b6f244ba9084de2b70318e0f8a8dea73ff16824ee4 XSIZE (fdb-0.9.tar.gz) = 467829 aec8793adfd5b7c3f00e62ae41a09ac2 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' XFirebird RDBMS bindings for Python. Xfdb package is a set of Firebird RDBMS bindings for python. XIt works on Python 2.6+ and Python 3.x X XWWW: http://www.firebirdsql.org/en/python-devel-status/ 0e313719ff012ceaf97a028d51caa8f5 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/__init__.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/__init__.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/__init__.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/fbcore.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/fbcore.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/fbcore.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/ibase.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/ibase.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/ibase.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/services.py X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/services.pyc X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb/services.pyo X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe X%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/fdb X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO X@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% ef3e7f63841ae908ba397c2bef1fbad6 echo x - ./1.shar.txt sed 's/^X//' >./1.shar.txt << 'be4125ef913dd7d3a876cd7c0825afb9' --------------070903080600030305050909--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210081220.q98CKDSc044079>