Bug 137782 - new port: databases/py-postgresql: postgresql driver for python, works with python>=3.0
Summary: new port: databases/py-postgresql: postgresql driver for python, works with p...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-15 00:30 UTC by c.kworr
Modified: 2009-12-18 19:30 UTC (History)
0 users

See Also:


Attachments
file.diff (14.26 KB, patch)
2009-08-15 00:30 UTC, c.kworr
no flags Details | Diff
py-postgresql.txt (14.86 KB, text/plain)
2009-09-06 20:41 UTC, c.kworr
no flags Details
py-postgresql.txt (14.84 KB, text/plain)
2009-10-30 22:07 UTC, c.kworr
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description c.kworr 2009-08-15 00:30:05 UTC
databases/py-postgresql is pure python/optimized python driver for postgresql database access wich can be used at almost any platform you can stick python3.0+ on. Currently other drivers (py-pg8000, py-psycopg, py-psycopg2, py-PyGreSql, py-pyPgSQL, py-sqlalchemy) doesn't work with python3.0 or later.

PS: My first port ever guys, have mercy. :)

Fix: Patch attached with submission follows:
How-To-Repeat: Try to use postgresql from python3.0 or later.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-08-15 00:30:16 UTC
Class Changed
From-To: update->change-request

Fix category (new ports should be change-requests) (via the GNATS Auto 
Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-08-15 00:30:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 3 c.kworr 2009-09-06 20:41:02 UTC
Though nothing changes I have made a new version of the port. Changes are:
  * USE_BZIP2;
  * correct .egg-info file installation/deinstallation;
  * now packed with shar.

Is there anyone willing to commit this? What I should fix to have this 
commited?

-- 
Sphinx of black quartz judge my vow.
Comment 4 c.kworr 2009-10-30 22:07:04 UTC
New version:

  * reordered variables - makes portlint happy;
  * updated MASTER_SITES, added my own mirror for file;
  * changed comment to make portlint totally happy.

What should I do more to have this commited?

-- 
Sphinx of black quartz judge my vow.
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2009-12-18 19:08:04 UTC
State Changed
From-To: open->closed

New port added, with fixes.
Comment 6 dfilter service freebsd_committer freebsd_triage 2009-12-18 19:22:22 UTC
pav         2009-12-18 19:22:02 UTC

  FreeBSD ports repository

  Modified files:
    databases            Makefile 
  Added files:
    databases/py-postgresql Makefile distinfo pkg-descr pkg-plist 
  Log:
  Pure Python
  All code, at first, is written in pure Python so that py-postgresql will work
  anywhere that you can install Python 3. Optimizations in C are made where
  needed, but are always optional.
  
  Prepared Statements
  Using the PG-API interface, protocol-level prepared statements may be created
  and used multiple times. db.prepare(sql)(*args)
  
  COPY Support
  Use the convenient COPY interface to directly copy data from one connection to
  another. No intermediate files or tricks are necessary.
  
  Arrays and Composite Typescw
  Arrays and composites are fully supported. Queries requesting them will returns
  objects that provide access to the elements within.
  
  "pg_python" Quick Console
  Get a Python console with a connection to PostgreSQL for quick tests and simple
  scripts.
  
  WWW: http://python.projects.postgresql.org/
  
  PR:             ports/137782
  Submitted by:   Volodymyr Kostyrko <c.kworr@gmail.com>
  
  Revision  Changes    Path
  1.818     +1 -0      ports/databases/Makefile
  1.1       +27 -0     ports/databases/py-postgresql/Makefile (new)
  1.1       +3 -0      ports/databases/py-postgresql/distinfo (new)
  1.1       +22 -0     ports/databases/py-postgresql/pkg-descr (new)
  1.1       +258 -0    ports/databases/py-postgresql/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"