ansible/packaging/macports
Stephen Weber 28651a85ab Convert README from Markdown to ReStructured Text and use as longdesc (#22330)
* Convert README from Markdown to ReStructured Text and use as longdesc

Discussion in #13758 led to deciding to switch README to rst and having
setup.py consume it as the long_description.

* Fix long string in setup.py for pep8 compliance

* Open README.rst as read-only

* Update usages of root README.md to README.rst

Unsure about the file ./packaging/debian/docs as it (only) contains the
text README.md. I believe it's referencing ./packaging/debian/README.md
but maybe someone who knows debian packaging could review it?

* Pick up fixes that had been merged into README.md after the initial conversion to rst

(cherry picked from commit 7afa34ae8a)
2018-04-11 11:57:24 -07:00
..
sysutils/ansible Convert README from Markdown to ReStructured Text and use as longdesc (#22330) 2018-04-11 11:57:24 -07:00
.gitignore Adopt best practices with distributing portfiles 2013-02-26 21:13:04 +00:00
README.md Trim references to fireball as we want folks using accelerate or pipelining options. Fireball is pretty well deprecated at this point, but will still be part of the release. 2014-02-28 13:50:39 -05:00

This portfile installs ansible from the git repository, it will install the latest and greatest version of ansible. This portfile does not install the required dependencies to run in accelerated mode.

Installing the stable version of ansible via macports

If you wish to run a stable version of ansible please do the following

First update your macports repo to the latest versions

$ sudo port sync

Then install ansible

$ sudo port install ansible

Installing the devel version of ansible via macports

To use this Portfile to install the development version of ansible one should follow the instructions at http://guide.macports.org/#development.local-repositories

The basic idea is to add the ansible/packaging/macports directory to your /opt/local/etc/macports/sources.conf file. You should have something similar to this at the end of the file

file:///Users/jtang/develop/ansible/packaging/macports rsync://rsync.macports.org/release/tarballs/ports.tar [default]

In the ansible/packaging/macports directory, do this

$ portindex

Once the index is created the Portfile will override the one in the upstream macports repository.

Installing newer development versions should involve an uninstall, clean, install process or else the Portfile will need its version number/epoch bumped.