Metadata-Version: 2.1
Name: seaport
Version: 0.6.1
Summary: The modern MacPorts portfile updater
Home-page: https://seaport.rtfd.io/
License: BSD-3-Clause
Keywords: MacPorts,Port,Bump,Checksums
Author: harens
Author-email: harensdeveloper@gmail.com
Maintainer: harens
Maintainer-email: harensdeveloper@gmail.com
Requires-Python: >=3.7,<3.11
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Typing :: Typed
Requires-Dist: beartype (>=0.10.4,<0.11.0)
Requires-Dist: click (>=8.1.3,<9.0.0)
Project-URL: Bug Tracker, https://github.com/harens/seaport/issues
Project-URL: Documentation, https://seaport.rtfd.io/
Project-URL: Repository, https://github.com/harens/seaport
Description-Content-Type: text/x-rst

🌊 seaport
==========

|ci-badge| |rtd-badge| |cov-badge|

The modern `MacPorts <https://www.macports.org>`_ portfile updater.

.. code-block::

    > seaport clip gping
    🌊 Starting seaport...
    👍 New version is 1.2.0-post
    🔻 Downloading from https://github.com/orf/gping/tarball/v1.2.0-post/gping-1.2.0-post.tar.gz
    🔎 Checksums:
    Old rmd160: 8b274132c8389ec560f213007368c7f521fdf682
    New rmd160: 4a614e35d4e1e496871ee2b270ba8836f84650c6
    Old sha256: 1879b37f811c09e43d3759ccd97d9c8b432f06c75a27025cfa09404abdeda8f5
    New sha256: 1008306e8293e7c59125de02e2baa6a17bc1c10de1daba2247bfc789eaf34ff5
    Old size: 853432
    New size: 853450
    ⏪️ Changing revision numbers
    No changes necessary
    📋 The contents of the portfile have been copied to your clipboard!

⚡️ Features
--------------

🖥 `Command Line Tool <https://seaport.readthedocs.io/en/stable/overview.html>`_
*********************************************************************************

* ⏩ **Automatically determines new version numbers and checksums** for MacPorts portfiles.
* 📋 **Copies the changes to your clipboard**, and optionally **sends a PR to update them**.
* 🔎 Contains **additional checking functionality**, such as running tests, linting and installing the updated program.

🐍 `Python API <https://seaport.readthedocs.io/en/stable/reference.html>`_
****************************************************************************

* 📚 Library for convenient access to portfile information. Easily import as a Python module for your project.
* ⌨️ `PEP 561 compatible <https://www.python.org/dev/peps/pep-0561>`_, with built in support for type checking.
*  📦 Works out of the box with all `supported Python versions <https://endoflife.date/python>`_ (3.7-3.10).

To find out more, please read the `Documentation <https://seaport.rtfd.io/>`_.

🤔 How to use seaport
----------------------

For simple ports with straightforward updates, use :code:`seaport pr example_port`.
This sends a PR with the updated portfile and automatically fills in the PR template for you.

For ports that require some manual changes, use :code:`seaport clip example_port`.
This updates the version number and checksums so you don't have to. 😎

Be sure to check out the `flags overview <https://seaport.readthedocs.io/en/stable/overview.html>`_ for information on additional features.

🔥 seaport vs port bump
-------------------------

.. list-table::
   :widths: 25 25 25
   :header-rows: 1

   * - Features
     - 🌊 seaport
     - 🛼 port bump
   * - 🔒 Updates checksums
     - ✅
     - ✅
   * - 📚 Updates the revision number
     - ✅
     - ✅
   * - 📝 Can write changes to the original file
     - ✅
     - ✅
   * - ⏮ Can update portfile to a specific version
     - ✅
     - ✅
   * - 🔮 Updates the version number via livecheck
     - ✅
     - ❌
   * - 🚀 Can send a pull request (both for updated and new ports)
     - ✅
     - ❌
   * - 🧪 Can lint/test/install the port to check if the update works
     - ✅
     - ❌
   * - 📋 Copies changes to clipboard
     - ✅
     - ❌
   * - 🌎 Can both manually and automatically set the url to download from
     - ✅
     - ❌

Installation
------------

Homebrew 🍺
***********

.. code-block::

    brew install harens/tap/seaport

Binary bottles are provided for x86_64 Linux, macOS Catalina and Big Sur.

PyPi 🐍
********

If you install seaport via `PyPi <https://pypi.org/project/seaport/>`_ and want it to send PRs for you, please install `GitHub CLI <https://cli.github.com>`_.

.. code-block::

    pip3 install seaport

🔨 Contributing
---------------

- Issue Tracker: `<https://github.com/harens/seaport/issues>`_
- Source Code: `<https://github.com/harens/seaport>`_

Any change, big or small, that you think can help improve this project is more than welcome 🎉.

As well as this, feel free to open an issue with any new suggestions or bug reports. Every contribution is appreciated.

For more information, please read our `contributing page <https://seaport.readthedocs.io/en/latest/contributing.html>`_ on how to get started.

©️ License
----------

Similar to other MacPorts-based projects, seaport is licensed under the `BSD 3-Clause "New" or "Revised" License <https://github.com/harens/seaport/blob/master/LICENSE>`_.

📒 Notice of Non-Affiliation and Disclaimer
-------------------------------------------

This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with the MacPorts Project, or any of its subsidiaries or its affiliates. The official MacPorts Project website can be found at `<https://www.macports.org>`_.

The name MacPorts as well as related names, marks, emblems and images are registered trademarks of their respective owners.

.. |ci-badge| image:: https://img.shields.io/github/workflow/status/harens/seaport/Tests?logo=github&style=flat-square
   :target: https://github.com/harens/seaport/actions
   :alt: GitHub Workflow Status
.. |rtd-badge| image:: https://img.shields.io/readthedocs/seaport?logo=read%20the%20docs&style=flat-square
   :target: https://seaport.rtfd.io/
   :alt: Read the Docs
.. |cov-badge| image:: https://img.shields.io/codecov/c/github/harens/seaport?logo=codecov&style=flat-square
   :target: https://codecov.io/gh/harens/seaport
   :alt: Codecov

