Tool for overlays to update ebuilds. Inspired by the MacPorts port
subcommand of the same name.
On Gentoo, add my overlay and install:
eselect overlay enable tatsh-overlay
emerge --sync
emerge livecheck
Usage: livecheck [OPTIONS] [PACKAGE_NAMES]...
Options:
-a, --auto-update Rename and modify ebuilds.
-d, --debug Enable debug logging.
-e, --exclude TEXT Exclude package(s) from updates.
-p, --progress Enable progress logging.
-W, --working-dir DIRECTORY Working directory. Should be a port tree root.
--help Show this message and exit.
This package can do automated lookups based on commonly used hosts. Currently:
This works as long as the version system is usable with Portage's version comparison function. For anything else, see Package configuration.
For packages that will not work with currently heuristic checking, a configuration file named
livecheck.json
can be placed in the directory alongside the ebuild.
type
- none
, regex
, or checksum
branch
- The GitHub branch name to use for commitsno_auto_update
- boolean - Do not allow auto-updating of this packageregex
- The regular expression to usesemver
- When set to false
, do not allow detection of semantic versioningtransformation_function
- string - Function to use to transform the version string. Currently
only dotize
is supported. Others are for internal use.url
- URL of the document to run regular expressions againstuse_vercmp
- boolean - if vercmp
from Portage should be used. Default: true
.As root, set the environment variable PYTHONPATH
to include where the livecheck
module is
located. Use python -m livecheck
instead of livecheck
to execute commands.
Run poetry install --all-extras --with=dev,docs,tests
to set up a virtualenv.
Fully copy /etc/portage
to the root of your virtualenv. Then you must fix make.profile
. Also
consider making changes in repos.conf
if necessary.
Example:
poetry shell
cd "${VIRTUAL_ENV}/etc"
cp -R /etc/portage .
cd portage
ln -sf "$(readlink -f /etc/portage/make.profile)" make.profile