New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #11502 (closed update: fixed)

Opened 3 years ago

Last modified 11 months ago

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

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

Change History

Changed 3 years ago by ehainry@…

diff for py-appscript Portfile

Changed 3 years ago by ehainry@…

Silly patch for py-appscript to compile

Changed 3 years ago by pipping@…

  • milestone set to Available Ports

Changed 3 years ago by pipping@…

  • milestone changed from Available Ports to Port Updates

Changed 3 years ago by arsptr@…

Alternative Portfile diff with fix for Examples/examples directory problem

Changed 3 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.

Changed 3 years ago by jann@…

  • status changed from new to closed
  • resolution set to fixed

Committed the second patch in r23850

Changed 3 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.

Changed 11 months ago by jmr@…

  • type changed from enhancement to update

Changed 11 months ago by anonymous

  • milestone Port Updates deleted

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.