Opened 13 years ago

Closed 12 years ago

#32645 closed enhancement (fixed)

py-twisted unified portfile

Reported by: mf2k (Frank Schima) Owned by: olv.bonnet@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: akitada@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: py-twisted py25-twisted py26-twisted py27-twisted

Description

The py*-twisted ports should be unified into a single portfile using the the new python portgroup. There are a number of maintainers and a few differences in the files though.

@ akitada: In py25-twisted, there is a post-destroot phase unlike the other ones:

post-destroot {
	foreach f [glob -directory ${destroot}${prefix}/bin *] {
		move $f ${destroot}${prefix}/bin/[file tail $f]2.5
	}
        
        # update the plugin cache
        system "PYTHONPATH=${destroot}${python.pkgd} ${prefix}/bin/python2.5 ${portpath}/${filesdir}/getPlugins.py"
}

Should this be used in all the subports? Or maybe removed entirely?

Change History (4)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Furthermore only py-twisted has this

destroot.env	"PYTHONPATH=\$PYTHONPATH:${destroot}${python.pkgd}"

Is this needed only for python 2.4?

comment:2 Changed 12 years ago by jmroot (Joshua Root)

This should also fix #31711.

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Cc: akitada@… mcalhoun@… added
Owner: changed from olv.bonnet@… to olv.bonnet@…

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.