From 058640201173c706d4c506aa51a76fcb40896b7b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 07:29:10 +0000 Subject: automatic import of python-next-action --- .gitignore | 1 + python-next-action.spec | 2239 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 2241 insertions(+) create mode 100644 python-next-action.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..0535fe0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/next-action-1.13.0.tar.gz diff --git a/python-next-action.spec b/python-next-action.spec new file mode 100644 index 0000000..b712252 --- /dev/null +++ b/python-next-action.spec @@ -0,0 +1,2239 @@ +%global _empty_manifest_terminate_build 0 +Name: python-next-action +Version: 1.13.0 +Release: 1 +Summary: Command-line application to show the next action to work on from a todo.txt file +License: Apache License, Version 2.0 +URL: https://github.com/fniessink/next-action +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/73/50/17e2ec32dcdf4c09190891cd7d6dd520c5d815bc2520ced92617d73fd374/next-action-1.13.0.tar.gz +BuildArch: noarch + +Requires: python3-dateutil +Requires: python3-Cerberus +Requires: python3-PyYAML +Requires: python3-Pygments + +%description +# Next-action + +[![PyPI](https://img.shields.io/pypi/v/next-action.svg)](https://pypi.org/project/next-action/) +[![Updates](https://pyup.io/repos/github/fniessink/next-action/shield.svg)](https://pyup.io/repos/github/fniessink/next-action/) +[![Build Status](https://travis-ci.com/fniessink/next-action.svg?branch=master)](https://travis-ci.com/fniessink/next-action) +[![SonarQube Badge](https://sonarcloud.io/api/project_badges/measure?project=fniessink%3Anext-action&metric=alert_status)](https://sonarcloud.io/dashboard?id=fniessink%3Anext-action) + +Determine the next action to work on from a list of actions in a todo.txt file. + +Don't know what *Todo.txt* is? See for the *Todo.txt* specification. + +*Next-action* is not a tool for editing todo.txt files, see for available options. + +## Table of contents + +- [Demo](#demo) +- [Installation](#installation) + - [*Next-action*](#next-action) + - [Tab completion for *Next-action*](#tab-completion-for-next-action) +- [Usage](#usage) + - [Limiting the tasks from which next actions are selected](#limiting-the-tasks-from-which-next-actions-are-selected) + - [Showing more than one next action](#showing-more-than-one-next-action) + - [Task dependencies](#task-dependencies) + - [Output options](#output-options) + - [Configuring *Next-action*](#configuring-next-action) + - [Option details](#option-details) +- [Recent changes](#recent-changes) +- [Developing *Next-action*](#developing-next-action) + - [Installing the development environment and dependencies](#installing-the-development-environment-and-dependencies) + - [Running unit tests](#running-unit-tests) + - [Running feature tests](#running-feature-tests) + - [Running quality checks](#running-quality-checks) + - [Generating documentation](#generating-documentation) + - [Source code structure and dependencies](#source-code-structure-and-dependencies) + +## Demo + +![gif](https://raw.githubusercontent.com/fniessink/next-action/master/docs/demo.gif) + +## Installation + +### *Next-action* + +*Next-action* requires Python 3.6 or newer. + +`pip install --upgrade next-action` + +### Tab completion for *Next-action* + +To install tab completion for *Next-action* in the Bash shell, follow these steps: + +- Download [extra/.next-action-completion.bash](https://raw.githubusercontent.com/fniessink/next-action/master/extra/.next-action-completion.bash) + and save it in your home folder. +- Next, add this line to your `~/.bash_profile` file: + + ```bash + source ~/.next-action-completion.bash + ``` + +- Then, open a new terminal. + +Typing `next-action [TAB]` should give you the possible command line options. Hitting tab after an option that takes +arguments, shows the possible arguments. + +## Usage + +```console +$ next-action --help +Usage: next-action [-h] [-V] [-c [] | -w] [-f ...] [-b] [-g []] [-l] [-r ] +[-s [