Add package.yml for thefuck (#2015)

*  Add package.yml for thefuck

📦 This commit adds the package.yml file for thefuck, a programmatically correct mistyped console command tool.

* add compiler and rename

* cleanup and test

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
Montek 2023-05-22 20:21:42 -07:00 committed by GitHub
parent cbe7856889
commit 2e66829458
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,24 @@
distributable:
url: https://github.com/nvbn/thefuck/archive/refs/tags/{{version.raw}}.tar.gz
strip-components: 1
versions:
github: nvbn/thefuck/releases/tags
dependencies:
python.org: '>=3.11'
tea.xyz/gx/cc: c99
build:
python-venv.sh {{prefix}}/bin/thefuck
provides:
- bin/thefuck
test:
dependencies:
python.org: ^3
script: >
thefuck -y ptyhon --version 2>&1 |
grep -E '^The Fuck {{version.marketing}} using
Python {{deps.python.org.version}} and'