Trying to install psycopg2 for 2.7 & 3.4
William Grzybowski
wg at freebsd.org
Tue Oct 7 14:35:20 UTC 2014
Can you try the following patch?
http://sprunge.us/HMJb
On Tue, Oct 7, 2014 at 11:19 AM, Richard Kuhns <rjk at wintek.com> wrote:
> Hello,
>
> I'm finally trying to port a fair number of python scripts from v2 to
> v3. I've already installed py-psycopg2 for v3.4, but when I then try to
> install it for v2.7 I get:
>
> ===> Checking if py27-psycopg2 already installed
> ===> Registering installation for py27-psycopg2-2.5.3
> pkg-static: py27-psycopg2-2.5.3 conflicts with py34-psycopg2-2.5.3
> (installs files into the same place). Problematic file:
> /usr/local/share/doc/py-psycopg2/AUTHORS
> *** Error code 70
>
> Stop.
> make: stopped in /usr/ports/databases/py-psycopg2
>
> Will I be making a mess of things if I just delete the PORTDOCS line in
> the Makefile long enough to install py27-psycopg2?
>
> Thanks!
>
> PS I've just subscribed to freebsd-python. I didn't realize it existed
> until I started googling for this problem.
> --
> Richard Kuhns <rjk at wintek.com> Main Number: 765-742-8428
> Wintek Corporation Direct: 765-269-8541
> 427 N 6th Street Internet Support: 765-269-8503
> Lafayette, IN 47901-2211 Consulting: 765-269-8504
> _______________________________________________
> freebsd-python at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscribe at freebsd.org"
--
William Grzybowski / wg
FreeBSD Ports Committer
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 369280)
+++ Makefile (working copy)
@@ -3,6 +3,7 @@
PORTNAME= psycopg2
PORTVERSION= 2.5.3
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-2-5/ \
CHEESESHOP
@@ -11,14 +12,9 @@
MAINTAINER= miwi at FreeBSD.org
COMMENT= High performance Python adapter for PostgreSQL
-USE_PGSQL= yes
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= pgsql python
+USE_PYTHON= autoplist concurrent distutils
-DOCSDIR= ${PREFIX}/share/doc/py-psycopg2
-EXAMPLESDIR= ${PREFIX}/share/examples/py-psycopg2
-
PORTEXAMPLES= binary.py copy_from.py copy_to.py cursor.py dialtone.py \
dict.py dt.py encoding.py fetch.py lastrowid.py lobject.py \
mogrify.py myfirstrecipe.py notify.py simple.py somehackers.jpg \
More information about the freebsd-python
mailing list