Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#11502 closed update (fixed)

UPDATE: py-appscript to version 0.17.0

Reported by: ehainry@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: ports Version:
Keywords: Cc: arsptr@…
Port:

Description

This update does a few things:

  • update to latest version
  • remove the obsolete dependencies on py-aem, py-carbonxae, py-osaterminology which are now included in appscript.
  • update homepage
  • install additional tools (osascangui and osadict) and examples.

Notes:

To upgrade py-appscript, the py-aem, py-carbonxae, py-osaterminology ports must be deinstalled (they are deprecated, provided by this port, and prevent it from building ok).

I added a silly patch without which it did not build on my machine.

Attachments (3)

appscript.diff (1.7 KB) - added by ehainry@… 17 years ago.
diff for py-appscript Portfile
patch-_AEModule.c (332 bytes) - added by ehainry@… 17 years ago.
Silly patch for py-appscript to compile
appscript.2.diff (1.5 KB) - added by arsptr@… 17 years ago.
Alternative Portfile diff with fix for Examples/examples directory problem

Download all attachments as: .zip

Change History (10)

Changed 17 years ago by ehainry@…

Attachment: appscript.diff added

diff for py-appscript Portfile

Changed 17 years ago by ehainry@…

Attachment: patch-_AEModule.c added

Silly patch for py-appscript to compile

comment:1 Changed 17 years ago by pipping@…

Milestone: Available Ports

comment:2 Changed 17 years ago by pipping@…

Milestone: Available PortsPort Updates

Changed 17 years ago by arsptr@…

Attachment: appscript.2.diff added

Alternative Portfile diff with fix for Examples/examples directory problem

comment:3 Changed 17 years ago by arsptr@…

Some problems with this:

  • I got it to build without the _AEmodule.c patch - are you sure it is necessary?
  • Portfile needs to reference the patch file anyway
  • Problem installing examples, case conflict with the directory installed by the python24 portgroup:
--->  Building py-appscript with target build
--->  Staging py-appscript into destroot
Error: Target com.apple.destroot returned: error copying "/opt/local/var/db/dports/build/_Users_alastair_hack_build_macports_dports_python_py-appscript/work/appscript-0.17.0/Examples" to "/opt/local/var/db/dports/build/_Users_alastair_hack_build_macports_dports_python_py-appscript/work/destroot/opt/local/share/doc/py-appscript/Examples": file already exists
Error: Status 1 encountered during processing.

Alternative Portfile diff submitted above which fixes the Examples/examples problem - please let me know if this works for you.

comment:4 Changed 17 years ago by roederja

Resolution: fixed
Status: newclosed

Committed the second patch in r23850

comment:5 Changed 17 years ago by ehainry@…

I must have dreamed about this patch... ;)

However, for the Examples, it now makes a share/doc/examples/Examples directory quite redondant. The xinstall (create a directory, which probably destructed some work of the Portgroup) then file copy were doing fine (even more since my (and your) filesystem is case insensitive)... However, it does not anymore (probably an update in Python2.4 portgroup).

I would be in favor of something along the way of

file copy ${worksrcpath}/Examples/* ${destroot}${prefix}/share/doc/py-appscript/examples

which unfortunately does not work.

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:7 Changed 15 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.