/upt-macports

The Universal Packaging Tool (upt) backend for MacPorts

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Universal Packaging Tool: MacPorts backend

This is a MacPorts backend for upt.

The prototype was written by Mojca Miklavec (@mojca) and further developed as part of Google Summer of Code 2019 by Karan Sheth (@Korusuke), mentored by Cyril Roelandt (@Steap) and Renee Otten (@reneeotten).

Installation

Using MacPorts

Follow the instructions to install MacPorts on your Mac.

Use the command below to install upt, the upt-macports backend, and all supported frontends:

sudo port install upt

Install from source

The source can be obtained from PyPI or framagit; several frontends are also available from these websites.

To install the MacPorts backend, first clone the repository and follow the typical installation steps:

git clone https://github.com/macports/upt-macports.git
cd upt-macports/
python setup.py install

where python is the Python 3 executable on your system.

Note: to use the recursive and/or update feature a working MacPorts installation is required (see above for instructions). To install MacPorts using Docker, please follow these steps.

Usage

For usage instructions, refer to the upt guide or the man page (man upt).