Bug 167569 - [PATCH] database/py-postgresql: new port version
Summary: [PATCH] database/py-postgresql: new port version
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: Nicola Vitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 02:40 UTC by William Grzybowski
Modified: 2012-07-09 21:20 UTC (History)
0 users

See Also:


Attachments
py-postgresql.patch (38.21 KB, patch)
2012-05-04 13:03 UTC, c.kworr
no flags Details | Diff
py-postgresql.patch (31.79 KB, patch)
2012-05-04 14:27 UTC, c.kworr
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Grzybowski 2012-05-04 02:40:07 UTC

    
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-04 02:40:17 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 2012-05-04 02:40: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 wenheping 2012-05-04 03:08:34 UTC
Hi,

   Did you test it with python-3.2.3 in portstree ?

wen
Comment 4 William Grzybowski 2012-05-04 11:42:53 UTC
On Thu, May 3, 2012 at 11:08 PM, wen heping <wenheping@gmail.com> wrote:
> Hi,
>
> =A0 =A0Did you test it with python-3.2.3 in portstree ?

No, not really.
I'll do later today and I'll get back to you.

Thanks

--=20
William Grzybowski
Comment 5 c.kworr 2012-05-04 13:03:33 UTC
Hi all.

Sorry about not updating port, not using it anymore...

I've compiled updated patch, the one that removes everything upon 
deinstallation.

Side notes: don't move away PYDISTUTILS_EGGINFO, it sits there for one 
purpose - generating correct PLIST line for .egg-info file.

I've tested that on my machine:

FreeBSD green.tandem.local 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri May  4 
11:55:53 EEST 2012 
arcade@green.tandem.local:/usr/obj/usr/src/sys/MINIMAL  amd64

with python:
 > python3.2
Python 3.2.3 (default, Apr 12 2012, 09:45:20)
[GCC 4.2.1 Compatible FreeBSD Clang 3.0 (tags/RELEASE_30/final 145349)] 
on freebsd9
Type "help", "copyright", "credits" or "license" for more information.

-- 
Sphinx of black quartz judge my vow.
Comment 6 William Grzybowski 2012-05-04 13:07:32 UTC
On Fri, May 4, 2012 at 9:03 AM, Volodymyr Kostyrko <c.kworr@gmail.com> wrot=
e:
> Hi all.
>
> Sorry about not updating port, not using it anymore...
>
> I've compiled updated patch, the one that removes everything upon
> deinstallation.

Won't that break for python 3.1?
Or we just care for python 3.2?

Just wondering, I'm new on this...


--=20
William Grzybowski
------------------------------------------
Ag=EAncia Livre - www.agencialivre.com.br
Curitiba/PR - Brasil
Comment 7 c.kworr 2012-05-04 13:18:31 UTC
William Grzybowski wrote:
> On Fri, May 4, 2012 at 9:03 AM, Volodymyr Kostyrko<c.kworr@gmail.com>  wrote:
>> Hi all.
>>
>> Sorry about not updating port, not using it anymore...
>>
>> I've compiled updated patch, the one that removes everything upon
>> deinstallation.
>
> Won't that break for python 3.1?

Everything I have changed is about removing compiled files upon 
deinstallation. It should build for 3.1 as well but deinstallation 
wouldn't be pretty... I'll retest with 3.1.

> Or we just care for python 3.2?

Dunno, I'm just tracking it as it is labelled "stable". There's no huge 
changes from 3.1 though.

> Just wondering, I'm new on this...

As I am. :)

-- 
Sphinx of black quartz judge my vow.
Comment 8 c.kworr 2012-05-04 14:27:16 UTC
William Grzybowski wrote:
> On Fri, May 4, 2012 at 9:03 AM, Volodymyr Kostyrko<c.kworr@gmail.com>  wrote:
>> Hi all.
>>
>> Sorry about not updating port, not using it anymore...
>>
>> I've compiled updated patch, the one that removes everything upon
>> deinstallation.
>
> Won't that break for python 3.1?

Ok, here you go. This patch should work for both python32 and python31. 
Tested on:

 > python3.1
Python 3.1.5 (default, May  4 2012, 15:52:36)
[GCC 4.2.1 Compatible FreeBSD Clang 3.0 (tags/RELEASE_30/final 145349)] 
on freebsd9

Build on redports pending:
https://redports.org/buildarchive/20120504132315-13845/

-- 
Sphinx of black quartz judge my vow.
Comment 9 Nicola Vitale freebsd_committer freebsd_triage 2012-07-07 10:20:52 UTC
Responsible Changed
From-To: freebsd-python->nivit

I will take it.
Comment 10 dfilter service freebsd_committer freebsd_triage 2012-07-09 21:13:40 UTC
nivit       2012-07-09 20:13:29 UTC

  FreeBSD ports repository

  Modified files:
    databases/py-postgresql Makefile distinfo pkg-plist 
  Log:
  - Update to 1.0.4  [1]
  - Fix pkg-plist when Python version >= 3.2
    (solution approved by maintainer via private email)
  
  PR:             ports/167569
  Submitted by:   William Grzybowski <william88 at gmail.com>
  Approved by:    Volodymyr Kostyrko <c.kworr at gmail.com> (maintainer)
  
  Revision  Changes    Path
  1.5       +22 -3     ports/databases/py-postgresql/Makefile
  1.6       +2 -2      ports/databases/py-postgresql/distinfo
  1.4       +3 -7      ports/databases/py-postgresql/pkg-plist
_______________________________________________
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"
Comment 11 Nicola Vitale freebsd_committer freebsd_triage 2012-07-09 21:14:01 UTC
State Changed
From-To: open->closed

Committed (with some changes approved by maintainer 
via private email). Thanks!