%global _empty_manifest_terminate_build 0 Name: python-task Version: 0.2.5 Release: 1 Summary: Task cli tool License: MIT URL: https://github.com/matteyeux/task Source0: https://mirrors.nju.edu.cn/pypi/web/packages/46/c6/6e23c8b5a9de68835f1d260dda808fedda76d4bca57242ca053b68ed89b1/task-0.2.5.tar.gz BuildArch: noarch Requires: python3-dateutil Requires: python3-click Requires: python3-click-default-group Requires: python3-tabulate Requires: python3-rich Requires: python3-SQLAlchemy Requires: python3-click-aliases Requires: python3-click-help-colors %description # task [![Build Status](http://drone.matteyeux.com/api/badges/matteyeux/task/status.svg)](http://drone.matteyeux.com/matteyeux/task) Taskwarrior-like CLI tool ``` Usage: task [OPTIONS] COMMAND [ARGS]... Options: -v, --version print version --help Show this message and exit. Commands: add Add task describe Describe task. done Finished task. ls List tasks. rm Remove a task. ``` ### Installation Make sure to have [poetry](https://pypi.org/project/poetry) #### Github repository ```bash $ git clone https://github.com/matteyeux/task $ cd task $ poetry install ``` #### PyPI - Installation : `pip3 install task` - Update : `pip3 install --upgrade task` ### Setup Make sure to have `~/.local/bin` in your `$PATH` (`export PATH=$PATH:~/.local/bin`) The first time you run `task add` command it will setup the SQLite3 database. ### Examples #### Add - Add task: `task add "Start TIC-BLK4" -p BLK4` - Add task in project: `task add "Start TIC-BLK4" -p BLK4` #### List List tasks : ``` λ ~ » task ls ID Project Task Urgency Due Age 1 etna_cli fix my bug 0 4 minutes 2 etna_cli add tabulate to list stuff 0 4 minutes 3 Master2 Get that diploma 0 3 minutes 4 Buy a new iPhone 0 2 minutes 5 Patch the covid-19 bug 0 41 seconds 6 BLK4 Start TIC-BLK4 0 9 seconds ``` #### Done Set task to done : ``` λ ~ » task done 6 Done 6 ``` #### Remove Delete row from database : ``` λ ~ » task rm 5 Done ``` ### Credits - Task Warrior : because it's a pretty cool project - me : cuz I wrote it %package -n python3-task Summary: Task cli tool Provides: python-task BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-task # task [![Build Status](http://drone.matteyeux.com/api/badges/matteyeux/task/status.svg)](http://drone.matteyeux.com/matteyeux/task) Taskwarrior-like CLI tool ``` Usage: task [OPTIONS] COMMAND [ARGS]... Options: -v, --version print version --help Show this message and exit. Commands: add Add task describe Describe task. done Finished task. ls List tasks. rm Remove a task. ``` ### Installation Make sure to have [poetry](https://pypi.org/project/poetry) #### Github repository ```bash $ git clone https://github.com/matteyeux/task $ cd task $ poetry install ``` #### PyPI - Installation : `pip3 install task` - Update : `pip3 install --upgrade task` ### Setup Make sure to have `~/.local/bin` in your `$PATH` (`export PATH=$PATH:~/.local/bin`) The first time you run `task add` command it will setup the SQLite3 database. ### Examples #### Add - Add task: `task add "Start TIC-BLK4" -p BLK4` - Add task in project: `task add "Start TIC-BLK4" -p BLK4` #### List List tasks : ``` λ ~ » task ls ID Project Task Urgency Due Age 1 etna_cli fix my bug 0 4 minutes 2 etna_cli add tabulate to list stuff 0 4 minutes 3 Master2 Get that diploma 0 3 minutes 4 Buy a new iPhone 0 2 minutes 5 Patch the covid-19 bug 0 41 seconds 6 BLK4 Start TIC-BLK4 0 9 seconds ``` #### Done Set task to done : ``` λ ~ » task done 6 Done 6 ``` #### Remove Delete row from database : ``` λ ~ » task rm 5 Done ``` ### Credits - Task Warrior : because it's a pretty cool project - me : cuz I wrote it %package help Summary: Development documents and examples for task Provides: python3-task-doc %description help # task [![Build Status](http://drone.matteyeux.com/api/badges/matteyeux/task/status.svg)](http://drone.matteyeux.com/matteyeux/task) Taskwarrior-like CLI tool ``` Usage: task [OPTIONS] COMMAND [ARGS]... Options: -v, --version print version --help Show this message and exit. Commands: add Add task describe Describe task. done Finished task. ls List tasks. rm Remove a task. ``` ### Installation Make sure to have [poetry](https://pypi.org/project/poetry) #### Github repository ```bash $ git clone https://github.com/matteyeux/task $ cd task $ poetry install ``` #### PyPI - Installation : `pip3 install task` - Update : `pip3 install --upgrade task` ### Setup Make sure to have `~/.local/bin` in your `$PATH` (`export PATH=$PATH:~/.local/bin`) The first time you run `task add` command it will setup the SQLite3 database. ### Examples #### Add - Add task: `task add "Start TIC-BLK4" -p BLK4` - Add task in project: `task add "Start TIC-BLK4" -p BLK4` #### List List tasks : ``` λ ~ » task ls ID Project Task Urgency Due Age 1 etna_cli fix my bug 0 4 minutes 2 etna_cli add tabulate to list stuff 0 4 minutes 3 Master2 Get that diploma 0 3 minutes 4 Buy a new iPhone 0 2 minutes 5 Patch the covid-19 bug 0 41 seconds 6 BLK4 Start TIC-BLK4 0 9 seconds ``` #### Done Set task to done : ``` λ ~ » task done 6 Done 6 ``` #### Remove Delete row from database : ``` λ ~ » task rm 5 Done ``` ### Credits - Task Warrior : because it's a pretty cool project - me : cuz I wrote it %prep %autosetup -n task-0.2.5 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-task -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Wed May 10 2023 Python_Bot - 0.2.5-1 - Package Spec generated